[llvm] 439de05 - [RISCV] Rename function name to start with prefix vpreduce for consistency. (NFC)

Jim Lin via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 25 18:44:25 PST 2025


Author: Jim Lin
Date: 2025-02-26T10:32:57+08:00
New Revision: 439de05848b22e76d4fb377ef28587b3eba2a4c5

URL: https://github.com/llvm/llvm-project/commit/439de05848b22e76d4fb377ef28587b3eba2a4c5
DIFF: https://github.com/llvm/llvm-project/commit/439de05848b22e76d4fb377ef28587b3eba2a4c5.diff

LOG: [RISCV] Rename function name to start with prefix vpreduce for consistency. (NFC)

Added: 
    

Modified: 
    llvm/test/CodeGen/RISCV/rvv/vreductions-fp-vp.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/CodeGen/RISCV/rvv/vreductions-fp-vp.ll b/llvm/test/CodeGen/RISCV/rvv/vreductions-fp-vp.ll
index b6cf9e1a9cb97..7608723aec76d 100644
--- a/llvm/test/CodeGen/RISCV/rvv/vreductions-fp-vp.ll
+++ b/llvm/test/CodeGen/RISCV/rvv/vreductions-fp-vp.ll
@@ -344,8 +344,8 @@ define double @vpreduce_ord_fadd_nxv4f64(double %s, <vscale x 4 x double> %v, <v
   ret double %r
 }
 
-define float @vreduce_fminimum_nxv4f32(float %start, <vscale x 4 x float> %val, <vscale x 4 x i1> %m, i32 zeroext %evl) {
-; CHECK-LABEL: vreduce_fminimum_nxv4f32:
+define float @vpreduce_fminimum_nxv4f32(float %start, <vscale x 4 x float> %val, <vscale x 4 x i1> %m, i32 zeroext %evl) {
+; CHECK-LABEL: vpreduce_fminimum_nxv4f32:
 ; CHECK:       # %bb.0:
 ; CHECK-NEXT:    vsetvli zero, a0, e32, m2, ta, ma
 ; CHECK-NEXT:    vmfne.vv v10, v8, v8, v0.t
@@ -369,8 +369,8 @@ define float @vreduce_fminimum_nxv4f32(float %start, <vscale x 4 x float> %val,
   ret float %s
 }
 
-define float @vreduce_fmaximum_nxv4f32(float %start, <vscale x 4 x float> %val, <vscale x 4 x i1> %m, i32 zeroext %evl) {
-; CHECK-LABEL: vreduce_fmaximum_nxv4f32:
+define float @vpreduce_fmaximum_nxv4f32(float %start, <vscale x 4 x float> %val, <vscale x 4 x i1> %m, i32 zeroext %evl) {
+; CHECK-LABEL: vpreduce_fmaximum_nxv4f32:
 ; CHECK:       # %bb.0:
 ; CHECK-NEXT:    vsetvli zero, a0, e32, m2, ta, ma
 ; CHECK-NEXT:    vmfne.vv v10, v8, v8, v0.t
@@ -394,8 +394,8 @@ define float @vreduce_fmaximum_nxv4f32(float %start, <vscale x 4 x float> %val,
   ret float %s
 }
 
-define float @vreduce_fminimum_nnan_nxv4f32(float %start, <vscale x 4 x float> %val, <vscale x 4 x i1> %m, i32 zeroext %evl) {
-; CHECK-LABEL: vreduce_fminimum_nnan_nxv4f32:
+define float @vpreduce_fminimum_nnan_nxv4f32(float %start, <vscale x 4 x float> %val, <vscale x 4 x i1> %m, i32 zeroext %evl) {
+; CHECK-LABEL: vpreduce_fminimum_nnan_nxv4f32:
 ; CHECK:       # %bb.0:
 ; CHECK-NEXT:    vsetivli zero, 1, e32, m1, ta, ma
 ; CHECK-NEXT:    vfmv.s.f v10, fa0
@@ -407,8 +407,8 @@ define float @vreduce_fminimum_nnan_nxv4f32(float %start, <vscale x 4 x float> %
   ret float %s
 }
 
-define float @vreduce_fmaximum_nnan_nxv4f32(float %start, <vscale x 4 x float> %val, <vscale x 4 x i1> %m, i32 zeroext %evl) {
-; CHECK-LABEL: vreduce_fmaximum_nnan_nxv4f32:
+define float @vpreduce_fmaximum_nnan_nxv4f32(float %start, <vscale x 4 x float> %val, <vscale x 4 x i1> %m, i32 zeroext %evl) {
+; CHECK-LABEL: vpreduce_fmaximum_nnan_nxv4f32:
 ; CHECK:       # %bb.0:
 ; CHECK-NEXT:    vsetivli zero, 1, e32, m1, ta, ma
 ; CHECK-NEXT:    vfmv.s.f v10, fa0
@@ -420,8 +420,8 @@ define float @vreduce_fmaximum_nnan_nxv4f32(float %start, <vscale x 4 x float> %
   ret float %s
 }
 
-define float @vreduce_fminimum_v4f32(float %start, <4 x float> %val, <4 x i1> %m, i32 zeroext %evl) {
-; CHECK-LABEL: vreduce_fminimum_v4f32:
+define float @vpreduce_fminimum_v4f32(float %start, <4 x float> %val, <4 x i1> %m, i32 zeroext %evl) {
+; CHECK-LABEL: vpreduce_fminimum_v4f32:
 ; CHECK:       # %bb.0:
 ; CHECK-NEXT:    vsetvli zero, a0, e32, m1, ta, ma
 ; CHECK-NEXT:    vmfne.vv v9, v8, v8, v0.t
@@ -445,8 +445,8 @@ define float @vreduce_fminimum_v4f32(float %start, <4 x float> %val, <4 x i1> %m
   ret float %s
 }
 
-define float @vreduce_fmaximum_v4f32(float %start, <4 x float> %val, <4 x i1> %m, i32 zeroext %evl) {
-; CHECK-LABEL: vreduce_fmaximum_v4f32:
+define float @vpreduce_fmaximum_v4f32(float %start, <4 x float> %val, <4 x i1> %m, i32 zeroext %evl) {
+; CHECK-LABEL: vpreduce_fmaximum_v4f32:
 ; CHECK:       # %bb.0:
 ; CHECK-NEXT:    vsetvli zero, a0, e32, m1, ta, ma
 ; CHECK-NEXT:    vmfne.vv v9, v8, v8, v0.t


        


More information about the llvm-commits mailing list