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 @@ -3704,6 +3704,7 @@ class VPlan {
3704
3704
// / Return the live-in VPValue for \p V, if there is one or nullptr otherwise.
3705
3705
VPValue *getLiveIn (Value *V) const { return Value2VPValue.lookup (V); }
3706
3706
3707
+ // / Return the list of live-in VPValues available in the VPlan.
3707
3708
ArrayRef<VPValue *> getLiveIns () const { return VPLiveInsToFree; }
3708
3709
3709
3710
#if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)
Original file line number Diff line number Diff line change @@ -2137,7 +2137,7 @@ void VPlanTransforms::materializeBroadcasts(VPlan &Plan) {
2137
2137
continue ;
2138
2138
2139
2139
// Add explicit broadcast if the vector preheader dominates all users.
2140
- // TODO: Find valid inert point for all users.
2140
+ // TODO: Find valid insert point for all users.
2141
2141
if (all_of (LiveIn->users (), [&VPDT, VectorPreheader](VPUser *U) {
2142
2142
return VectorPreheader != cast<VPRecipeBase>(U)->getParent () &&
2143
2143
VPDT.dominates (VectorPreheader,
You can’t perform that action at this time.
0 commit comments