[llvm-branch-commits] [llvm] [mlir] [mlir][LLVM] add argument and result attributes to llvm.call (PR #123177)

Tobias Gysi via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Sat Feb 1 11:41:29 PST 2025


================
@@ -1721,7 +1738,10 @@ ParseResult InvokeOp::parse(OpAsmParser &parser, OperationState &result) {
     return failure();
 
   // Parse the trailing type list and resolve the function operands.
-  if (parseCallTypeAndResolveOperands(parser, result, isDirect, operands))
+  SmallVector<DictionaryAttr> argAttrs;
+  SmallVector<DictionaryAttr> resultAttrs;
+  if (parseCallTypeAndResolveOperands(parser, result, isDirect, operands,
+                                      argAttrs, resultAttrs))
----------------
gysit wrote:

Should we call `addArgAndResultAttrs` here as above?

What is actually the status of the invoke. It seems it is not really supported in this pr? If we fully want to support it there should probably be tests as well.

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


More information about the llvm-branch-commits mailing list