summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/lea.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/X86/lea.ll')
-rw-r--r--test/CodeGen/X86/lea.ll10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/CodeGen/X86/lea.ll b/test/CodeGen/X86/lea.ll
index 542135529f1d0..93cfe4611b44e 100644
--- a/test/CodeGen/X86/lea.ll
+++ b/test/CodeGen/X86/lea.ll
@@ -5,8 +5,8 @@ define i32 @test1(i32 %x) nounwind {
%tmp1 = shl i32 %x, 3
%tmp2 = add i32 %tmp1, 7
ret i32 %tmp2
-; CHECK: test1:
-; CHECK: leal 7(,[[A0:%rdi|%rcx]],8), %eax
+; CHECK-LABEL: test1:
+; CHECK: leal 7(,%r[[A0:di|cx]],8), %eax
}
@@ -27,9 +27,9 @@ bb.nph:
bb2:
ret i32 %x_offs
-; CHECK: test2:
-; CHECK: leal -5([[A0]]), %eax
+; CHECK-LABEL: test2:
+; CHECK: leal -5(%r[[A0:..]]), %eax
; CHECK: andl $-4, %eax
; CHECK: negl %eax
-; CHECK: leal -4([[A0]],%rax), %eax
+; CHECK: leal -4(%r[[A0]],%rax), %eax
}