diff options
| author | Dan Gohman <dan433584@gmail.com> | 2015-11-23 22:37:29 +0000 |
|---|---|---|
| committer | Dan Gohman <dan433584@gmail.com> | 2015-11-23 22:37:29 +0000 |
| commit | 192dddc59531bbd6b09f122ac6f1c4ed36ea7ed1 (patch) | |
| tree | 748e0f707fca7b452e22b97f8d9dd767eb2fdae9 | |
| parent | c667683d2e0d778a03a40ccf08968cf11436f2e2 (diff) | |
| download | bcm5719-llvm-192dddc59531bbd6b09f122ac6f1c4ed36ea7ed1.tar.gz bcm5719-llvm-192dddc59531bbd6b09f122ac6f1c4ed36ea7ed1.zip | |
[WebAssembly] Don't print the types of memory_size and grow_memory
This matches the current spec, for now.
llvm-svn: 253931
| -rw-r--r-- | llvm/lib/Target/WebAssembly/WebAssemblyInstrMemory.td | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/lib/Target/WebAssembly/WebAssemblyInstrMemory.td b/llvm/lib/Target/WebAssembly/WebAssemblyInstrMemory.td index 847eeeabc8c..3b6c6cb933e 100644 --- a/llvm/lib/Target/WebAssembly/WebAssemblyInstrMemory.td +++ b/llvm/lib/Target/WebAssembly/WebAssemblyInstrMemory.td @@ -121,19 +121,19 @@ def : Pat<(truncstorei32 I64:$val, I32:$addr), // 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]>; |

