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
This commit is contained in:
Nick Lewycky
2009-11-23 03:17:33 +00:00
parent e389446d01
commit 55bd8bd6eb
2 changed files with 30 additions and 1 deletions

View File

@@ -1,5 +1,4 @@
; RUN: opt %s -instcombine -S | FileCheck %s
; XFAIL: *
; PR5438
; TODO: This should also optimize down.