summaryrefslogtreecommitdiff
path: root/mlir/lib/Support/StateStack.cpp
AgeCommit message (Collapse)Author
2025-06-25[mlir] Move WalkResult to Support (#145649)Jacques Pienaar
This also enables moving StateStack, both are relatively generic helper structs not tied to IR.
2025-06-25[mlir]Moves the StateStack to IR folder from Support folder. (#145598)Lance Wang
[MLIR] Fix circular dependency introduced in In https://github.com/llvm/llvm-project/pull/144897. This PR is to break the dependency. by moving StateStack to IR folder This commit resolves a circular dependency issue between mlir/Support and mlir/IR: - Move StateStack.h and StateStack.cpp from Support to IR folder - Update CMakeLists.txt files to reflect the new locations - Update Bazel BUILD file to maintain correct dependencies - Update includes in affected files (flang, Target/LLVMIR) The circular dependency was caused by StateStack.h depending on IR/Visitors.h while other IR files depended on Support. Moving StateStack to IR eliminates this cycle while maintaining proper separation of concerns.
2025-06-24[mlir][NFC] Move LLVM::ModuleTranslation::SaveStack to a shared header (#144897)Tom Eccles
This is so that we can re-use the same code in Flang.