[WebAssembly] Give names to the callseq begin and end instructions.
authorDan Gohman <dan433584@gmail.com>
Fri, 4 Dec 2015 17:19:44 +0000 (17:19 +0000)
committerDan Gohman <dan433584@gmail.com>
Fri, 4 Dec 2015 17:19:44 +0000 (17:19 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@254730 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/WebAssembly/WebAssemblyInstrCall.td

index 4028460bd231c724aac084eecaa7b6c588f48b02..018d26cfacda1a73582e0b647b88304e67e7510a 100644 (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> {