diff options
| author | Brian Gaeke <gaeke@uiuc.edu> | 2004-07-02 04:57:35 +0000 |
|---|---|---|
| committer | Brian Gaeke <gaeke@uiuc.edu> | 2004-07-02 04:57:35 +0000 |
| commit | fb894bd864fa94b7619b758ef98e270c0126db6a (patch) | |
| tree | f46524639f32a87d6401c41e67576483eb0ca9b3 | |
| parent | 7efe23752fa8b8b6920eb2f2c588321f780aac08 (diff) | |
| download | bcm5719-llvm-fb894bd864fa94b7619b758ef98e270c0126db6a.tar.gz bcm5719-llvm-fb894bd864fa94b7619b758ef98e270c0126db6a.zip | |
RETURN instructions are not used in the sparc backend.
When in doubt, stamp it out!!
llvm-svn: 14558
| -rw-r--r-- | llvm/lib/Target/SparcV9/SparcV9.td | 6 | ||||
| -rw-r--r-- | llvm/lib/Target/SparcV9/SparcV9InstrSelectionSupport.h | 1 | ||||
| -rw-r--r-- | llvm/lib/Target/SparcV9/SparcV9SchedInfo.cpp | 2 |
3 files changed, 0 insertions, 9 deletions
diff --git a/llvm/lib/Target/SparcV9/SparcV9.td b/llvm/lib/Target/SparcV9/SparcV9.td index 3cfe49e9d25..f78317ddaed 100644 --- a/llvm/lib/Target/SparcV9/SparcV9.td +++ b/llvm/lib/Target/SparcV9/SparcV9.td @@ -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 diff --git a/llvm/lib/Target/SparcV9/SparcV9InstrSelectionSupport.h b/llvm/lib/Target/SparcV9/SparcV9InstrSelectionSupport.h index bf5617a21a2..d205eec8269 100644 --- a/llvm/lib/Target/SparcV9/SparcV9InstrSelectionSupport.h +++ b/llvm/lib/Target/SparcV9/SparcV9InstrSelectionSupport.h @@ -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; diff --git a/llvm/lib/Target/SparcV9/SparcV9SchedInfo.cpp b/llvm/lib/Target/SparcV9/SparcV9SchedInfo.cpp index 39d616419f1..f9888f387f1 100644 --- a/llvm/lib/Target/SparcV9/SparcV9SchedInfo.cpp +++ b/llvm/lib/Target/SparcV9/SparcV9SchedInfo.cpp @@ -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 }, |

