[llvm-commits] [llvm] r52932 - /llvm/trunk/lib/Target/CellSPU/SPURegisterInfo.cpp

Dan Gohman gohman at apple.com
Mon Jun 30 15:23:08 PDT 2008


Author: djg
Date: Mon Jun 30 17:23:08 2008
New Revision: 52932

URL: http://llvm.org/viewvc/llvm-project?rev=52932&view=rev
Log:
Don't use ISD namespace opcodes for MachineInstrs.

Modified:
    llvm/trunk/lib/Target/CellSPU/SPURegisterInfo.cpp

Modified: llvm/trunk/lib/Target/CellSPU/SPURegisterInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/CellSPU/SPURegisterInfo.cpp?rev=52932&r1=52931&r2=52932&view=diff

==============================================================================
--- llvm/trunk/lib/Target/CellSPU/SPURegisterInfo.cpp (original)
+++ llvm/trunk/lib/Target/CellSPU/SPURegisterInfo.cpp Mon Jun 30 17:23:08 2008
@@ -444,7 +444,7 @@
     if (hasDebugInfo) {
       // Mark effective beginning of when frame pointer becomes valid.
       FrameLabelId = MMI->NextLabelID();
-      BuildMI(MBB, MBBI, TII.get(ISD::LABEL)).addImm(FrameLabelId).addImm(0);
+      BuildMI(MBB, MBBI, TII.get(SPU::LABEL)).addImm(FrameLabelId).addImm(0);
     }
   
     // Adjust stack pointer, spilling $lr -> 16($sp) and $sp -> -FrameSize($sp)
@@ -504,7 +504,7 @@
     
       // Mark effective beginning of when frame pointer is ready.
       unsigned ReadyLabelId = MMI->NextLabelID();
-      BuildMI(MBB, MBBI, TII.get(ISD::LABEL)).addImm(ReadyLabelId).addImm(0);
+      BuildMI(MBB, MBBI, TII.get(SPU::LABEL)).addImm(ReadyLabelId).addImm(0);
     
       MachineLocation FPDst(SPU::R1);
       MachineLocation FPSrc(MachineLocation::VirtualFP);





More information about the llvm-commits mailing list