From: Lang Hames Date: Mon, 23 Jan 2012 21:15:01 +0000 (+0000) Subject: copyImplicitOps is redundant here - the loop above already copies these ops. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=e0bd8c3a2608f39f341eb3440df723dc48d435a5;p=oota-llvm.git copyImplicitOps is redundant here - the loop above already copies these ops. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@148725 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/RegisterCoalescer.cpp b/lib/CodeGen/RegisterCoalescer.cpp index 4ed254a9987..3493645f7f2 100644 --- a/lib/CodeGen/RegisterCoalescer.cpp +++ b/lib/CodeGen/RegisterCoalescer.cpp @@ -850,7 +850,6 @@ bool RegisterCoalescer::ReMaterializeTrivialDef(LiveInterval &SrcInt, RemoveCopyFlag(MO.getReg(), CopyMI); } - NewMI->copyImplicitOps(CopyMI); LIS->ReplaceMachineInstrInMaps(CopyMI, NewMI); CopyMI->eraseFromParent(); ReMatCopies.insert(CopyMI);