[InstCombine] use m_APInt to allow sub with constant folds for splat vectors
authorSanjay Patel <spatel@rotateright.com>
Fri, 14 Oct 2016 16:31:54 +0000 (16:31 +0000)
committerSanjay Patel <spatel@rotateright.com>
Fri, 14 Oct 2016 16:31:54 +0000 (16:31 +0000)
commit6d6eca5cdc995fdb8850fd5c79d1018893a44988
tree2d9870f0d84e7ec0f84759654c8b1c803d031ad3
parent472a14197d58c0d6770aff8423c8593fa68307f0
[InstCombine] use m_APInt to allow sub with constant folds for splat vectors

llvm-svn: 284247
llvm/lib/Transforms/InstCombine/InstCombineAddSub.cpp
llvm/test/Transforms/InstCombine/sub-xor.ll
llvm/test/Transforms/InstCombine/sub.ll