Problem Statement
When loading a MLIR plugin, the optimization tool must be provided with two options --load-pass-plugin and --load-dialect-plugin. As of now, we pass the same .dylib to both options.
Proposed Solution
I am not certain whether this gives any advantage but it might be worth it to try out to decouple the pass and dialect plugin into two separate dynamic libraries.
Problem Statement
When loading a MLIR plugin, the optimization tool must be provided with two options
--load-pass-pluginand--load-dialect-plugin. As of now, we pass the same.dylibto both options.Proposed Solution
I am not certain whether this gives any advantage but it might be worth it to try out to decouple the pass and dialect plugin into two separate dynamic libraries.