Reapply r88830 with a bugfix: this transform only applies to icmp eq/ne. This
commit55bd8bd6ebcde23bf59ca7e21bd6defe9317885a
authorNick Lewycky <nicholas@mxc.ca>
Mon, 23 Nov 2009 03:17:33 +0000 (23 03:17 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Mon, 23 Nov 2009 03:17:33 +0000 (23 03:17 +0000)
treee1553cb6d7ad6f2171b032d55f4f9e54cc293baa
parente389446d01aa473cde1dbb17fee99388e0e1570d
Reapply r88830 with a bugfix: this transform only applies to icmp eq/ne. This
fixes part of PR5438.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@89639 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/InstructionCombining.cpp
test/Transforms/InstCombine/compare-signs.ll