summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/PowerPC/inlineasm-i64-reg.ll
diff options
context:
space:
mode:
authorGeoff Berry <gberry@codeaurora.org>2017-08-30 18:41:07 +0000
committerGeoff Berry <gberry@codeaurora.org>2017-08-30 18:41:07 +0000
commitfeffb0c8af00b975d678a364fff19c4ffb8bfd61 (patch)
tree18f81c042df484ad2b70a8e3592d8bf6b591625e /llvm/test/CodeGen/PowerPC/inlineasm-i64-reg.ll
parent37b1d7b36fa144b0733dfc1659defe80cf384b15 (diff)
downloadbcm5719-llvm-feffb0c8af00b975d678a364fff19c4ffb8bfd61.tar.gz
bcm5719-llvm-feffb0c8af00b975d678a364fff19c4ffb8bfd61.zip
Re-enable "[MachineCopyPropagation] Extend pass to do COPY source forwarding"
Issues identified by buildbots addressed since original review: - Fixed ARMLoadStoreOptimizer bug exposed by this change in r311907. - The pass no longer forwards COPYs to physical register uses, since doing so can break code that implicitly relies on the physical register number of the use. - The pass no longer forwards COPYs to undef uses, since doing so can break the machine verifier by creating LiveRanges that don't end on a use (since the undef operand is not considered a use). [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. llvm-svn: 312154
Diffstat (limited to 'llvm/test/CodeGen/PowerPC/inlineasm-i64-reg.ll')
-rw-r--r--llvm/test/CodeGen/PowerPC/inlineasm-i64-reg.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/PowerPC/inlineasm-i64-reg.ll b/llvm/test/CodeGen/PowerPC/inlineasm-i64-reg.ll
index aa944a8d464..d06edd66b24 100644
--- a/llvm/test/CodeGen/PowerPC/inlineasm-i64-reg.ll
+++ b/llvm/test/CodeGen/PowerPC/inlineasm-i64-reg.ll
@@ -75,7 +75,7 @@ entry:
; CHECK-DAG: mr [[REG:[0-9]+]], 3
; CHECK-DAG: li 0, 1076
-; CHECK: stw [[REG]],
+; CHECK-DAG: stw 3,
; CHECK: #APP
; CHECK: sc
OpenPOWER on IntegriCloud