[WebAssembly] Fix ADJCALLSTACKDOWN/UP use/defs
[oota-llvm.git] / lib / Target / WebAssembly / WebAssemblyInstrCall.td
index 0587c0b6613ed17d16b31cd457d7c664dae07052..6ea8cec73974e3f491b382a9858b043475e2aed8 100644 (file)
@@ -18,7 +18,7 @@ let Defs = [ARGUMENTS] in {
 
 // Call sequence markers. These have an immediate which represents the amount of
 // stack space to allocate or free, which is used for varargs lowering.
-let isCodeGenOnly = 1 in {
+let Uses = [SP32, SP64], Defs = [SP32, SP64], isCodeGenOnly = 1 in {
 def ADJCALLSTACKDOWN : I<(outs), (ins i32imm:$amt),
                          [(WebAssemblycallseq_start timm:$amt)]>;
 def ADJCALLSTACKUP : I<(outs), (ins i32imm:$amt),