File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
llvm/lib/Transforms/Vectorize Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -3759,6 +3759,7 @@ class VPlan {
3759
3759
// / Return the live-in VPValue for \p V, if there is one or nullptr otherwise.
3760
3760
VPValue *getLiveIn (Value *V) const { return Value2VPValue.lookup (V); }
3761
3761
3762
+ // / Return the list of live-in VPValues available in the VPlan.
3762
3763
ArrayRef<VPValue *> getLiveIns () const { return VPLiveInsToFree; }
3763
3764
3764
3765
#if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)
Original file line number Diff line number Diff line change @@ -2170,7 +2170,7 @@ void VPlanTransforms::materializeBroadcasts(VPlan &Plan) {
2170
2170
continue ;
2171
2171
2172
2172
// Add explicit broadcast if the vector preheader dominates all users.
2173
- // TODO: Find valid inert point for all users.
2173
+ // TODO: Find valid insert point for all users.
2174
2174
if (all_of (LiveIn->users (), [&VPDT, VectorPreheader](VPUser *U) {
2175
2175
return VectorPreheader != cast<VPRecipeBase>(U)->getParent () &&
2176
2176
VPDT.dominates (VectorPreheader,
You can’t perform that action at this time.
0 commit comments