Skip to content
This repository was archived by the owner on Feb 5, 2019. It is now read-only.

Commit 46c9cc3

Browse files
Dan Gohmanalexcrichton
Dan Gohman
authored andcommitted
[WebAssembly] Fix the opcode number for i64.load16_u.
Fixes PR37488. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@332561 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent ff78b27 commit 46c9cc3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Target/WebAssembly/WebAssemblyInstrMemory.td

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ def LOAD16_U_I32 : WebAssemblyLoad<I32, "i32.load16_u", 0x2f>;
151151
def LOAD8_S_I64 : WebAssemblyLoad<I64, "i64.load8_s", 0x30>;
152152
def LOAD8_U_I64 : WebAssemblyLoad<I64, "i64.load8_u", 0x31>;
153153
def LOAD16_S_I64 : WebAssemblyLoad<I64, "i64.load16_s", 0x32>;
154-
def LOAD16_U_I64 : WebAssemblyLoad<I64, "i64.load16_u", 0x32>;
154+
def LOAD16_U_I64 : WebAssemblyLoad<I64, "i64.load16_u", 0x33>;
155155
def LOAD32_S_I64 : WebAssemblyLoad<I64, "i64.load32_s", 0x34>;
156156
def LOAD32_U_I64 : WebAssemblyLoad<I64, "i64.load32_u", 0x35>;
157157

0 commit comments

Comments
 (0)