[Mlir-commits] [mlir] [flang] [WIP] Delayed privatization. (PR #79862)

Kareem Ergawy llvmlistbot at llvm.org
Mon Jan 29 11:30:24 PST 2024


================

----------------
ergawy wrote:

Another option would be to treat `SymMap`s like `InsertionPoint`s in the sense that we always have an active `SymMap`/`InsertionPoint` at any given moment and we can save this `SymMap`/`InsertionPoint`, set a new one, and restore it later.

This way we have an API that replaces and restores the currently active `SymMap` within the converter and clean-up the API a little bit.

https://github.com/llvm/llvm-project/pull/79862


More information about the Mlir-commits mailing list