mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-01 03:33:42 +00:00
adjcallstack up/down clobbers the sp
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30910 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
740c2e0799
commit
93b8e490c4
@ -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>;
|
||||
|
Loading…
x
Reference in New Issue
Block a user