diff options
author | Dan Gohman <dan433584@gmail.com> | 2015-12-04 17:19:44 +0000 |
---|---|---|
committer | Dan Gohman <dan433584@gmail.com> | 2015-12-04 17:19:44 +0000 |
commit | 541841e3655803c1356cbd82b78aae15e494551d (patch) | |
tree | e96eb7442f93033708decf15e8a11ae812a4d4e0 | |
parent | a3f5ce5f1b7a7f68596aefe60a6eed09f1c45885 (diff) | |
download | bcm5719-llvm-541841e3655803c1356cbd82b78aae15e494551d.tar.gz bcm5719-llvm-541841e3655803c1356cbd82b78aae15e494551d.zip |
[WebAssembly] Give names to the callseq begin and end instructions.
llvm-svn: 254730
-rw-r--r-- | llvm/lib/Target/WebAssembly/WebAssemblyInstrCall.td | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/lib/Target/WebAssembly/WebAssemblyInstrCall.td b/llvm/lib/Target/WebAssembly/WebAssemblyInstrCall.td index 4028460bd23..018d26cfacd 100644 --- a/llvm/lib/Target/WebAssembly/WebAssemblyInstrCall.td +++ b/llvm/lib/Target/WebAssembly/WebAssemblyInstrCall.td @@ -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> { |