llvm-project
d9ac4d62 - [mlir][LLVMIR][NFC] Migrate to OpAsmAttrInterface for ASM alias generation (#130479)

Commit
216 days ago
[mlir][LLVMIR][NFC] Migrate to OpAsmAttrInterface for ASM alias generation (#130479) After the introduction of `OpAsmAttrInterface`, it is favorable to migrate code using `OpAsmDialectInterface` for ASM alias generation, which lives in `Dialect.cpp`, to use `OpAsmAttrInterface`, which lives in `Attrs.td`. In this way, attribute behavior is placed near its tablegen definition and people won't need to go through other files to know what other (unexpected) hooks comes into play. See #124721 for the interface itself and #128191 for prior migration for Builtin Attributes. See #131504 for the `genMnemonicAlias` tablegen field.
Parents
Loading