Skip to content

Commit b48d918

Browse files
fixup! add comment to test
1 parent 296dee6 commit b48d918

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

llvm/test/CodeGen/RISCV/rvv/vlopt-same-vl.ll

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,13 @@
33

44
; REQUIRES: asserts
55

6+
; GitHub Issue #123862 provided a case where the riscv-vl-optimizer pass was
7+
; very slow. It was found that that case benefited greatly from aborting due
8+
; to CommonVL == VLOp. Adding the case provided in the issue would show up
9+
; as a long running test instead of a test failure. We would likley have a hard
10+
; time figuring if that case had a regression. So instead, we check this output
11+
; which was responsible for speeding it up.
12+
613
define <vscale x 4 x i32> @same_vl_imm(<vscale x 4 x i32> %passthru, <vscale x 4 x i32> %a, <vscale x 4 x i32> %b) {
714
; CHECK: User VL is: 4
815
; CHECK-NEXT: Abort due to CommonVL == VLOp, no point in reducing.

0 commit comments

Comments
 (0)