summaryrefslogtreecommitdiffstats
path: root/mlir/lib/Analysis/Liveness.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'mlir/lib/Analysis/Liveness.cpp')
-rw-r--r--mlir/lib/Analysis/Liveness.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/mlir/lib/Analysis/Liveness.cpp b/mlir/lib/Analysis/Liveness.cpp
index 26e152dcdf7..dbda9f5ba28 100644
--- a/mlir/lib/Analysis/Liveness.cpp
+++ b/mlir/lib/Analysis/Liveness.cpp
@@ -21,6 +21,7 @@
using namespace mlir;
+namespace {
/// Builds and holds block information during the construction phase.
struct BlockInfoBuilder {
using ValueSetT = Liveness::ValueSetT;
@@ -107,6 +108,7 @@ struct BlockInfoBuilder {
/// The set of all used values.
ValueSetT useValues;
};
+} // namespace
/// Builds the internal liveness block mapping.
static void buildBlockMapping(MutableArrayRef<Region> regions,
OpenPOWER on IntegriCloud