[Mlir-commits] [mlir] [mlir] share argument attributes interface between calls and callables (PR #123176)
River Riddle
llvmlistbot at llvm.org
Thu Jan 16 10:06:04 PST 2025
================
@@ -17,6 +17,53 @@
include "mlir/IR/OpBase.td"
+
+/// Interface for operations with arguments attributes (both call-like
+/// and callable operations).
+def ArgumentAttributesOpInterface : OpInterface<"ArgumentAttributesOpInterface"> {
----------------
River707 wrote:
I mentioned this in the RFC, but I'd avoid the additional interface all together. I don't think there is a lot of benefit added here over the cost on the generated code. Can this just be a list of additional methods that get added to the interface methods in CallOpInterface and CallableOpInterface?
https://github.com/llvm/llvm-project/pull/123176
More information about the Mlir-commits
mailing list