[llvm] 71122e7 - [SelectionDAG] Add ISD::ARITH_FENCE to SelectionDAGDumper. (#225485)

via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 22 18:10:35 PDT 2026


Author: Craig Topper
Date: 2026-09-22T18:10:28-07:00
New Revision: 71122e716c7f507cb98df69961dbce21a187aa91

URL: https://github.com/llvm/llvm-project/commit/71122e716c7f507cb98df69961dbce21a187aa91
DIFF: https://github.com/llvm/llvm-project/commit/71122e716c7f507cb98df69961dbce21a187aa91.diff

LOG: [SelectionDAG] Add ISD::ARITH_FENCE to SelectionDAGDumper. (#225485)

We seem to have no consistency on CamelCase or snake_case in node
naming. I've gone with CamelCase to match the nearby nodes, but happy to
change.

Added: 
    

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

Removed: 
    


################################################################################
diff  --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp
index 32e0cafd9f71c..8bc1707b47b31 100644
--- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp
@@ -87,6 +87,7 @@ std::string SDNode::getOperationName(const SelectionDAG *G) const {
   case ISD::DELETED_NODE:               return "<<Deleted Node!>>";
 #endif
   case ISD::PREFETCH:                   return "Prefetch";
+  case ISD::ARITH_FENCE:                return "ArithFence";
   case ISD::MEMBARRIER:                 return "MemBarrier";
   case ISD::ATOMIC_FENCE:               return "AtomicFence";
   case ISD::ATOMIC_CMP_SWAP:            return "AtomicCmpSwap";


        


More information about the llvm-commits mailing list