[PATCH] D17475: MachineCopyPropagation: Catch copies of the form A<-B; A<-B
Jun Bum Lim via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 23 20:52:14 PST 2016
junbuml added inline comments.
================
Comment at: lib/CodeGen/MachineCopyPropagation.cpp:212
@@ -193,3 +211,3 @@
// Copy is now a candidate for deletion.
if (!MRI->isReserved(Def))
MaybeDeadCopies.insert(MI);
----------------
Shouldn't we need to add !MRI->isReserved(Src) as well ?
Repository:
rL LLVM
http://reviews.llvm.org/D17475
More information about the llvm-commits
mailing list