[llvm] r290281 - [WebAssembly] Fix the opcode value for i64.rotr.

Dan Gohman via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 21 15:09:43 PST 2016


Author: djg
Date: Wed Dec 21 17:09:42 2016
New Revision: 290281

URL: http://llvm.org/viewvc/llvm-project?rev=290281&view=rev
Log:
[WebAssembly] Fix the opcode value for i64.rotr.

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=290281&r1=290280&r2=290281&view=diff
==============================================================================
--- llvm/trunk/lib/Target/WebAssembly/WebAssemblyInstrInteger.td (original)
+++ llvm/trunk/lib/Target/WebAssembly/WebAssemblyInstrInteger.td Wed Dec 21 17:09:42 2016
@@ -37,7 +37,7 @@ defm SHL : BinaryInt<shl, "shl ", 0x74,
 defm SHR_S : BinaryInt<sra, "shr_s", 0x75, 0x87>;
 defm SHR_U : BinaryInt<srl, "shr_u", 0x76, 0x88>;
 defm ROTL : BinaryInt<rotl, "rotl", 0x77, 0x89>;
-defm ROTR : BinaryInt<rotr, "rotr", 0x78, 0x90>;
+defm ROTR : BinaryInt<rotr, "rotr", 0x78, 0x8a>;
 
 let isCommutable = 1 in {
 defm EQ : ComparisonInt<SETEQ, "eq  ", 0x46, 0x68>;




More information about the llvm-commits mailing list