[InstCombine] use APInt instead of ConstantInt in isSignBitCheck(); NFCI
authorSanjay Patel <spatel@rotateright.com>
Sun, 21 Aug 2016 15:07:45 +0000 (15:07 +0000)
committerSanjay Patel <spatel@rotateright.com>
Sun, 21 Aug 2016 15:07:45 +0000 (15:07 +0000)
commit792636603f5b63bcf3402a4100ed23c494bc9902
tree287f29e18805ca8548178058f67c701eb1bd1d92
parent5f99f8656e542c0e0fc52b6f8741b3c01afdb76e
[InstCombine] use APInt instead of ConstantInt in isSignBitCheck(); NFCI

The callers still have ConstantInt guards, so there is no functional change
intended from this change. But relaxing the callers will allow more folds
for vector types.

llvm-svn: 279396
llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp