OSDN Git Service

[InstCombine] use m_APInt to allow icmp X, C folds for splat constant vectors
authorSanjay Patel <spatel@rotateright.com>
Mon, 12 Sep 2016 16:25:41 +0000 (16:25 +0000)
committerSanjay Patel <spatel@rotateright.com>
Mon, 12 Sep 2016 16:25:41 +0000 (16:25 +0000)
commitbb4b1d9adfbf9c5ee27da0b3cd3369fa8640b898
tree0c6006a42f1a19880a9e6f4e33cded409f1420a1
parent01a133c760ebb8db1e204f76ba55c19558b1ce01
[InstCombine] use m_APInt to allow icmp X, C folds for splat constant vectors

isSignBitCheck could be changed to take a pointer param to avoid the 'UnusedBit' ugliness.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@281231 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/InstCombine/InstCombineCompares.cpp
test/Transforms/InstCombine/shift.ll
test/Transforms/InstCombine/vec_sext.ll