mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-05 13:26:55 +00:00
Change CALLSEQ_BEGIN and CALLSEQ_END to take TargetConstant's as
parameters instead of raw Constants. This prevents the constants from being selected by the isel pass, fixing PR2735. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57385 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -151,10 +151,10 @@ def WTF : PseudoInstAlpha<(outs), (ins variable_ops), "#wtf", [], s_pseudo>;
|
||||
let hasCtrlDep = 1, Defs = [R30], Uses = [R30] in {
|
||||
def ADJUSTSTACKUP : PseudoInstAlpha<(outs), (ins s64imm:$amt),
|
||||
"; ADJUP $amt",
|
||||
[(callseq_start imm:$amt)], s_pseudo>;
|
||||
[(callseq_start timm:$amt)], s_pseudo>;
|
||||
def ADJUSTSTACKDOWN : PseudoInstAlpha<(outs), (ins s64imm:$amt1, s64imm:$amt2),
|
||||
"; ADJDOWN $amt1",
|
||||
[(callseq_end imm:$amt1, imm:$amt2)], s_pseudo>;
|
||||
[(callseq_end timm:$amt1, timm:$amt2)], s_pseudo>;
|
||||
}
|
||||
|
||||
def ALTENT : PseudoInstAlpha<(outs), (ins s64imm:$TARGET), "$$$TARGET..ng:\n", [], s_pseudo>;
|
||||
|
Reference in New Issue
Block a user