[llvm-commits] [llvm] r93467 -	/llvm/trunk/lib/Target/MSP430/MSP430ISelLowering.cpp
    Anton Korobeynikov 
    asl at math.spbu.ru
       
    Thu Jan 14 14:09:12 PST 2010
    
    
  
Author: asl
Date: Thu Jan 14 16:09:11 2010
New Revision: 93467
URL: http://llvm.org/viewvc/llvm-project?rev=93467&view=rev
Log:
Remove pseudo-MI in custom inserter.
Modified:
    llvm/trunk/lib/Target/MSP430/MSP430ISelLowering.cpp
Modified: llvm/trunk/lib/Target/MSP430/MSP430ISelLowering.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/MSP430/MSP430ISelLowering.cpp?rev=93467&r1=93466&r2=93467&view=diff
==============================================================================
--- llvm/trunk/lib/Target/MSP430/MSP430ISelLowering.cpp (original)
+++ llvm/trunk/lib/Target/MSP430/MSP430ISelLowering.cpp Thu Jan 14 16:09:11 2010
@@ -1045,6 +1045,7 @@
     .addReg(SrcReg).addMBB(BB)
     .addReg(ShiftReg2).addMBB(LoopBB);
 
+  F->DeleteMachineInstr(MI);   // The pseudo instruction is gone now.
   return RemBB;
 }
 
    
    
More information about the llvm-commits
mailing list