Skip to content

Commit d55e783

Browse files
committed
!fixup add/adjust comments, thanks!
1 parent 4cedafb commit d55e783

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

llvm/lib/Transforms/Vectorize/VPlan.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3769,6 +3769,7 @@ class VPlan {
37693769
/// Return the live-in VPValue for \p V, if there is one or nullptr otherwise.
37703770
VPValue *getLiveIn(Value *V) const { return Value2VPValue.lookup(V); }
37713771

3772+
/// Return the list of live-in VPValues available in the VPlan.
37723773
ArrayRef<VPValue *> getLiveIns() const { return VPLiveInsToFree; }
37733774

37743775
#if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)

llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2167,7 +2167,7 @@ void VPlanTransforms::materializeBroadcasts(VPlan &Plan) {
21672167
continue;
21682168

21692169
// Add explicit broadcast if the vector preheader dominates all users.
2170-
// TODO: Find valid inert point for all users.
2170+
// TODO: Find valid insert point for all users.
21712171
if (all_of(LiveIn->users(), [&VPDT, VectorPreheader](VPUser *U) {
21722172
return VectorPreheader != cast<VPRecipeBase>(U)->getParent() &&
21732173
VPDT.dominates(VectorPreheader,

0 commit comments

Comments
 (0)