From 5cfe1a8db16ce8dd6e7c899f8837973b45ee496d Mon Sep 17 00:00:00 2001 From: hanbeom Date: Fri, 9 Aug 2024 03:14:13 +0900 Subject: [PATCH] DAG: Fix typo of comment --- llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp b/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp index 6f667d7e8e13ab6..788da40a6addd15 100644 --- a/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp @@ -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;