[llvm-commits] CVS: llvm/lib/Target/SparcV9/SparcV9.td SparcV9InstrSelectionSupport.h SparcV9SchedInfo.cpp

Brian Gaeke gaeke at cs.uiuc.edu
Thu Jul 1 23:58:01 PDT 2004


Changes in directory llvm/lib/Target/SparcV9:

SparcV9.td updated: 1.32 -> 1.33
SparcV9InstrSelectionSupport.h updated: 1.17 -> 1.18
SparcV9SchedInfo.cpp updated: 1.12 -> 1.13

---
Log message:

RETURN instructions are not used in the sparc backend.
When in doubt, stamp it out!!


---
Diffs of the changes:  (+0 -9)

Index: llvm/lib/Target/SparcV9/SparcV9.td
diff -u llvm/lib/Target/SparcV9/SparcV9.td:1.32 llvm/lib/Target/SparcV9/SparcV9.td:1.33
--- llvm/lib/Target/SparcV9/SparcV9.td:1.32	Wed Jun  9 16:54:58 2004
+++ llvm/lib/Target/SparcV9/SparcV9.td	Thu Jul  1 23:57:35 2004
@@ -667,12 +667,6 @@
   def RDCCR : F3_17<2, 0b101000, "rd">;             // rd %ccr, r
 }
 
-// Section A.45: RETURN - p216
-let isReturn = 1 in {
-  def RETURNr : F3_3<2, 0b111001, "return">;      // return
-  def RETURNi : F3_4<2, 0b111001, "return">;      // return
-}
-
 // Section A.46: SAVE and RESTORE - p217
 def SAVEr    : F3_1<2, 0b111100, "save">;       // save    r, r, r
 def SAVEi    : F3_2<2, 0b111100, "save">;       // save    r, i, r


Index: llvm/lib/Target/SparcV9/SparcV9InstrSelectionSupport.h
diff -u llvm/lib/Target/SparcV9/SparcV9InstrSelectionSupport.h:1.17 llvm/lib/Target/SparcV9/SparcV9InstrSelectionSupport.h:1.18
--- llvm/lib/Target/SparcV9/SparcV9InstrSelectionSupport.h:1.17	Thu Jun 17 13:17:10 2004
+++ llvm/lib/Target/SparcV9/SparcV9InstrSelectionSupport.h	Thu Jul  1 23:57:35 2004
@@ -205,7 +205,6 @@
     /* jump & return */
   case V9::JMPLCALLr: return V9::JMPLCALLi;
   case V9::JMPLRETr:  return V9::JMPLRETi;
-  case V9::RETURNr:   return V9::RETURNi;
 
   /* save and restore */
   case V9::SAVEr:     return V9::SAVEi;


Index: llvm/lib/Target/SparcV9/SparcV9SchedInfo.cpp
diff -u llvm/lib/Target/SparcV9/SparcV9SchedInfo.cpp:1.12 llvm/lib/Target/SparcV9/SparcV9SchedInfo.cpp:1.13
--- llvm/lib/Target/SparcV9/SparcV9SchedInfo.cpp:1.12	Sun Apr 25 02:04:49 2004
+++ llvm/lib/Target/SparcV9/SparcV9SchedInfo.cpp	Thu Jul  1 23:57:35 2004
@@ -457,8 +457,6 @@
 //{ V9::FLUSH,		true,	true,	9 },
 //{ V9::FLUSHW,		true,	true,	9 },
 //{ V9::ALIGNADDR,	true,	true,	0 },
-  { V9::RETURNr,	true,	true,	0 },
-  { V9::RETURNi,	true,	true,	0 },
 //{ V9::DONE,		true,	true,	0 },
 //{ V9::RETRY,		true,	true,	0 },
 //{ V9::TCC,		true,	true,	0 },





More information about the llvm-commits mailing list