[llvm-commits] [llvm] r84611 - /llvm/trunk/lib/Target/ARM/AsmPrinter/ARMAsmPrinter.cpp

Chris Lattner sabre at nondot.org
Mon Oct 19 22:58:02 PDT 2009


Author: lattner
Date: Tue Oct 20 00:58:02 2009
New Revision: 84611

URL: http://llvm.org/viewvc/llvm-project?rev=84611&view=rev
Log:
t2MOVi32imm is currently always lowered by the Thumb2ITBlockPass.

Modified:
    llvm/trunk/lib/Target/ARM/AsmPrinter/ARMAsmPrinter.cpp

Modified: llvm/trunk/lib/Target/ARM/AsmPrinter/ARMAsmPrinter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/AsmPrinter/ARMAsmPrinter.cpp?rev=84611&r1=84610&r2=84611&view=diff

==============================================================================
--- llvm/trunk/lib/Target/ARM/AsmPrinter/ARMAsmPrinter.cpp (original)
+++ llvm/trunk/lib/Target/ARM/AsmPrinter/ARMAsmPrinter.cpp Tue Oct 20 00:58:02 2009
@@ -1306,6 +1306,8 @@
 void ARMAsmPrinter::printInstructionThroughMCStreamer(const MachineInstr *MI) {
   ARMMCInstLower MCInstLowering(OutContext, *Mang, *this);
   switch (MI->getOpcode()) {
+  case ARM::t2MOVi32imm:
+    assert(0 && "Should be lowered by thumb2it pass");
   default: break;
   case TargetInstrInfo::DBG_LABEL:
   case TargetInstrInfo::EH_LABEL:
@@ -1441,8 +1443,6 @@
     
     return;
   }
-      
-  // FIXME: Handle t2MOVi32imm also.
   }
       
   MCInst TmpInst;





More information about the llvm-commits mailing list