[PATCH] D65267: [MachineCopyPropagation] Remove redundant copies after TailDup via machine-cp
Kai Luo via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 12 02:57:35 PDT 2019
lkail marked an inline comment as done.
lkail added inline comments.
================
Comment at: llvm/test/CodeGen/MIR/PowerPC/machine-backward-cp.mir:165
renamable $x6 = ADDI8 killed renamable $x4, 1
renamable $x7 = COPY killed renamable $x6
$x3 = ADD8 renamable killed $x5, renamable killed $x7
----------------
Prior to the fix, `$x7` will be considered not clobbered and use of `$x5` in the next instruction will be replaced by `$x7` which MCP still considers `renamable $x5 = COPY killed renamable $x7` a valid copy.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D65267/new/
https://reviews.llvm.org/D65267
More information about the llvm-commits
mailing list