[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)
commitf5887f1fbdc6d95692e358ef65ea2ea4c80e6050
tree15936767271b05746152efbd15a6610baae5f577
parente58e0e3fe30a961501d63f2bf1c5ee83a493a417
[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.

llvm-svn: 281231
llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
llvm/test/Transforms/InstCombine/shift.ll
llvm/test/Transforms/InstCombine/vec_sext.ll