Improve the bail-out predicate to really only kick in when phi

translation fails.  We were bailing out in some cases that would
cause us to miss GVN'ing some non-local cases away.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@130206 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner
2011-04-26 17:41:02 +00:00
parent a61e73bda5
commit 9750acc079
3 changed files with 26 additions and 4 deletions

View File

@@ -1,7 +1,5 @@
; RUN: opt < %s -gvn -simplifycfg \
; RUN: -disable-output
; RUN: opt < %s -gvn -simplifycfg -disable-output
; PR867
; END.
target datalayout = "E-p:32:32"
target triple = "powerpc-apple-darwin8"