[llvm] r253931 - [WebAssembly] Don't print the types of memory_size and grow_memory

Dan Gohman via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 23 14:37:29 PST 2015


Author: djg
Date: Mon Nov 23 16:37:29 2015
New Revision: 253931

URL: http://llvm.org/viewvc/llvm-project?rev=253931&view=rev
Log:
[WebAssembly] Don't print the types of memory_size and grow_memory

This matches the current spec, for now.

Modified:
    llvm/trunk/lib/Target/WebAssembly/WebAssemblyInstrMemory.td

Modified: llvm/trunk/lib/Target/WebAssembly/WebAssemblyInstrMemory.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/WebAssembly/WebAssemblyInstrMemory.td?rev=253931&r1=253930&r2=253931&view=diff
==============================================================================
--- llvm/trunk/lib/Target/WebAssembly/WebAssemblyInstrMemory.td (original)
+++ llvm/trunk/lib/Target/WebAssembly/WebAssemblyInstrMemory.td Mon Nov 23 16:37:29 2015
@@ -121,19 +121,19 @@ def : Pat<(truncstorei32 I64:$val, I32:$
 // Memory size.
 def MEMORY_SIZE_I32 : I<(outs I32:$dst), (ins),
                         [(set I32:$dst, (int_wasm_memory_size))],
-                        "i32.memory_size\t$dst">,
+                        "memory_size\t$dst">,
                       Requires<[HasAddr32]>;
 def MEMORY_SIZE_I64 : I<(outs I64:$dst), (ins),
                         [(set I64:$dst, (int_wasm_memory_size))],
-                        "i64.memory_size\t$dst">,
+                        "memory_size\t$dst">,
                       Requires<[HasAddr64]>;
 
 // Grow memory.
 def GROW_MEMORY_I32 : I<(outs), (ins I32:$delta),
                         [(int_wasm_grow_memory I32:$delta)],
-                        "i32.grow_memory\t$delta">,
+                        "grow_memory\t$delta">,
                       Requires<[HasAddr32]>;
 def GROW_MEMORY_I64 : I<(outs), (ins I64:$delta),
                         [(int_wasm_grow_memory I64:$delta)],
-                        "i64.grow_memory\t$delta">,
+                        "grow_memory\t$delta">,
                       Requires<[HasAddr64]>;




More information about the llvm-commits mailing list