copyImplicitOps is redundant here - the loop above already copies these ops.
authorLang Hames <lhames@gmail.com>
Mon, 23 Jan 2012 21:15:01 +0000 (21:15 +0000)
committerLang Hames <lhames@gmail.com>
Mon, 23 Jan 2012 21:15:01 +0000 (21:15 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@148725 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/RegisterCoalescer.cpp

index 4ed254a9987357253971ab218360126102166d3f..3493645f7f238709a1bd0add774c734f97a610df 100644 (file)
@@ -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);