Skip to content

Commit 740da00

Browse files
committed
[DAG] Fix static analyzer warning about mismatched argument comments in isConstOrConstSplat. NFC.
1 parent ed17bf1 commit 740da00

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7518,7 +7518,7 @@ SDValue DAGCombiner::visitAND(SDNode *N) {
75187518
// vector as a scalar and use the splat value.
75197519
APInt Constant = APInt::getZero(1);
75207520
if (const ConstantSDNode *C = isConstOrConstSplat(
7521-
N1, /*AllowUndef=*/false, /*AllowTruncation=*/true)) {
7521+
N1, /*AllowUndefs=*/false, /*AllowTruncation=*/true)) {
75227522
Constant = C->getAPIntValue();
75237523
} else if (BuildVectorSDNode *Vector = dyn_cast<BuildVectorSDNode>(N1)) {
75247524
unsigned EltBitWidth = Vector->getValueType(0).getScalarSizeInBits();

0 commit comments

Comments
 (0)