[llvm] [VPlan] Set debug location for VPReduction/VPWidenPHI/VPWidenIntrinsicRecipe. (PR #120054)
Elvis Wang via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 16 02:25:51 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
----------------
ElvisWang123 wrote:
I think the new added `llvm/test/Transforms/LoopVectorize/RISCV/preserve-dbg-loc.ll` contains test case for `VPWidenIntrinsicRecipe` (vp.select).
It's hard to generate in-loop reduction (VPReductionRecipe) without `-prefer-inloop-reductions`.
Perhaps rename this test case to `preserve-dbg-loc-reduction-inloop.ll`?
https://github.com/llvm/llvm-project/pull/120054
More information about the llvm-commits
mailing list