From: Chris Lattner Date: Thu, 12 Oct 2006 18:00:14 +0000 (+0000) Subject: adjcallstack up/down clobbers the sp X-Git-Tag: android-x86-6.0-r1~1003^2~40281 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=93b8e490c4949af35f8d09ab2c19634a68b2f483;p=android-x86%2Fexternal-llvm.git adjcallstack up/down clobbers the sp git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30910 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/Alpha/AlphaInstrInfo.td b/lib/Target/Alpha/AlphaInstrInfo.td index 3f897a76c82..921a4ad6640 100644 --- a/lib/Target/Alpha/AlphaInstrInfo.td +++ b/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>;