[llvm] [mlir] [MLIR] convert OpAsmDialectInterface using ODS (PR #171488)
Jacques Pienaar via llvm-commits
llvm-commits at lists.llvm.org
Thu Dec 11 07:24:32 PST 2025
================
@@ -161,6 +167,9 @@ struct TypeInterface : public Interface {
struct DialectInterface : public Interface {
using Interface::Interface;
+ // Return alias declarations
+ SmallVector<std::pair<StringRef, StringRef>> getAliasDeclarations() const;
----------------
jpienaar wrote:
I would have expected a StringMap here: if you have duplicate keys, I think it would result in compilation errors so flagging that early would improve error experience (this is modulo discussion about if it should be exposed in structured way).
https://github.com/llvm/llvm-project/pull/171488
More information about the llvm-commits
mailing list