Remove references to INSERT_SUBREG after de-SSA
[oota-llvm.git] / lib / CodeGen / StackSlotColoring.cpp
index 7f3b452f0a5a2b3dcf43693e1cb5124215c84158..5172f3a24bf518b0cf2b7400ba7ff13596ffac01 100644 (file)
@@ -508,8 +508,7 @@ bool StackSlotColoring::PropagateBackward(MachineBasicBlock::iterator MII,
 
         // Abort the use is actually a sub-register def. We don't have enough
         // information to figure out if it is really legal.
-        if (MO.getSubReg() || MII->isExtractSubreg() ||
-            MII->isInsertSubreg() || MII->isSubregToReg())
+        if (MO.getSubReg() || MII->isExtractSubreg() || MII->isSubregToReg())
           return false;
 
         const TargetRegisterClass *RC = TID.OpInfo[i].getRegClass(TRI);