diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2011-04-05 00:32:44 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2011-04-05 00:32:44 +0000 |
commit | b0e47cdf3decc6aef46b1bdaf19342c39681623a (patch) | |
tree | 8c5200b9cdf09c58517362bcc11e32ac09760da5 /test/CodeGen/X86/tailcallstack64.ll | |
parent | 157536b1fb900e57efe042d48c7caeb87b1efd04 (diff) | |
download | external_llvm-b0e47cdf3decc6aef46b1bdaf19342c39681623a.zip external_llvm-b0e47cdf3decc6aef46b1bdaf19342c39681623a.tar.gz external_llvm-b0e47cdf3decc6aef46b1bdaf19342c39681623a.tar.bz2 |
Fix register-dependent X86 tests.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128867 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/tailcallstack64.ll')
-rw-r--r-- | test/CodeGen/X86/tailcallstack64.ll | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/CodeGen/X86/tailcallstack64.ll b/test/CodeGen/X86/tailcallstack64.ll index 0927779..060ce0f 100644 --- a/test/CodeGen/X86/tailcallstack64.ll +++ b/test/CodeGen/X86/tailcallstack64.ll @@ -6,15 +6,15 @@ ; Check that lowered arguments on the stack do not overwrite each other. ; Add %in1 %p1 to a different temporary register (%eax). -; CHECK: movl [[A1:32|144]](%rsp), %eax +; CHECK: movl [[A1:32|144]](%rsp), [[R1:%e..]] ; Move param %in1 to temp register (%r10d). -; CHECK: movl [[A2:40|152]](%rsp), %r10d +; CHECK: movl [[A2:40|152]](%rsp), [[R2:%[a-z0-9]+]] ; Add %in1 %p1 to a different temporary register (%eax). -; CHECK: addl {{%edi|%ecx}}, %eax +; CHECK: addl {{%edi|%ecx}}, [[R1]] ; Move param %in2 to stack. -; CHECK: movl %r10d, [[A1]](%rsp) +; CHECK: movl [[R2]], [[A1]](%rsp) ; Move result of addition to stack. -; CHECK: movl %eax, [[A2]](%rsp) +; CHECK: movl [[R1]], [[A2]](%rsp) ; Eventually, do a TAILCALL ; CHECK: TAILCALL |