diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2012-05-19 20:54:07 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2012-05-19 20:54:07 +0000 |
commit | 25ced18407b88d1e27a4311ba9e7e65db8b9becc (patch) | |
tree | 51c1a181a10dc476ea50e32592dacd7beefb4d3c /llvm/test/CodeGen/X86/segmented-stacks-dynamic.ll | |
parent | 1b707c88179ee6e9d50ebd16d54ccfe5c9280b21 (diff) | |
download | bcm5719-llvm-25ced18407b88d1e27a4311ba9e7e65db8b9becc.tar.gz bcm5719-llvm-25ced18407b88d1e27a4311ba9e7e65db8b9becc.zip |
Erase joined copies immediately.
The late dead code elimination is no longer necessary.
The test changes are cause by a register hint that can be either %rdi or
%rax. The choice depends on the use list order, which this patch changes.
llvm-svn: 157131
Diffstat (limited to 'llvm/test/CodeGen/X86/segmented-stacks-dynamic.ll')
-rw-r--r-- | llvm/test/CodeGen/X86/segmented-stacks-dynamic.ll | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/llvm/test/CodeGen/X86/segmented-stacks-dynamic.ll b/llvm/test/CodeGen/X86/segmented-stacks-dynamic.ll index 5ce08aa51c7..d68b00b69a2 100644 --- a/llvm/test/CodeGen/X86/segmented-stacks-dynamic.ll +++ b/llvm/test/CodeGen/X86/segmented-stacks-dynamic.ll @@ -51,14 +51,14 @@ false: ; X64-NEXT: callq __morestack ; X64-NEXT: ret -; X64: movq %rsp, %rdi -; X64-NEXT: subq %rax, %rdi -; X64-NEXT: cmpq %rdi, %fs:112 +; X64: movq %rsp, %[[RDI:rdi|rax]] +; X64-NEXT: subq %{{.*}}, %[[RDI]] +; X64-NEXT: cmpq %[[RDI]], %fs:112 -; X64: movq %rdi, %rsp +; X64: movq %[[RDI]], %rsp -; X64: movq %rax, %rdi +; X64: movq %{{.*}}, %rdi ; X64-NEXT: callq __morestack_allocate_stack_space -; X64-NEXT: movq %rax, %rdi +; X64: movq %rax, %rdi } |