[llvm] r291424 - [WebAssembly] Fix the opcode values for i64.eq and i64.ne.

Dan Gohman via llvm-commits llvm-commits at lists.llvm.org
Sun Jan 8 22:21:29 PST 2017


Author: djg
Date: Mon Jan  9 00:21:28 2017
New Revision: 291424

URL: http://llvm.org/viewvc/llvm-project?rev=291424&view=rev
Log:
[WebAssembly] Fix the opcode values for i64.eq and i64.ne.

Modified:
    llvm/trunk/lib/Target/WebAssembly/WebAssemblyInstrInteger.td

Modified: llvm/trunk/lib/Target/WebAssembly/WebAssemblyInstrInteger.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/WebAssembly/WebAssemblyInstrInteger.td?rev=291424&r1=291423&r2=291424&view=diff
==============================================================================
--- llvm/trunk/lib/Target/WebAssembly/WebAssemblyInstrInteger.td (original)
+++ llvm/trunk/lib/Target/WebAssembly/WebAssemblyInstrInteger.td Mon Jan  9 00:21:28 2017
@@ -40,8 +40,8 @@ defm ROTL : BinaryInt<rotl, "rotl", 0x77
 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>;




More information about the llvm-commits mailing list