Reapply r88830 with a bugfix: this transform only applies to icmp eq/ne. This
commitef61f69747de3b32a7edb82ea753091baf605683
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
parentb01c8c362988e5a59116d31764300a3abc8982d4
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