[llvm] [SelectionDAG] Fix typo in comment glueged->glued. NFC (PR #167006)

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 10 08:32:26 PST 2025


https://github.com/topperc updated https://github.com/llvm/llvm-project/pull/167006

>From dcfcabd8e9933af20a88fbd898a42f02486e7a58 Mon Sep 17 00:00:00 2001
From: Craig Topper <craig.topper at sifive.com>
Date: Fri, 7 Nov 2025 11:48:02 -0800
Subject: [PATCH] [SelectionDAG] Fix typo in comment glueged->glued. NFC

This was the result of a search and replace when "flag"
was renamed to "glue". This originally said "flagged".
---
 llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
index 8bc5d2f3e421f..e78dfb12505c7 100644
--- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
@@ -2448,7 +2448,7 @@ bool SelectionDAGISel::IsLegalToFold(SDValue N, SDNode *U, SDNode *Root,
   // a cycle in the scheduling graph.
 
   // If the node has glue, walk down the graph to the "lowest" node in the
-  // glueged set.
+  // glued set.
   EVT VT = Root->getValueType(Root->getNumValues()-1);
   while (VT == MVT::Glue) {
     SDNode *GU = Root->getGluedUser();



More information about the llvm-commits mailing list