Skip to content

Commit a6fa1bf

Browse files
committed
[VPlan] Clarify leaf nodes in hdr comment
1 parent 1321e48 commit a6fa1bf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

llvm/lib/Transforms/Vectorize/VPlanUtils.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@ bool onlyScalarValuesUsed(const VPValue *Def);
3030

3131
/// Digs through a chain of recipes starting from \p Root, skipping widening
3232
/// decisions, and determines if the final leaves use only scalar values of \p
33-
/// Root.
33+
/// Root. Leaf nodes are WidenStores whose operand isn't single-scalar, or
34+
/// non-widen recipes that don't use scalar values of the operand.
3435
bool chainUsesScalarValues(const VPValue *Root);
3536

3637
/// Get or create a VPValue that corresponds to the expansion of \p Expr. If \p

0 commit comments

Comments
 (0)