Skip to content

Commit 873a22f

Browse files
committed
Refine the comments according to Florian's comment
1 parent d3d9b18 commit 873a22f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

llvm/lib/Transforms/Vectorize/LoopVectorize.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1486,7 +1486,8 @@ class LoopVectorizationCostModel {
14861486
return InLoopReductions.contains(Phi);
14871487
}
14881488

1489-
/// Returns true if the predicated reduction select should be used.
1489+
/// Returns true if the predicated reduction select should be used to set the
1490+
/// incoming value for the reduction phi.
14901491
bool usePredicatedReductionSelect(unsigned Opcode, Type *PhiTy) const {
14911492
// Force to use predicated reduction select since the EVL of the
14921493
// second-to-last iteration might not be VF*UF.

0 commit comments

Comments
 (0)