summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-10-12 18:00:14 +0000
committerChris Lattner <sabre@nondot.org>2006-10-12 18:00:14 +0000
commit0e0ee36f45c56947221ecbc07360df823d39ca4f (patch)
tree617a69ec0dec3d5abd4306d692d7cee347d10baf
parentd376e9f4ac1bec2a308822bcf1b84aac63d4c906 (diff)
downloadbcm5719-llvm-0e0ee36f45c56947221ecbc07360df823d39ca4f.tar.gz
bcm5719-llvm-0e0ee36f45c56947221ecbc07360df823d39ca4f.zip
adjcallstack up/down clobbers the sp
llvm-svn: 30910
-rw-r--r--llvm/lib/Target/Alpha/AlphaInstrInfo.td4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/Alpha/AlphaInstrInfo.td b/llvm/lib/Target/Alpha/AlphaInstrInfo.td
index 3f897a76c82..921a4ad6640 100644
--- a/llvm/lib/Target/Alpha/AlphaInstrInfo.td
+++ b/llvm/lib/Target/Alpha/AlphaInstrInfo.td
@@ -161,9 +161,9 @@ def WTF : PseudoInstAlpha<(ops variable_ops), "#wtf", [], s_pseudo>;
let isLoad = 1, hasCtrlDep = 1 in {
def ADJUSTSTACKUP : PseudoInstAlpha<(ops s64imm:$amt), "; ADJUP $amt",
- [(callseq_start imm:$amt)], s_pseudo>;
+ [(callseq_start imm:$amt)], s_pseudo>, Imp<[R30],[R30]>;
def ADJUSTSTACKDOWN : PseudoInstAlpha<(ops s64imm:$amt), "; ADJDOWN $amt",
- [(callseq_end imm:$amt)], s_pseudo>;
+ [(callseq_end imm:$amt)], s_pseudo>, Imp<[R30],[R30]>;
}
def ALTENT : PseudoInstAlpha<(ops s64imm:$TARGET), "$$$TARGET..ng:\n", [], s_pseudo>;
def PCLABEL : PseudoInstAlpha<(ops s64imm:$num), "PCMARKER_$num:\n",[], s_pseudo>;
OpenPOWER on IntegriCloud