forked from OSchip/llvm-project
[WebAssembly] Give names to the callseq begin and end instructions.
llvm-svn: 254730
This commit is contained in:
parent
a3f5ce5f1b
commit
541841e365
|
@ -17,10 +17,10 @@ let Defs = [ARGUMENTS] in {
|
|||
// The call sequence start/end LLVM-isms isn't useful to WebAssembly since it's
|
||||
// a virtual ISA.
|
||||
let isCodeGenOnly = 1 in {
|
||||
def : I<(outs), (ins i64imm:$amt),
|
||||
[(WebAssemblycallseq_start timm:$amt)]>;
|
||||
def : I<(outs), (ins i64imm:$amt1, i64imm:$amt2),
|
||||
[(WebAssemblycallseq_end timm:$amt1, timm:$amt2)]>;
|
||||
def ADJCALLSTACKDOWN : I<(outs), (ins i64imm:$amt),
|
||||
[(WebAssemblycallseq_start timm:$amt)]>;
|
||||
def ADJCALLSTACKUP : I<(outs), (ins i64imm:$amt1, i64imm:$amt2),
|
||||
[(WebAssemblycallseq_end timm:$amt1, timm:$amt2)]>;
|
||||
} // isCodeGenOnly = 1
|
||||
|
||||
multiclass CALL<WebAssemblyRegClass vt> {
|
||||
|
|
Loading…
Reference in New Issue