InstCombine: Shrink ((zext X) & C1) == C2 to fold away the cast if the "zext" and...
authorBenjamin Kramer <benny.kra@googlemail.com>
Sun, 12 Jun 2011 22:48:00 +0000 (22:48 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Sun, 12 Jun 2011 22:48:00 +0000 (22:48 +0000)
commitffd0ae64c497d13956d16526c46245bfbf48e91f
tree49f581b1858c351db0553cab30050bd7a4e213a4
parent7e7c9cc31a9c0ca337235ae04fc268e58da1d01b
InstCombine: Shrink ((zext X) & C1) == C2 to fold away the cast if the "zext" and the "and" have one use.

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