[Mlir-commits] [mlir] [tblgen] Add command line flag for using fallback TypeIDs in generation (PR #125767)

Mehdi Amini llvmlistbot at llvm.org
Wed Feb 12 14:48:10 PST 2025


joker-eph wrote:

This is what I had in mind indeed (I would think you'd need to guard line 52 as well?).
You could also put the specializations for `class TypeIDResolver` in between `#if ! MLIR_USE_FALLBACK_TYPE_IDS` or something like that.

Now the comment line 29 seems like a hurdle: 

> is not usable by classes defined in anonymous contexts.

In general I'm unsure about the risk of name conflicts with this?

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


More information about the Mlir-commits mailing list