Skip to content

Commit 6f83b72

Browse files
committed
Add DemandedElts
1 parent 30e6ee0 commit 6f83b72

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5767,7 +5767,7 @@ bool SelectionDAG::isKnownNeverNaN(SDValue Op, const APInt &DemandedElts,
57675767
return true;
57685768
if (SNaN && (NoFPClass & fcSNan) == fcSNan)
57695769
return true;
5770-
return isKnownNeverNaN(Op.getOperand(0), SNaN, Depth + 1);
5770+
return isKnownNeverNaN(Op.getOperand(0), DemandedElts, SNaN, Depth + 1);
57715771
}
57725772
default:
57735773
if (Opcode >= ISD::BUILTIN_OP_END || Opcode == ISD::INTRINSIC_WO_CHAIN ||

0 commit comments

Comments
 (0)