[PATCH] D82638: [MachineCopyPropagation] BackwardPropagatableCopy: add check for hasOverlappingMultipleDef
Simon Wallis via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 30 04:18:57 PDT 2020
simonwallis2 updated this revision to Diff 274407.
simonwallis2 added a comment.
If the definition is earlyclobber, will it ever reach hasOverlappingMultipleDef?
The getNumDefs() check is not necessary.
It has been removed.
The isDef() check is not necessary.
It has been removed.
I removed the fragile .ll testcase.
I have added an MIR testcase.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D82638/new/
https://reviews.llvm.org/D82638
Files:
llvm/lib/CodeGen/MachineCopyPropagation.cpp
llvm/test/CodeGen/ARM/mcp-dest-regs-no-dup.mir
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D82638.274407.patch
Type: text/x-patch
Size: 3866 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200630/1f7da687/attachment.bin>
More information about the llvm-commits
mailing list