[llvm-commits] [llvm] r148725 - /llvm/trunk/lib/CodeGen/RegisterCoalescer.cpp
Lang Hames
lhames at gmail.com
Mon Jan 23 13:15:02 PST 2012
Author: lhames
Date: Mon Jan 23 15:15:01 2012
New Revision: 148725
URL: http://llvm.org/viewvc/llvm-project?rev=148725&view=rev
Log:
copyImplicitOps is redundant here - the loop above already copies these ops.
Modified:
llvm/trunk/lib/CodeGen/RegisterCoalescer.cpp
Modified: llvm/trunk/lib/CodeGen/RegisterCoalescer.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/RegisterCoalescer.cpp?rev=148725&r1=148724&r2=148725&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/RegisterCoalescer.cpp (original)
+++ llvm/trunk/lib/CodeGen/RegisterCoalescer.cpp Mon Jan 23 15:15:01 2012
@@ -850,7 +850,6 @@
RemoveCopyFlag(MO.getReg(), CopyMI);
}
- NewMI->copyImplicitOps(CopyMI);
LIS->ReplaceMachineInstrInMaps(CopyMI, NewMI);
CopyMI->eraseFromParent();
ReMatCopies.insert(CopyMI);
More information about the llvm-commits
mailing list