Skip to content

Commit deb40a2

Browse files
committed
[RISCV] Add missing CHECK prefix to fixed-vectors-vfw-web-simplification.ll. NFC
The FOLDING prefix was ambiguous on one of the test cases. It would be nice if the update script reported this.
1 parent 8c7188a commit deb40a2

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vfw-web-simplification.ll

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
22
; RUN: llc -mtriple=riscv64 -mattr=+v,+zfh,+zvfh,+f,+d -verify-machineinstrs %s -o - --riscv-lower-ext-max-web-size=1 | FileCheck %s --check-prefixes=NO_FOLDING
33
; RUN: llc -mtriple=riscv64 -mattr=+v,+zfh,+zvfh,+f,+d -verify-machineinstrs %s -o - --riscv-lower-ext-max-web-size=2 | FileCheck %s --check-prefixes=NO_FOLDING
4-
; RUN: llc -mtriple=riscv64 -mattr=+v,+zfh,+zvfh,+f,+d -verify-machineinstrs %s -o - --riscv-lower-ext-max-web-size=3 | FileCheck %s --check-prefixes=FOLDING
4+
; RUN: llc -mtriple=riscv64 -mattr=+v,+zfh,+zvfh,+f,+d -verify-machineinstrs %s -o - --riscv-lower-ext-max-web-size=3 | FileCheck %s --check-prefixes=FOLDING,ZVFH
55
; RUN: llc -mtriple=riscv64 -mattr=+v,+zfh,+zvfhmin,+f,+d -verify-machineinstrs %s -o - --riscv-lower-ext-max-web-size=3 | FileCheck %s --check-prefixes=FOLDING,ZVFHMIN
66
; Check that the default value enables the web folding and
77
; that it is bigger than 3.
@@ -23,6 +23,17 @@ define void @vfwmul_v2f116_multiple_users(ptr %x, ptr %y, ptr %z, <2 x half> %a,
2323
; NO_FOLDING-NEXT: vse32.v v8, (a2)
2424
; NO_FOLDING-NEXT: ret
2525
;
26+
; ZVFH-LABEL: vfwmul_v2f116_multiple_users:
27+
; ZVFH: # %bb.0:
28+
; ZVFH-NEXT: vsetivli zero, 2, e16, mf4, ta, ma
29+
; ZVFH-NEXT: vfwmul.vv v11, v8, v9
30+
; ZVFH-NEXT: vfwadd.vv v12, v8, v10
31+
; ZVFH-NEXT: vfwsub.vv v8, v9, v10
32+
; ZVFH-NEXT: vse32.v v11, (a0)
33+
; ZVFH-NEXT: vse32.v v12, (a1)
34+
; ZVFH-NEXT: vse32.v v8, (a2)
35+
; ZVFH-NEXT: ret
36+
;
2637
; ZVFHMIN-LABEL: vfwmul_v2f116_multiple_users:
2738
; ZVFHMIN: # %bb.0:
2839
; ZVFHMIN-NEXT: vsetivli zero, 2, e16, mf4, ta, ma

0 commit comments

Comments
 (0)