[llvm] r297420 - [WebAssembly] Fix the opcode numbers for floating-point le and gt.
Dan Gohman via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 9 15:08:21 PST 2017
Author: djg
Date: Thu Mar 9 17:08:21 2017
New Revision: 297420
URL: http://llvm.org/viewvc/llvm-project?rev=297420&view=rev
Log:
[WebAssembly] Fix the opcode numbers for floating-point le and gt.
Modified:
llvm/trunk/lib/Target/WebAssembly/WebAssemblyInstrFloat.td
Modified: llvm/trunk/lib/Target/WebAssembly/WebAssemblyInstrFloat.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/WebAssembly/WebAssemblyInstrFloat.td?rev=297420&r1=297419&r2=297420&view=diff
==============================================================================
--- llvm/trunk/lib/Target/WebAssembly/WebAssemblyInstrFloat.td (original)
+++ llvm/trunk/lib/Target/WebAssembly/WebAssemblyInstrFloat.td Thu Mar 9 17:08:21 2017
@@ -55,8 +55,8 @@ defm EQ : ComparisonFP<SETOEQ, "eq ", 0
defm NE : ComparisonFP<SETUNE, "ne ", 0x5c, 0x62>;
} // isCommutable = 1
defm LT : ComparisonFP<SETOLT, "lt ", 0x5d, 0x63>;
-defm LE : ComparisonFP<SETOLE, "le ", 0x5e, 0x64>;
-defm GT : ComparisonFP<SETOGT, "gt ", 0x5f, 0x65>;
+defm LE : ComparisonFP<SETOLE, "le ", 0x5f, 0x65>;
+defm GT : ComparisonFP<SETOGT, "gt ", 0x5e, 0x64>;
defm GE : ComparisonFP<SETOGE, "ge ", 0x60, 0x66>;
} // Defs = [ARGUMENTS]
More information about the llvm-commits
mailing list