[llvm] [LV] Print more debug to account for mismatch in final costs (PR #227757)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 30 08:51:50 PDT 2026


================
@@ -20,6 +20,7 @@ target triple = "aarch64--linux-gnu"
 ;
 ; CHECK: Scalarizing and predicating: %tmp4 = udiv i32 %tmp2, %tmp3
 ; CHECK: Cost of 7 for VF 2: REPLICATE ir<%tmp4> = udiv ir<%tmp2>, ir<%tmp3> (S->V)
+; CHECK: Precomputed costs for VF 2: 4
----------------
fhahn wrote:

I thought we already print the precomputed costs for each recipe already, just before printing the costs for the recipes in the plan?

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


More information about the llvm-commits mailing list