Reinstate this optimization to fold icmp of xor when possible. Don't try to
authorNick Lewycky <nicholas@mxc.ca>
Sat, 31 Jan 2009 21:30:05 +0000 (21:30 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Sat, 31 Jan 2009 21:30:05 +0000 (21:30 +0000)
commit4333f49afebb9b11291ac09538eabf12c7cbe81c
tree80c4d7769cd7d37377a5907de8a75810acdef7a0
parent35ba3d463834f83e2bf8e8ad631ffc4d73a0203c
Reinstate this optimization to fold icmp of xor when possible. Don't try to
turn icmp eq a+x, b+x into icmp eq a, b if a+x or b+x has other uses. This
may have been increasing register pressure leading to the bzip2 slowdown.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@63487 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/InstructionCombining.cpp
test/Transforms/InstCombine/2008-08-17-ICmpXorSignbit.ll
test/Transforms/InstCombine/2009-01-31-Pressure.ll [new file with mode: 0644]