summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/X86/statepoint-stack-usage.ll
diff options
context:
space:
mode:
authorGeoff Berry <gberry@codeaurora.org>2017-08-16 20:50:01 +0000
committerGeoff Berry <gberry@codeaurora.org>2017-08-16 20:50:01 +0000
commit87f8d25150facee0e5ae1884871db420c925877c (patch)
treeb770d78ed491fed130a9d01d63675f48a3638a43 /llvm/test/CodeGen/X86/statepoint-stack-usage.ll
parent0fb5b788920b6039b13197fd11212c3cf8d9d714 (diff)
downloadbcm5719-llvm-87f8d25150facee0e5ae1884871db420c925877c.tar.gz
bcm5719-llvm-87f8d25150facee0e5ae1884871db420c925877c.zip
[MachineCopyPropagation] Extend pass to do COPY source forwarding
This change extends MachineCopyPropagation to do COPY source forwarding. This change also extends the MachineCopyPropagation pass to be able to be run during register allocation, after physical registers have been assigned, but before the virtual registers have been re-written, which allows it to remove virtual register COPY LiveIntervals that become dead through the forwarding of all of their uses. Reviewers: qcolombet, javed.absar, MatzeB, jonpa Subscribers: jyknight, nemanjai, llvm-commits, nhaehnle, mcrosier, mgorny Differential Revision: https://reviews.llvm.org/D30751 llvm-svn: 311038
Diffstat (limited to 'llvm/test/CodeGen/X86/statepoint-stack-usage.ll')
-rw-r--r--llvm/test/CodeGen/X86/statepoint-stack-usage.ll6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/test/CodeGen/X86/statepoint-stack-usage.ll b/llvm/test/CodeGen/X86/statepoint-stack-usage.ll
index 6e7fc7bf1c0..73b0d6a1807 100644
--- a/llvm/test/CodeGen/X86/statepoint-stack-usage.ll
+++ b/llvm/test/CodeGen/X86/statepoint-stack-usage.ll
@@ -61,9 +61,9 @@ define i32 @back_to_back_deopt(i32 %a, i32 %b, i32 %c) #1
gc "statepoint-example" {
; CHECK-LABEL: back_to_back_deopt
; The exact stores don't matter, but there need to be three stack slots created
-; CHECK-DAG: movl %ebx, 12(%rsp)
-; CHECK-DAG: movl %ebp, 8(%rsp)
-; CHECK-DAG: movl %r14d, 4(%rsp)
+; CHECK-DAG: movl %edi, 12(%rsp)
+; CHECK-DAG: movl %esi, 8(%rsp)
+; CHECK-DAG: movl %edx, 4(%rsp)
; CHECK: callq
; CHECK-DAG: movl %ebx, 12(%rsp)
; CHECK-DAG: movl %ebp, 8(%rsp)
OpenPOWER on IntegriCloud