[llvm] [SelectionDAG] Add ISD::ARITH_FENCE to SelectionDAGDumper. (PR #225485)
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 22 11:55:30 PDT 2026
https://github.com/topperc created https://github.com/llvm/llvm-project/pull/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.
>From 77f9e0b8cc68f696f365c59c56686be134b435e9 Mon Sep 17 00:00:00 2001
From: Craig Topper <craig.topper at sifive.com>
Date: Tue, 22 Sep 2026 11:50:10 -0700
Subject: [PATCH] [SelectionDAG] Add ISD::ARITH_FENCE to SelectionDAGDumper.
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.
---
llvm/lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp
index 32e0cafd9f71c2..8bc1707b47b314 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