Skip to content

Commit

Permalink
DAG: Fix typo of comment
Browse files Browse the repository at this point in the history
  • Loading branch information
ParkHanbum committed Aug 8, 2024
1 parent c886639 commit 5cfe1a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15061,7 +15061,7 @@ SDValue DAGCombiner::visitTRUNCATE(SDNode *N) {
if (N0.getOpcode() == ISD::TRUNCATE)
return DAG.getNode(ISD::TRUNCATE, DL, VT, N0.getOperand(0));

// fold satruated truncate
// fold saturated truncate
if (SDValue SaturatedTR = foldToSaturated(N, VT, N0, SrcVT, DL, TLI, DAG))
return SaturatedTR;

Expand Down

0 comments on commit 5cfe1a8

Please sign in to comment.