]> granicus.if.org Git - llvm/commitdiff
[WebAssembly] Fix the opcode numbers for floating-point le and gt.
authorDan Gohman <dan433584@gmail.com>
Thu, 9 Mar 2017 23:08:21 +0000 (23:08 +0000)
committerDan Gohman <dan433584@gmail.com>
Thu, 9 Mar 2017 23:08:21 +0000 (23:08 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@297420 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/WebAssembly/WebAssemblyInstrFloat.td

index 030be0862a5663224463b9dcfeded03b06a1f2af..03c9c1f8d5c022924611aa4a677197b54d760921 100644 (file)
@@ -55,8 +55,8 @@ defm EQ : ComparisonFP<SETOEQ, "eq  ", 0x5b, 0x61>;
 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]