[llvm] [LV] Update remaining tests to use VPlan cost output (NFC). (PR #190038)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 7 08:06:32 PDT 2026


================
@@ -84,22 +84,26 @@ define void @goo(ptr nocapture noundef %a, i32 noundef signext %n) {
 ; CHECK-SCALAR:      LV(REG): VF = 1
 ; CHECK-SCALAR-NEXT: LV(REG): Found max usage: 1 item
 ; CHECK-SCALAR-NEXT: LV(REG): RegisterClass: RISCV::GPRRC, 3 registers
-; CHECK-LMUL1:       LV(REG): VF = vscale x 2
+; CHECK-LMUL1-LABEL: goo
----------------
fhahn wrote:

Yep, I think the check patterns before were not really checking what they were supposed to and would break when the legacy cost model output would be removed

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


More information about the llvm-commits mailing list