]> granicus.if.org Git - llvm/commit
[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)
commit6f218ee450147a1c800679d88a3d3d5f6849f7d1
tree94f90ba317182ec64e1ab90088990247a24f5315
parent2c77a5ae10250fe685be2095c05c5b0e792d2258
[InstCombine] Simplify check for RHS being a splat constant in foldICmpUsingKnownBits by just checking Op1Min==Op1Max rather than going through m_APInt.

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