[InstCombine] use m_APInt to allow icmp (xor X, Y), C folds for splat constant vectors
authorSanjay Patel <spatel@rotateright.com>
Thu, 18 Aug 2016 14:10:48 +0000 (14:10 +0000)
committerSanjay Patel <spatel@rotateright.com>
Thu, 18 Aug 2016 14:10:48 +0000 (14:10 +0000)
commit4c5e60d95ce6344ea431246e5467f02404f36d9a
tree3683b924ccaf5b80ae74c0ecdad97b1f1846bd4b
parentab7c46eccf68fcd6c7ec2a68359102b0827fb7fa
[InstCombine] use m_APInt to allow icmp (xor X, Y), C folds for splat constant vectors

This is a sibling of:
https://reviews.llvm.org/rL278859
https://reviews.llvm.org/rL278935
https://reviews.llvm.org/rL278945

llvm-svn: 279066
llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
llvm/test/Transforms/InstCombine/2008-08-17-ICmpXorSignbit.ll
llvm/test/Transforms/InstCombine/icmp.ll
llvm/test/Transforms/InstCombine/vec_sext.ll
llvm/test/Transforms/InstCombine/xor2.ll