Skip to content

Commit b25de79

Browse files
committed
!fixup add/adjust comments, thanks!
1 parent f861869 commit b25de79

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

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

37093710
#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
@@ -2137,7 +2137,7 @@ void VPlanTransforms::materializeBroadcasts(VPlan &Plan) {
21372137
continue;
21382138

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

0 commit comments

Comments
 (0)