summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/WebAssembly/fp32.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/fp32.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/fp32.ll')
-rw-r--r--llvm/test/CodeGen/WebAssembly/fp32.ll12
1 files changed, 6 insertions, 6 deletions
diff --git a/llvm/test/CodeGen/WebAssembly/fp32.ll b/llvm/test/CodeGen/WebAssembly/fp32.ll
index 754ff95155a..35f6c4207d7 100644
--- a/llvm/test/CodeGen/WebAssembly/fp32.ll
+++ b/llvm/test/CodeGen/WebAssembly/fp32.ll
@@ -95,16 +95,16 @@ define float @trunc32(float %x) {
ret float %a
}
-; CHECK-LABEL: (func $nearestint32
-; CHECK: (setlocal @1 (nearestint @0))
-define float @nearestint32(float %x) {
+; CHECK-LABEL: (func $nearest32
+; CHECK: (setlocal @1 (nearest @0))
+define float @nearest32(float %x) {
%a = call float @llvm.nearbyint.f32(float %x)
ret float %a
}
-; CHECK-LABEL: (func $nearestint32_via_rint
-; CHECK: (setlocal @1 (nearestint @0))
-define float @nearestint32_via_rint(float %x) {
+; CHECK-LABEL: (func $nearest32_via_rint
+; CHECK: (setlocal @1 (nearest @0))
+define float @nearest32_via_rint(float %x) {
%a = call float @llvm.rint.f32(float %x)
ret float %a
}
OpenPOWER on IntegriCloud