OSDN Git Service

[InstCombine] more clean up of foldICmpXorConstant(); NFCI
authorSanjay Patel <spatel@rotateright.com>
Wed, 17 Aug 2016 19:45:18 +0000 (19:45 +0000)
committerSanjay Patel <spatel@rotateright.com>
Wed, 17 Aug 2016 19:45:18 +0000 (19:45 +0000)
commit4633e7e9b7357dc39973537773e77a492a9525ff
tree8d96c886b42133d980df453076e9c0141d5733b6
parent422136324af27892b7aea91a21f5361d9b156a31
[InstCombine] more clean up of foldICmpXorConstant(); NFCI

Use m_APInt for the xor constant, but this is all still guarded by the initial
ConstantInt check, so no vector types should make it in here.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@278957 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/InstCombine/InstCombineCompares.cpp