[llvm] [VPlan] Add specialized VPValue subclasses for different types (NFC) (PR #172758)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 8 14:26:00 PST 2026
================
@@ -7422,11 +7422,12 @@ DenseMap<const SCEV *, Value *> LoopVectorizationPlanner::executePlan(
// making any changes to the CFG.
DenseMap<const SCEV *, Value *> ExpandedSCEVs =
VPlanTransforms::expandSCEVs(BestVPlan, *PSE.getSE());
- if (!ILV.getTripCount())
+ if (!ILV.getTripCount()) {
ILV.setTripCount(BestVPlan.getTripCount()->getLiveInIRValue());
- else
+ } else {
assert(VectorizingEpilogue && "should only re-use the existing trip "
"count during epilogue vectorization");
+ }
----------------
fhahn wrote:
Ah sorry, it looks like that got re-added back, is unrelated now, but brings code in line with coding standard.
https://github.com/llvm/llvm-project/pull/172758
More information about the llvm-commits
mailing list