summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/WebAssembly/WebAssemblyInstrMemory.td
diff options
context:
space:
mode:
authorHeejin Ahn <aheejin@gmail.com>2018-08-22 00:33:34 +0000
committerHeejin Ahn <aheejin@gmail.com>2018-08-22 00:33:34 +0000
commit684325955c6baa2e9c31e294b7b246664e455a4f (patch)
treefe8515a1f8fd11b5f8c9e795ce40c5c2af80a092 /llvm/lib/Target/WebAssembly/WebAssemblyInstrMemory.td
parentc4df1d182c13c0665868e39aa7ee1e967368db40 (diff)
downloadbcm5719-llvm-684325955c6baa2e9c31e294b7b246664e455a4f.tar.gz
bcm5719-llvm-684325955c6baa2e9c31e294b7b246664e455a4f.zip
[WebAssembly] Fix typos in mem.grow/memory.grow opcodes
This should be not 0x3f but 0x40. llvm-svn: 340373
Diffstat (limited to 'llvm/lib/Target/WebAssembly/WebAssemblyInstrMemory.td')
-rw-r--r--llvm/lib/Target/WebAssembly/WebAssemblyInstrMemory.td4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/WebAssembly/WebAssemblyInstrMemory.td b/llvm/lib/Target/WebAssembly/WebAssemblyInstrMemory.td
index 8a49325af2b..fd574640a1a 100644
--- a/llvm/lib/Target/WebAssembly/WebAssemblyInstrMemory.td
+++ b/llvm/lib/Target/WebAssembly/WebAssemblyInstrMemory.td
@@ -475,14 +475,14 @@ defm MEMORY_GROW_I32 : I<(outs I32:$dst), (ins i32imm:$flags, I32:$delta),
(int_wasm_memory_grow (i32 imm:$flags),
I32:$delta))],
"memory.grow\t$dst, $flags, $delta",
- "memory.grow\t$flags, $delta", 0x3f>,
+ "memory.grow\t$flags, $delta", 0x40>,
Requires<[HasAddr32]>;
defm MEM_GROW_I32 : I<(outs I32:$dst), (ins i32imm:$flags, I32:$delta),
(outs), (ins i32imm:$flags),
[(set I32:$dst,
(int_wasm_mem_grow (i32 imm:$flags), I32:$delta))],
"mem.grow\t$dst, $flags, $delta", "mem.grow\t$flags",
- 0x3f>,
+ 0x40>,
Requires<[HasAddr32]>;
defm GROW_MEMORY_I32 : I<(outs I32:$dst), (ins i32imm:$flags, I32:$delta),
(outs), (ins i32imm:$flags),
OpenPOWER on IntegriCloud