summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/lsr-reuse.ll
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2010-08-17 01:20:36 +0000
committerEvan Cheng <evan.cheng@apple.com>2010-08-17 01:20:36 +0000
commit97b9b97853d7e4fbb5c8460ef28126013c76e9a9 (patch)
tree00177661907fa80d2ee615063908e042e57911b9 /test/CodeGen/X86/lsr-reuse.ll
parent922157c83440e0197e7fd962cf7030491a8069b1 (diff)
downloadllvm-97b9b97853d7e4fbb5c8460ef28126013c76e9a9.tar.gz
llvm-97b9b97853d7e4fbb5c8460ef28126013c76e9a9.tar.bz2
llvm-97b9b97853d7e4fbb5c8460ef28126013c76e9a9.tar.xz
PHI elimination should not break back edge. It can cause some significant code placement issues. rdar://8263994
good: LBB0_2: mov r2, r0 . . . mov r1, r2 bne LBB0_2 bad: LBB0_2: mov r2, r0 . . . @ BB#3: mov r1, r2 b LBB0_2 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111221 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/lsr-reuse.ll')
-rw-r--r--test/CodeGen/X86/lsr-reuse.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGen/X86/lsr-reuse.ll b/test/CodeGen/X86/lsr-reuse.ll
index b7e69b84bf..d2ff58be10 100644
--- a/test/CodeGen/X86/lsr-reuse.ll
+++ b/test/CodeGen/X86/lsr-reuse.ll
@@ -464,7 +464,7 @@ bb5: ; preds = %bb3, %entry
; And the one at %bb68, where we want to be sure to use superhero mode:
-; CHECK: BB10_10:
+; CHECK: BB10_9:
; CHECK-NEXT: movaps 48(%r{{[^,]*}}), %xmm{{.*}}
; CHECK-NEXT: mulps %xmm{{.*}}, %xmm{{.*}}
; CHECK-NEXT: movaps 32(%r{{[^,]*}}), %xmm{{.*}}
@@ -484,7 +484,7 @@ bb5: ; preds = %bb3, %entry
; CHECK-NEXT: addq $64, %r{{.*}}
; CHECK-NEXT: addq $64, %r{{.*}}
; CHECK-NEXT: addq $-16, %r{{.*}}
-; CHECK-NEXT: BB10_11:
+; CHECK-NEXT: BB10_10:
; CHECK-NEXT: cmpq $15, %r{{.*}}
; CHECK-NEXT: jg