Skip to content

Commit b7c270e

Browse files
committed
[VPlan/PM] Improve comment
1 parent 325ea8c commit b7c270e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/lib/Transforms/Vectorize/VPlanPatternMatch.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,8 +155,8 @@ struct is_one {
155155

156156
/// Match an integer 0 or a vector with all elements equal to 0.
157157
/// For vectors, this includes constants with undefined elements.
158-
/// The reason for not naming this m_Zero() is because PatternMatch::m_Zero()
159-
/// also matches null constants.
158+
/// This is different from PatternMatch::m_Zero(), which also matches null
159+
/// constants.
160160
inline int_pred_ty<is_zero_int> m_ZeroInt() {
161161
return int_pred_ty<is_zero_int>();
162162
}

0 commit comments

Comments
 (0)