Skip to content

Commit bf540ce

Browse files
committed
[RISCV] Remove extraneous attribute groups from tests. NFC
1 parent 42bae9c commit bf540ce

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

llvm/test/Analysis/CostModel/RISCV/reduce-scalable-fp.ll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -463,7 +463,7 @@ define half @vreduce_fmin_nxv1f16(<vscale x 1 x half> %v) {
463463
ret half %red
464464
}
465465

466-
define half @vreduce_fmin_nxv1f16_nonans(<vscale x 1 x half> %v) #0 {
466+
define half @vreduce_fmin_nxv1f16_nonans(<vscale x 1 x half> %v) {
467467
; CHECK-LABEL: 'vreduce_fmin_nxv1f16_nonans'
468468
; CHECK-NEXT: Cost Model: Found an estimated cost of 3 for instruction: %red = call nnan half @llvm.vector.reduce.fmin.nxv1f16(<vscale x 1 x half> %v)
469469
; CHECK-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret half %red
@@ -721,7 +721,7 @@ define half @vreduce_fmax_nxv1f16(<vscale x 1 x half> %v) {
721721
ret half %red
722722
}
723723

724-
define half @vreduce_fmax_nxv1f16_nonans(<vscale x 1 x half> %v) #0 {
724+
define half @vreduce_fmax_nxv1f16_nonans(<vscale x 1 x half> %v) {
725725
; CHECK-LABEL: 'vreduce_fmax_nxv1f16_nonans'
726726
; CHECK-NEXT: Cost Model: Found an estimated cost of 3 for instruction: %red = call nnan half @llvm.vector.reduce.fmax.nxv1f16(<vscale x 1 x half> %v)
727727
; CHECK-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret half %red

llvm/test/Analysis/CostModel/RISCV/shuffle-broadcast.ll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
; RUN: opt < %s -passes="print<cost-model>" 2>&1 -disable-output -S -mtriple=riscv64 -mattr=+v,+f,+d,+zfh,+zvfh | FileCheck %s
33
; RUN: opt < %s -passes="print<cost-model>" -cost-kind=code-size 2>&1 -disable-output -S -mtriple=riscv64 -mattr=+v,+f,+d,+zfh,+zvfh | FileCheck %s --check-prefix=SIZE
44

5-
define void @broadcast_scalable() #0{
5+
define void @broadcast_scalable() {
66
; CHECK-LABEL: 'broadcast_scalable'
77
; CHECK-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %zero = shufflevector <vscale x 1 x half> undef, <vscale x 1 x half> undef, <vscale x 1 x i32> zeroinitializer
88
; CHECK-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %1 = shufflevector <vscale x 2 x half> undef, <vscale x 2 x half> undef, <vscale x 2 x i32> zeroinitializer
@@ -151,7 +151,7 @@ define void @broadcast_scalable() #0{
151151
ret void
152152
}
153153

154-
define void @broadcast_fixed() #0{
154+
define void @broadcast_fixed() {
155155
; CHECK-LABEL: 'broadcast_fixed'
156156
; CHECK-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %zero = shufflevector <2 x half> undef, <2 x half> undef, <2 x i32> zeroinitializer
157157
; CHECK-NEXT: Cost Model: Found an estimated cost of 1 for instruction: %1 = shufflevector <4 x half> undef, <4 x half> undef, <4 x i32> zeroinitializer

0 commit comments

Comments
 (0)