[InstCombine] use m_APInt to allow icmp eq (mul X, C1), C2 folds for splat constant...
authorSanjay Patel <spatel@rotateright.com>
Thu, 4 Aug 2016 22:19:27 +0000 (22:19 +0000)
committerSanjay Patel <spatel@rotateright.com>
Thu, 4 Aug 2016 22:19:27 +0000 (22:19 +0000)
commit3bade138b5edb59a472996aeb21fdf9b29d98209
treefc8b730d9979a48508fd65df90cd444c3f493283
parent8daab7582bef4e5d887fc214c9f64dfee122349e
[InstCombine] use m_APInt to allow icmp eq (mul X, C1), C2 folds for splat constant vectors

This concludes the splat vector enhancements for foldICmpEqualityWithConstant().
Other commits in this series:
https://reviews.llvm.org/rL277762
https://reviews.llvm.org/rL277752
https://reviews.llvm.org/rL277738
https://reviews.llvm.org/rL277731
https://reviews.llvm.org/rL277659
https://reviews.llvm.org/rL277638
https://reviews.llvm.org/rL277629

llvm-svn: 277779
llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
llvm/test/Transforms/InstCombine/icmp.ll