]> granicus.if.org Git - llvm/commit
Revert r314017 '[InstCombine] Simplify check for RHS being a splat constant in foldIC...
authorCraig Topper <craig.topper@intel.com>
Wed, 27 Sep 2017 22:57:18 +0000 (22:57 +0000)
committerCraig Topper <craig.topper@intel.com>
Wed, 27 Sep 2017 22:57:18 +0000 (22:57 +0000)
commitf1654930d1dee9745af5f374f39066d8d438bcd7
tree5e363c040bbd61377be26eccc369cbfe9751beb2
parent27f9857973ef34d162b29587ec00e9f4313f53bf
Revert r314017 '[InstCombine] Simplify check for RHS being a splat constant in foldICmpUsingKnownBits by just checking Op1Min==Op1Max rather than going through m_APInt.'

This reverts r314017 and similar code added in later commits. It seems to not work for pointer compares and is causing a bot failure for the last several days.

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