summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Gaeke <gaeke@uiuc.edu>2004-10-10 19:57:20 +0000
committerBrian Gaeke <gaeke@uiuc.edu>2004-10-10 19:57:20 +0000
commit9770e416c5005522286d4d2a94303a3bd7d3c1f9 (patch)
treed061b2a2ab2b6d8d24e38fe31d4207df013323c5
parent8a4d5caa76711338fe2b6e46043754643f10e9bb (diff)
downloadbcm5719-llvm-9770e416c5005522286d4d2a94303a3bd7d3c1f9.tar.gz
bcm5719-llvm-9770e416c5005522286d4d2a94303a3bd7d3c1f9.zip
Model calls as *both* using *and* killing O0..O5, because callees use the
argument values passed in (so they're not dead until *after* the call), and callees are free to modify those registers. llvm-svn: 16882
-rw-r--r--llvm/lib/Target/SparcV8/SparcV8InstrInfo.td3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/Target/SparcV8/SparcV8InstrInfo.td b/llvm/lib/Target/SparcV8/SparcV8InstrInfo.td
index 5751f6f0260..c1b8d6e7971 100644
--- a/llvm/lib/Target/SparcV8/SparcV8InstrInfo.td
+++ b/llvm/lib/Target/SparcV8/SparcV8InstrInfo.td
@@ -193,7 +193,8 @@ def FBO : FPBranchV8<0b1111, "fbo">;
// Section B.24 - Call and Link Instruction, p. 125
// This is the only Format 1 instruction
-let Defs = [O0, O1, O2, O3, O4, O5], hasDelaySlot = 1, isCall = 1 in {
+let Uses = [O0, O1, O2, O3, O4, O5], Defs = [O0, O1, O2, O3, O4, O5],
+ hasDelaySlot = 1, isCall = 1 in {
// pc-relative call:
def CALL : InstV8 {
bits<30> disp;
OpenPOWER on IntegriCloud