optimize:
authorChris Lattner <sabre@nondot.org>
Sun, 21 Nov 2010 06:44:42 +0000 (06:44 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 21 Nov 2010 06:44:42 +0000 (06:44 +0000)
commit75d8f599e72c151df48a28bebc6e4e342f469b8a
tree204abb357393b3d57e53da6a821c9780ded364f2
parent79a980ad85286614bbb4c68c84ea9e3c6ed36d0d
optimize:
void a(int x) { if (((1<<x)&8)==0) b(); }

into "x != 3", which occurs over 100 times in 403.gcc but in no
other program in llvm-test.

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