[PATCH] D30751: [MachineCopyForwarding] Add new pass to do register COPY forwarding at end of register allocation.
Hal Finkel via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 8 11:24:26 PST 2017
hfinkel added a comment.
High-level question: Why does the register allocator not do this on its own?
================
Comment at: test/CodeGen/PowerPC/fma-mutate.ll:17
; CHECK: @foo3
-; CHECK: xsnmsubadp [[REG:[0-9]+]], {{[0-9]+}}, [[REG]]
+; CHECK: fmr [[REG:[0-9]+]], [[REG2:[0-9]+]]
+; CHECK: xsnmsubadp [[REG]], {{[0-9]+}}, [[REG2]]
----------------
Is this an improvement?
https://reviews.llvm.org/D30751
More information about the llvm-commits
mailing list