[llvm] [LV][NFC] Add early bail-out in setCostBasedWideningDecision (PR #230414)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 9 04:15:44 PDT 2026


================
@@ -53,7 +53,6 @@ define void @interleaved_load(ptr noalias readonly %src, ptr noalias %dst, i64 %
 ; FIXED:  LV: Memory widening: InterleaveCost = 2, GatherScatterCost = Invalid, ScalarizationCost = 32
 ; FIXED:  LV: Setting widening decision to Interleave for VF 4 and instruction: %load.0 = load i16, ptr %gep.0, align 2
 ; FIXED:  LV: Setting widening decision to Interleave for VF 4 and instruction: %load.1 = load i16, ptr %gep.1, align 2
-; FIXED:  LV: Memory widening: calculating best strategy for %load.1 = load i16, ptr %gep.1, align 2
----------------
fhahn wrote:

as is the new test will pass with and without the code fix. Ideally the check lines would either `CHECK-NEXT` or `CHECK-NOT` for the duplicated output

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


More information about the llvm-commits mailing list