mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-15 23:31:37 +00:00
mark adjcallstack up/down as clobbering and using the SP
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30908 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
33e4869ba0
commit
1e5e97462b
@ -276,10 +276,10 @@ def FPContractions : Predicate<"!NoExcessFPPrecision">;
|
||||
let hasCtrlDep = 1 in {
|
||||
def ADJCALLSTACKDOWN : Pseudo<(ops u16imm:$amt),
|
||||
"${:comment} ADJCALLSTACKDOWN",
|
||||
[(callseq_start imm:$amt)]>;
|
||||
[(callseq_start imm:$amt)]>, Imp<[R1],[R1]>;
|
||||
def ADJCALLSTACKUP : Pseudo<(ops u16imm:$amt),
|
||||
"${:comment} ADJCALLSTACKUP",
|
||||
[(callseq_end imm:$amt)]>;
|
||||
[(callseq_end imm:$amt)]>, Imp<[R1],[R1]>;
|
||||
|
||||
def UPDATE_VRSAVE : Pseudo<(ops GPRC:$rD, GPRC:$rS),
|
||||
"UPDATE_VRSAVE $rD, $rS", []>;
|
||||
|
Loading…
x
Reference in New Issue
Block a user