[llvm] [VPlan] Set debug location for VPReduction/VPWidenPHI/VPWidenIntrinsicRecipe. (PR #120054)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 16 02:30:50 PST 2024


================
@@ -0,0 +1,33 @@
+; RUN: opt < %s -passes=debugify,loop-vectorize -force-vector-interleave=1 -force-vector-width=4 -prefer-inloop-reductions -S | FileCheck %s -check-prefix DEBUGLOC
----------------
fhahn wrote:

> I think the new added llvm/test/Transforms/LoopVectorize/RISCV/preserve-dbg-loc.ll contains test case for VPWidenIntrinsicRecipe (vp.select).

Yes but we should have a target-indepdent test if possible.

>Perhaps rename this test case to preserve-dbg-loc-reduction-inloop.ll?

Sounds good to me, thanks


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


More information about the llvm-commits mailing list