Skip to content

Commit f66a940

Browse files
committed
Update comment
1 parent 28162b8 commit f66a940

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1119,8 +1119,9 @@ static void simplifyRecipe(VPRecipeBase &R, VPTypeAnalysis &TypeInfo) {
11191119
return;
11201120
}
11211121

1122-
// Reassociate (x & y) & z -> x & (y & z) if x has multiple users. With tail
1123-
// folding it is likely that x is a header mask and can be simplified further.
1122+
// Reassociate (x && y) && z -> x && (y && z) if x has multiple users. With
1123+
// tail folding it is likely that x is a header mask and can be simplified
1124+
// further.
11241125
if (match(Def, m_LogicalAnd(m_LogicalAnd(m_VPValue(X), m_VPValue(Y)),
11251126
m_VPValue(Z))) &&
11261127
X->hasMoreThanOneUniqueUser())

0 commit comments

Comments
 (0)