RETURN instructions are not used in the sparc backend.
authorBrian Gaeke <gaeke@uiuc.edu>
Fri, 2 Jul 2004 04:57:35 +0000 (04:57 +0000)
committerBrian Gaeke <gaeke@uiuc.edu>
Fri, 2 Jul 2004 04:57:35 +0000 (04:57 +0000)
When in doubt, stamp it out!!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14558 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/SparcV9/SparcV9.td
lib/Target/SparcV9/SparcV9InstrSelectionSupport.h
lib/Target/SparcV9/SparcV9SchedInfo.cpp

index 3cfe49e9d25089f6126d642d9fedaa586ae79ac5..f78317ddaeddec54650146bf01123c5e251a1a55 100644 (file)
@@ -667,12 +667,6 @@ let rs1 = 2 in {
   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 bf5617a21a2fb14a389acd222ad4c7e2453420fb..d205eec8269fdc3a277e03be4f784eb97c5c9034 100644 (file)
@@ -205,7 +205,6 @@ convertOpcodeFromRegToImm(unsigned Opcode) {
     /* 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 39d616419f1b327f4ae12117d68db949061a1c5d..f9888f387f11a6460cbde57278f8ebabf9b4f274 100644 (file)
@@ -457,8 +457,6 @@ static const InstrIssueDelta  SparcV9InstrIssueDeltas[] = {
 //{ 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 },