Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
Co-authored-by: Matt Arsenault <arsenm2@gmail.com>
  • Loading branch information
workingjubilee and arsenm authored Oct 31, 2024
1 parent 8c2297d commit f4e8a10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llvm/lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1718,7 +1718,7 @@ void DAGTypeLegalizer::ExpandFloatRes_FCOPYSIGN(SDNode *N,

Hi = DAG.getNode(ISD::FCOPYSIGN, DL, Tmp.getValueType(), Tmp,
N->getOperand(1));
// a double-double is Hi + Lo, so if Hi flips sign, so must Lo
// A double-double is Hi + Lo, so if Hi flips sign, so must Lo
Lo = DAG.getSelectCC(DL, Tmp, Hi, Lo,
DAG.getNode(ISD::FNEG, DL, Lo.getValueType(), Lo),
ISD::SETUEQ);
Expand Down

0 comments on commit f4e8a10

Please sign in to comment.