Skip to content

Commit 4b0625f

Browse files
committed
[DAG] isNonZeroModBitWidthOrUndef - fix bugprone-argument-comment analyzer warning. NFC.
matchUnaryPredicate argument is AllowUndefs not AllowUndef
1 parent 3e7433d commit 4b0625f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8129,7 +8129,7 @@ static bool isNonZeroModBitWidthOrUndef(SDValue Z, unsigned BW) {
81298129
return ISD::matchUnaryPredicate(
81308130
Z,
81318131
[=](ConstantSDNode *C) { return !C || C->getAPIntValue().urem(BW) != 0; },
8132-
/*AllowUndef=*/true, /*AllowTruncation=*/true);
8132+
/*AllowUndefs=*/true, /*AllowTruncation=*/true);
81338133
}
81348134

81358135
static SDValue expandVPFunnelShift(SDNode *Node, SelectionDAG &DAG) {

0 commit comments

Comments
 (0)