[llvm] b75f3dd - [ARM] Use correct name of floating point ceil intrinsic in test.
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 20 17:30:47 PDT 2021
Author: Craig Topper
Date: 2021-10-20T17:30:26-07:00
New Revision: b75f3dd88e25d73e75981dda1ccfa36a9a7a54ce
URL: https://github.com/llvm/llvm-project/commit/b75f3dd88e25d73e75981dda1ccfa36a9a7a54ce
DIFF: https://github.com/llvm/llvm-project/commit/b75f3dd88e25d73e75981dda1ccfa36a9a7a54ce.diff
LOG: [ARM] Use correct name of floating point ceil intrinsic in test.
The intrinsic is called llvm.ceil not llvm.fceil. The checks weren't
strong enough to notice that a call to llvm.fceil was emitted in
the final assembly.
Added:
Modified:
llvm/test/CodeGen/ARM/vfloatintrinsics.ll
Removed:
################################################################################
diff --git a/llvm/test/CodeGen/ARM/vfloatintrinsics.ll b/llvm/test/CodeGen/ARM/vfloatintrinsics.ll
index d6dc3509be43f..028bb76c3d435 100644
--- a/llvm/test/CodeGen/ARM/vfloatintrinsics.ll
+++ b/llvm/test/CodeGen/ARM/vfloatintrinsics.ll
@@ -83,10 +83,10 @@ define %v2f32 @test_v2f32.floor(%v2f32 %a) {
%1 = call %v2f32 @llvm.floor.v2f32(%v2f32 %a)
ret %v2f32 %1
}
-; CHECK-LABEL: test_v2f32.fceil:{{.*}}
-define %v2f32 @test_v2f32.fceil(%v2f32 %a) {
- ; CHECK: ceil
- %1 = call %v2f32 @llvm.fceil.v2f32(%v2f32 %a)
+; CHECK-LABEL: test_v2f32.ceil:{{.*}}
+define %v2f32 @test_v2f32.ceil(%v2f32 %a) {
+ ; CHECK: _ceilf
+ %1 = call %v2f32 @llvm.ceil.v2f32(%v2f32 %a)
ret %v2f32 %1
}
; CHECK-LABEL: test_v2f32.trunc:{{.*}}
@@ -121,7 +121,7 @@ declare %v2f32 @llvm.log2.v2f32(%v2f32) #0
declare %v2f32 @llvm.fma.v2f32(%v2f32, %v2f32, %v2f32) #0
declare %v2f32 @llvm.fabs.v2f32(%v2f32) #0
declare %v2f32 @llvm.floor.v2f32(%v2f32) #0
-declare %v2f32 @llvm.fceil.v2f32(%v2f32) #0
+declare %v2f32 @llvm.ceil.v2f32(%v2f32) #0
declare %v2f32 @llvm.trunc.v2f32(%v2f32) #0
declare %v2f32 @llvm.rint.v2f32(%v2f32) #0
declare %v2f32 @llvm.nearbyint.v2f32(%v2f32) #0
@@ -207,10 +207,10 @@ define %v4f32 @test_v4f32.floor(%v4f32 %a) {
%1 = call %v4f32 @llvm.floor.v4f32(%v4f32 %a)
ret %v4f32 %1
}
-; CHECK-LABEL: test_v4f32.fceil:{{.*}}
-define %v4f32 @test_v4f32.fceil(%v4f32 %a) {
- ; CHECK: ceil
- %1 = call %v4f32 @llvm.fceil.v4f32(%v4f32 %a)
+; CHECK-LABEL: test_v4f32.ceil:{{.*}}
+define %v4f32 @test_v4f32.ceil(%v4f32 %a) {
+ ; CHECK: _ceil
+ %1 = call %v4f32 @llvm.ceil.v4f32(%v4f32 %a)
ret %v4f32 %1
}
; CHECK-LABEL: test_v4f32.trunc:{{.*}}
@@ -245,7 +245,7 @@ declare %v4f32 @llvm.log2.v4f32(%v4f32) #0
declare %v4f32 @llvm.fma.v4f32(%v4f32, %v4f32, %v4f32) #0
declare %v4f32 @llvm.fabs.v4f32(%v4f32) #0
declare %v4f32 @llvm.floor.v4f32(%v4f32) #0
-declare %v4f32 @llvm.fceil.v4f32(%v4f32) #0
+declare %v4f32 @llvm.ceil.v4f32(%v4f32) #0
declare %v4f32 @llvm.trunc.v4f32(%v4f32) #0
declare %v4f32 @llvm.rint.v4f32(%v4f32) #0
declare %v4f32 @llvm.nearbyint.v4f32(%v4f32) #0
@@ -332,10 +332,10 @@ define %v2f64 @test_v2f64.floor(%v2f64 %a) {
%1 = call %v2f64 @llvm.floor.v2f64(%v2f64 %a)
ret %v2f64 %1
}
-; CHECK-LABEL: test_v2f64.fceil:{{.*}}
-define %v2f64 @test_v2f64.fceil(%v2f64 %a) {
- ; CHECK: ceil
- %1 = call %v2f64 @llvm.fceil.v2f64(%v2f64 %a)
+; CHECK-LABEL: test_v2f64.ceil:{{.*}}
+define %v2f64 @test_v2f64.ceil(%v2f64 %a) {
+ ; CHECK: _ceil
+ %1 = call %v2f64 @llvm.ceil.v2f64(%v2f64 %a)
ret %v2f64 %1
}
; CHECK-LABEL: test_v2f64.trunc:{{.*}}
@@ -370,7 +370,7 @@ declare %v2f64 @llvm.log2.v2f64(%v2f64) #0
declare %v2f64 @llvm.fma.v2f64(%v2f64, %v2f64, %v2f64) #0
declare %v2f64 @llvm.fabs.v2f64(%v2f64) #0
declare %v2f64 @llvm.floor.v2f64(%v2f64) #0
-declare %v2f64 @llvm.fceil.v2f64(%v2f64) #0
+declare %v2f64 @llvm.ceil.v2f64(%v2f64) #0
declare %v2f64 @llvm.trunc.v2f64(%v2f64) #0
declare %v2f64 @llvm.rint.v2f64(%v2f64) #0
declare %v2f64 @llvm.nearbyint.v2f64(%v2f64) #0
More information about the llvm-commits
mailing list