[Mlir-commits] [mlir] [mlir][bytecode] Implements back deployment capability for MLIR dialects (PR #70724)
Mehdi Amini
llvmlistbot at llvm.org
Mon Oct 30 20:51:11 PDT 2023
================
@@ -97,6 +98,14 @@ class BytecodeWriterConfig {
/// Get the set desired bytecode version to emit.
int64_t getDesiredBytecodeVersion() const;
+ /// A map containing the dialect versions to emit.
+ llvm::StringMap<std::unique_ptr<DialectVersion>> &
+ getDialectVersionMap() const;
----------------
joker-eph wrote:
Can this be a `DenseMap<Dialect *, <std::unique_ptr<DialectVersion>> &`?
That is: do we have cases for getting this information from a place without a MLIRContext or without the ability to get a `Dialect*`?
https://github.com/llvm/llvm-project/pull/70724
More information about the Mlir-commits
mailing list