[InstCombine] Simplify check for RHS being a splat constant in foldICmpUsingKnownBits...
authorCraig Topper <craig.topper@intel.com>
Fri, 22 Sep 2017 18:57:22 +0000 (18:57 +0000)
committerCraig Topper <craig.topper@intel.com>
Fri, 22 Sep 2017 18:57:22 +0000 (18:57 +0000)
commit5b35b687856581bf9c08cafdcd88ff4054f47ec3
treeb4b848d8164ab2ea0df3c77560840eff99b41948
parent2c9b7d7894f8f54e1afe4d5dc2247c0f6fdd62c1
[InstCombine] Simplify check for RHS being a splat constant in foldICmpUsingKnownBits by just checking Op1Min==Op1Max rather than going through m_APInt.

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