summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/WebAssembly/WebAssemblyInstrFloat.td
diff options
context:
space:
mode:
authorDan Gohman <dan433584@gmail.com>2017-03-09 23:08:21 +0000
committerDan Gohman <dan433584@gmail.com>2017-03-09 23:08:21 +0000
commit3a74cfec20690229941b3a34de982795942c2331 (patch)
tree9a638beb7b6a863696c34d48dc631d971eb7856e /llvm/lib/Target/WebAssembly/WebAssemblyInstrFloat.td
parente7d102cf02639f15f5515ff8fe6315bc31adafcf (diff)
downloadbcm5719-llvm-3a74cfec20690229941b3a34de982795942c2331.tar.gz
bcm5719-llvm-3a74cfec20690229941b3a34de982795942c2331.zip
[WebAssembly] Fix the opcode numbers for floating-point le and gt.
llvm-svn: 297420
Diffstat (limited to 'llvm/lib/Target/WebAssembly/WebAssemblyInstrFloat.td')
-rw-r--r--llvm/lib/Target/WebAssembly/WebAssemblyInstrFloat.td4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/WebAssembly/WebAssemblyInstrFloat.td b/llvm/lib/Target/WebAssembly/WebAssemblyInstrFloat.td
index 030be0862a5..03c9c1f8d5c 100644
--- a/llvm/lib/Target/WebAssembly/WebAssemblyInstrFloat.td
+++ b/llvm/lib/Target/WebAssembly/WebAssemblyInstrFloat.td
@@ -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]
OpenPOWER on IntegriCloud