Add extra CHECK to make sure that 'or' instruction was replaced.
authorJakub Staszak <kubastaszak@gmail.com>
Mon, 31 Dec 2012 18:26:42 +0000 (18:26 +0000)
committerJakub Staszak <kubastaszak@gmail.com>
Mon, 31 Dec 2012 18:26:42 +0000 (18:26 +0000)
commit526057921dcb57e0d51d60ddb0f5ce16596c307f
treee2b75d18c765f167faa1b0aebe2592c8c0c372dd
parent5b712efd9a4d29119ce136d46a23454bdc103f68
Add extra CHECK to make sure that 'or' instruction was replaced.
Also add an assert to avoid confusion in the code where is known that C1 <= C2.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171310 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
test/Transforms/InstCombine/icmp.ll