summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Gohman <dan433584@gmail.com>2018-05-17 00:14:13 +0000
committerDan Gohman <dan433584@gmail.com>2018-05-17 00:14:13 +0000
commitaef674102c3da5778ff88894ccd616160a19b607 (patch)
tree9f581fa0860904f9259086a4518e0673cf88572d
parent342273a13988b0ebe2428c041c14b86dedbfce4a (diff)
downloadbcm5719-llvm-aef674102c3da5778ff88894ccd616160a19b607.tar.gz
bcm5719-llvm-aef674102c3da5778ff88894ccd616160a19b607.zip
[WebAssembly] Fix the opcode number for i64.load16_u.
Fixes PR37488. llvm-svn: 332561
-rw-r--r--llvm/lib/Target/WebAssembly/WebAssemblyInstrMemory.td2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/WebAssembly/WebAssemblyInstrMemory.td b/llvm/lib/Target/WebAssembly/WebAssemblyInstrMemory.td
index 275c0ff57c5..9ef4083cda6 100644
--- a/llvm/lib/Target/WebAssembly/WebAssemblyInstrMemory.td
+++ b/llvm/lib/Target/WebAssembly/WebAssemblyInstrMemory.td
@@ -151,7 +151,7 @@ def LOAD16_U_I32 : WebAssemblyLoad<I32, "i32.load16_u", 0x2f>;
def LOAD8_S_I64 : WebAssemblyLoad<I64, "i64.load8_s", 0x30>;
def LOAD8_U_I64 : WebAssemblyLoad<I64, "i64.load8_u", 0x31>;
def LOAD16_S_I64 : WebAssemblyLoad<I64, "i64.load16_s", 0x32>;
-def LOAD16_U_I64 : WebAssemblyLoad<I64, "i64.load16_u", 0x32>;
+def LOAD16_U_I64 : WebAssemblyLoad<I64, "i64.load16_u", 0x33>;
def LOAD32_S_I64 : WebAssemblyLoad<I64, "i64.load32_s", 0x34>;
def LOAD32_U_I64 : WebAssemblyLoad<I64, "i64.load32_u", 0x35>;
OpenPOWER on IntegriCloud