[Mlir-commits] [mlir] [mlir] load dialects for non-namespaced attrs (PR #94838)

Mehdi Amini llvmlistbot at llvm.org
Thu Jun 20 15:02:15 PDT 2024


joker-eph wrote:

> > I am just not sure why we would need any workaround instead of a principled fix really. I am not convinced there is anything really difficult here yet.
> 
> I don't know what the principled fix is. I think `mlir-tblgen` needs more information at the time it's generating these parsers, but I don't know how to get it that information. Maybe you could sketch the solution you have in mind?

I just give it a quick try here: https://github.com/llvm/llvm-project/pull/96242 
I didn't have time to test it yet though (it fixes your example), but I'm located in Europe so my day is kind of ending now, I'll pick this up maybe tomorrow.

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


More information about the Mlir-commits mailing list