From: Heejin Ahn Date: Wed, 22 Aug 2018 00:33:34 +0000 (+0000) Subject: [WebAssembly] Fix typos in mem.grow/memory.grow opcodes X-Git-Tag: android-x86-9.0-r1~13972 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=2e85b37548ba326152c9caae10c69870336b29d3;p=android-x86%2Fexternal-llvm.git [WebAssembly] Fix typos in mem.grow/memory.grow opcodes This should be not 0x3f but 0x40. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@340373 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/WebAssembly/WebAssemblyInstrMemory.td b/lib/Target/WebAssembly/WebAssemblyInstrMemory.td index 8a49325af2b..fd574640a1a 100644 --- a/lib/Target/WebAssembly/WebAssemblyInstrMemory.td +++ b/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),