[Mlir-commits] [mlir] [mlir][NFC] Move LLVM::ModuleTranslation::SaveStack to a shared header (PR #144897)
Oleksandr Alex Zinenko
llvmlistbot at llvm.org
Thu Jun 19 11:34:26 PDT 2025
================
@@ -0,0 +1,116 @@
+//===- StateStack.h - Utility for storing a stack of state ------*- C++ -*-===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+//
+// This file defines utilities for storing a stack of generic context.
----------------
ftynse wrote:
It may be worth nothing that the objects on stack must implement MLIR TypeID.
https://github.com/llvm/llvm-project/pull/144897
More information about the Mlir-commits
mailing list