summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/WebAssembly/fp64.ll
diff options
context:
space:
mode:
authorDan Gohman <dan433584@gmail.com>2015-09-26 01:09:44 +0000
committerDan Gohman <dan433584@gmail.com>2015-09-26 01:09:44 +0000
commitd0bf981296b8d57b95f8d0c9680925612b7373a2 (patch)
tree49a19b4fdeb0c1cb990b9f65fdb8680004fd255d /llvm/test/CodeGen/WebAssembly/fp64.ll
parent6993ba4d3ec432b661b99111d2bf55da6379e3d5 (diff)
downloadbcm5719-llvm-d0bf981296b8d57b95f8d0c9680925612b7373a2.tar.gz
bcm5719-llvm-d0bf981296b8d57b95f8d0c9680925612b7373a2.zip
[WebAssembly] Rename several functions and types according to the new spec.
llvm-svn: 248644
Diffstat (limited to 'llvm/test/CodeGen/WebAssembly/fp64.ll')
-rw-r--r--llvm/test/CodeGen/WebAssembly/fp64.ll12
1 files changed, 6 insertions, 6 deletions
diff --git a/llvm/test/CodeGen/WebAssembly/fp64.ll b/llvm/test/CodeGen/WebAssembly/fp64.ll
index af4d945c4bc..cbe1ed4434c 100644
--- a/llvm/test/CodeGen/WebAssembly/fp64.ll
+++ b/llvm/test/CodeGen/WebAssembly/fp64.ll
@@ -95,16 +95,16 @@ define double @trunc64(double %x) {
ret double %a
}
-; CHECK-LABEL: (func $nearestint64
-; CHECK: (setlocal @1 (nearestint @0))
-define double @nearestint64(double %x) {
+; CHECK-LABEL: (func $nearest64
+; CHECK: (setlocal @1 (nearest @0))
+define double @nearest64(double %x) {
%a = call double @llvm.nearbyint.f64(double %x)
ret double %a
}
-; CHECK-LABEL: (func $nearestint64_via_rint
-; CHECK: (setlocal @1 (nearestint @0))
-define double @nearestint64_via_rint(double %x) {
+; CHECK-LABEL: (func $nearest64_via_rint
+; CHECK: (setlocal @1 (nearest @0))
+define double @nearest64_via_rint(double %x) {
%a = call double @llvm.rint.f64(double %x)
ret double %a
}
OpenPOWER on IntegriCloud