summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorDan Gohman <dan433584@gmail.com>2015-10-09 17:50:00 +0000
committerDan Gohman <dan433584@gmail.com>2015-10-09 17:50:00 +0000
commitee1588ce9619de3cf0856696cd3156d0ce1d795c (patch)
tree1da32581671a287ca6815498367d4276c9d4b72a /llvm/lib
parent8c2abff17e8df7fb856324f0c52e1a6d7172ecc8 (diff)
downloadbcm5719-llvm-ee1588ce9619de3cf0856696cd3156d0ce1d795c.tar.gz
bcm5719-llvm-ee1588ce9619de3cf0856696cd3156d0ce1d795c.zip
[WebAssembly] Rename floating-point operators to match their spec names.
llvm-svn: 249859
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/WebAssembly/WebAssemblyInstrFloat.td12
1 files changed, 6 insertions, 6 deletions
diff --git a/llvm/lib/Target/WebAssembly/WebAssemblyInstrFloat.td b/llvm/lib/Target/WebAssembly/WebAssemblyInstrFloat.td
index 570bf50ccea..456b2f69eb1 100644
--- a/llvm/lib/Target/WebAssembly/WebAssemblyInstrFloat.td
+++ b/llvm/lib/Target/WebAssembly/WebAssemblyInstrFloat.td
@@ -12,14 +12,14 @@
///
//===----------------------------------------------------------------------===//
-defm FADD : BinaryFP<fadd>;
-defm FSUB : BinaryFP<fsub>;
-defm FMUL : BinaryFP<fmul>;
-defm FDIV : BinaryFP<fdiv>;
+defm ADD : BinaryFP<fadd>;
+defm SUB : BinaryFP<fsub>;
+defm MUL : BinaryFP<fmul>;
+defm DIV : BinaryFP<fdiv>;
defm SQRT : UnaryFP<fsqrt>;
-defm FABS : UnaryFP<fabs>;
-defm FNEG : UnaryFP<fneg>;
+defm ABS : UnaryFP<fabs>;
+defm NEG : UnaryFP<fneg>;
defm COPYSIGN : BinaryFP<fcopysign>;
defm CEIL : UnaryFP<fceil>;
OpenPOWER on IntegriCloud