mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-08 19:25:47 +00:00
adjcallstackup/down clobbers the stack pointer
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30909 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -205,10 +205,10 @@ class Pseudo<dag ops, string asmstr, list<dag> pattern>
|
|||||||
|
|
||||||
def ADJCALLSTACKDOWN : Pseudo<(ops i32imm:$amt),
|
def ADJCALLSTACKDOWN : Pseudo<(ops i32imm:$amt),
|
||||||
"!ADJCALLSTACKDOWN $amt",
|
"!ADJCALLSTACKDOWN $amt",
|
||||||
[(callseq_start imm:$amt)]>;
|
[(callseq_start imm:$amt)]>, Imp<[O6],[O6]>;
|
||||||
def ADJCALLSTACKUP : Pseudo<(ops i32imm:$amt),
|
def ADJCALLSTACKUP : Pseudo<(ops i32imm:$amt),
|
||||||
"!ADJCALLSTACKUP $amt",
|
"!ADJCALLSTACKUP $amt",
|
||||||
[(callseq_end imm:$amt)]>;
|
[(callseq_end imm:$amt)]>, Imp<[O6],[O6]>;
|
||||||
def IMPLICIT_DEF_Int : Pseudo<(ops IntRegs:$dst),
|
def IMPLICIT_DEF_Int : Pseudo<(ops IntRegs:$dst),
|
||||||
"!IMPLICIT_DEF $dst",
|
"!IMPLICIT_DEF $dst",
|
||||||
[(set IntRegs:$dst, (undef))]>;
|
[(set IntRegs:$dst, (undef))]>;
|
||||||
|
Reference in New Issue
Block a user