[WebAssembly] Give names to the callseq begin and end instructions.

llvm-svn: 254730
This commit is contained in:
Dan Gohman 2015-12-04 17:19:44 +00:00
parent a3f5ce5f1b
commit 541841e365
1 changed files with 4 additions and 4 deletions

View File

@ -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> {