[llvm] [RISCV][VLOPT] Compute demanded VLs up front (PR #124530)

Luke Lau via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 28 12:29:26 PST 2025


================
@@ -12,15 +12,15 @@
 
 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) {
   ; CHECK: User VL is: 4
-  ; CHECK-NEXT: Abort due to CommonVL == VLOp, no point in reducing.
+  ; CHECK: Abort due to CommonVL == VLOp, no point in reducing.
----------------
lukel97 wrote:

tryReduceVL is no longer called immediately after the checkUsers, so the CHECK-NEXT failed

https://github.com/llvm/llvm-project/pull/124530


More information about the llvm-commits mailing list