aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorBrian Gaeke <gaeke@uiuc.edu>2004-11-15 05:56:53 +0000
committerBrian Gaeke <gaeke@uiuc.edu>2004-11-15 05:56:53 +0000
commitf28688e5273d674f5f4ff1c133ce6512d289ead1 (patch)
tree333b2af3a0b2b16a6615c0ebdebe481024c72e25 /lib
parent50e60c70262298c9da6e2b89a6c5ca447125c8db (diff)
downloadexternal_llvm-f28688e5273d674f5f4ff1c133ce6512d289ead1.zip
external_llvm-f28688e5273d674f5f4ff1c133ce6512d289ead1.tar.gz
external_llvm-f28688e5273d674f5f4ff1c133ce6512d289ead1.tar.bz2
Expand Defs to encompass all the possibly-call-clobbered regs.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17822 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/Target/Sparc/SparcInstrInfo.td3
-rw-r--r--lib/Target/SparcV8/SparcV8InstrInfo.td3
2 files changed, 4 insertions, 2 deletions
diff --git a/lib/Target/Sparc/SparcInstrInfo.td b/lib/Target/Sparc/SparcInstrInfo.td
index b98fa00..22ba93f 100644
--- a/lib/Target/Sparc/SparcInstrInfo.td
+++ b/lib/Target/Sparc/SparcInstrInfo.td
@@ -195,7 +195,8 @@ def FBO : FPBranchV8<0b1111, "fbo">;
// Section B.24 - Call and Link Instruction, p. 125
// This is the only Format 1 instruction
-let Uses = [O0, O1, O2, O3, O4, O5], Defs = [O0, O1, O2, O3, O4, O5],
+let Uses = [O0, O1, O2, O3, O4, O5], Defs = [O0, O1, O2, O3, O4, O5, O7, G1, G2,
+G3, G4, G5, G6, G7],
hasDelaySlot = 1, isCall = 1 in {
// pc-relative call:
def CALL : InstV8 {
diff --git a/lib/Target/SparcV8/SparcV8InstrInfo.td b/lib/Target/SparcV8/SparcV8InstrInfo.td
index b98fa00..22ba93f 100644
--- a/lib/Target/SparcV8/SparcV8InstrInfo.td
+++ b/lib/Target/SparcV8/SparcV8InstrInfo.td
@@ -195,7 +195,8 @@ def FBO : FPBranchV8<0b1111, "fbo">;
// Section B.24 - Call and Link Instruction, p. 125
// This is the only Format 1 instruction
-let Uses = [O0, O1, O2, O3, O4, O5], Defs = [O0, O1, O2, O3, O4, O5],
+let Uses = [O0, O1, O2, O3, O4, O5], Defs = [O0, O1, O2, O3, O4, O5, O7, G1, G2,
+G3, G4, G5, G6, G7],
hasDelaySlot = 1, isCall = 1 in {
// pc-relative call:
def CALL : InstV8 {