Skip to content

Commit f5ad37e

Browse files
committed
Refine the comments according to Florian's comment
1 parent 012079e commit f5ad37e

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
@@ -1484,7 +1484,8 @@ class LoopVectorizationCostModel {
14841484
return InLoopReductions.contains(Phi);
14851485
}
14861486

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

0 commit comments

Comments
 (0)