Expand Defs to encompass all the possibly-call-clobbered regs.
authorBrian Gaeke <gaeke@uiuc.edu>
Mon, 15 Nov 2004 05:56:53 +0000 (05:56 +0000)
committerBrian Gaeke <gaeke@uiuc.edu>
Mon, 15 Nov 2004 05:56:53 +0000 (05:56 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17822 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/Sparc/SparcInstrInfo.td
lib/Target/SparcV8/SparcV8InstrInfo.td

index b98fa003f2f2e98432497e97156eb83f5b9e8ca1..22ba93fed6a3e9cc5869a57d08e3aacf39ad9efa 100644 (file)
@@ -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 {
index b98fa003f2f2e98432497e97156eb83f5b9e8ca1..22ba93fed6a3e9cc5869a57d08e3aacf39ad9efa 100644 (file)
@@ -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 {