[llvm] 59b1515 - [SelectionDAG] Fix typo Chian->Chain. NFC (#190874)

via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 7 19:50:42 PDT 2026


Author: Craig Topper
Date: 2026-04-07T19:50:37-07:00
New Revision: 59b1515c070ed10292d75bcc416d6ba1af13090f

URL: https://github.com/llvm/llvm-project/commit/59b1515c070ed10292d75bcc416d6ba1af13090f
DIFF: https://github.com/llvm/llvm-project/commit/59b1515c070ed10292d75bcc416d6ba1af13090f.diff

LOG: [SelectionDAG] Fix typo Chian->Chain. NFC (#190874)

Added: 
    

Modified: 
    llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
    llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
index 137922aa62557..fb1b84614c431 100644
--- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
@@ -2818,7 +2818,7 @@ SDValue SelectionDAG::FoldSetCC(EVT VT, SDValue N1, SDValue N2,
     ISD::CondCode SwappedCond = ISD::getSetCCSwappedOperands(Cond);
     if (!TLI->isCondCodeLegal(SwappedCond, OpVT.getSimpleVT()))
       return SDValue();
-    return getSetCC(dl, VT, N2, N1, SwappedCond, /*Chian=*/{},
+    return getSetCC(dl, VT, N2, N1, SwappedCond, /*Chain=*/{},
                     /*IsSignaling=*/false, Flags);
   } else if ((N2CFP && N2CFP->getValueAPF().isNaN()) ||
              (OpVT.isFloatingPoint() && (N1.isUndef() || N2.isUndef()))) {

diff  --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
index cd4470d5f20fe..1e44fbad1e28f 100644
--- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
@@ -3802,7 +3802,7 @@ void SelectionDAGBuilder::visitFCmp(const FCmpInst &I) {
   EVT DestVT = DAG.getTargetLoweringInfo().getValueType(DAG.getDataLayout(),
                                                         I.getType());
   setValue(&I, DAG.getSetCC(getCurSDLoc(), DestVT, Op1, Op2, Condition,
-                            /*Chian=*/{}, /*IsSignaling=*/false, Flags));
+                            /*Chain=*/{}, /*IsSignaling=*/false, Flags));
 }
 
 // Check if the condition of the select has one use or two users that are both


        


More information about the llvm-commits mailing list