Skip to content

Commit ad66ff7

Browse files
committed
!fixup add/adjust comments, thanks!
1 parent 92210ef commit ad66ff7

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
@@ -3759,6 +3759,7 @@ class VPlan {
37593759
/// Return the live-in VPValue for \p V, if there is one or nullptr otherwise.
37603760
VPValue *getLiveIn(Value *V) const { return Value2VPValue.lookup(V); }
37613761

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

37643765
#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
@@ -2170,7 +2170,7 @@ void VPlanTransforms::materializeBroadcasts(VPlan &Plan) {
21702170
continue;
21712171

21722172
// 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.
21742174
if (all_of(LiveIn->users(), [&VPDT, VectorPreheader](VPUser *U) {
21752175
return VectorPreheader != cast<VPRecipeBase>(U)->getParent() &&
21762176
VPDT.dominates(VectorPreheader,

0 commit comments

Comments
 (0)