diff options
author | Dan Gohman <dan433584@gmail.com> | 2017-01-09 06:21:28 +0000 |
---|---|---|
committer | Dan Gohman <dan433584@gmail.com> | 2017-01-09 06:21:28 +0000 |
commit | 2aae5dc713c050599c24da260fbd44d5ebcc511a (patch) | |
tree | 5fc3a2b28e5172b118f28bd0dfdc9c8a8c0a4c62 /llvm | |
parent | cf7543c44b314224fc893ff339b8fdc44701df14 (diff) | |
download | bcm5719-llvm-2aae5dc713c050599c24da260fbd44d5ebcc511a.tar.gz bcm5719-llvm-2aae5dc713c050599c24da260fbd44d5ebcc511a.zip |
[WebAssembly] Fix the opcode values for i64.eq and i64.ne.
llvm-svn: 291424
Diffstat (limited to 'llvm')
-rw-r--r-- | llvm/lib/Target/WebAssembly/WebAssemblyInstrInteger.td | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/WebAssembly/WebAssemblyInstrInteger.td b/llvm/lib/Target/WebAssembly/WebAssemblyInstrInteger.td index 8a3248ee669..e872dc21984 100644 --- a/llvm/lib/Target/WebAssembly/WebAssemblyInstrInteger.td +++ b/llvm/lib/Target/WebAssembly/WebAssemblyInstrInteger.td @@ -40,8 +40,8 @@ defm ROTL : BinaryInt<rotl, "rotl", 0x77, 0x89>; defm ROTR : BinaryInt<rotr, "rotr", 0x78, 0x8a>; let isCommutable = 1 in { -defm EQ : ComparisonInt<SETEQ, "eq ", 0x46, 0x68>; -defm NE : ComparisonInt<SETNE, "ne ", 0x47, 0x69>; +defm EQ : ComparisonInt<SETEQ, "eq ", 0x46, 0x51>; +defm NE : ComparisonInt<SETNE, "ne ", 0x47, 0x52>; } // isCommutable = 1 defm LT_S : ComparisonInt<SETLT, "lt_s", 0x48, 0x53>; defm LT_U : ComparisonInt<SETULT, "lt_u", 0x49, 0x54>; |