Skip to content

Commit e1bde1c

Browse files
committed
[SDAG] Fix a typo in comment
1 parent b7017ef commit e1bde1c

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
@@ -13297,7 +13297,7 @@ SDValue SelectionDAG::getNeutralElement(unsigned Opcode, const SDLoc &DL,
1329713297
case ISD::SMIN:
1329813298
return getConstant(APInt::getSignedMaxValue(VT.getSizeInBits()), DL, VT);
1329913299
case ISD::FADD:
13300-
// If flags allow, prefer positive zero single it's generally cheaper
13300+
// If flags allow, prefer positive zero since it's generally cheaper
1330113301
// to materialize on most targets.
1330213302
return getConstantFP(Flags.hasNoSignedZeros() ? 0.0 : -0.0, DL, VT);
1330313303
case ISD::FMUL:

0 commit comments

Comments
 (0)