[Mlir-commits] [llvm] [mlir] [mlir][LLVM] handle argument and result attributes in llvm.call and llvm.invoke (PR #123177)

Tobias Gysi llvmlistbot at llvm.org
Thu Feb 6 10:57:38 PST 2025


================
@@ -1335,55 +1335,66 @@ void CallOp::print(OpAsmPrinter &p) {
                            getVarCalleeTypeAttrName(), getCConvAttrName(),
                            getOperandSegmentSizesAttrName(),
                            getOpBundleSizesAttrName(),
-                           getOpBundleTagsAttrName()});
+                           getOpBundleTagsAttrName(), getArgAttrsAttrName(),
+                           getResAttrsAttrName()});
 
   p << " : ";
   if (!isDirect)
     p << getOperand(0).getType() << ", ";
 
   // Reconstruct the function MLIR function type from operand and result types.
----------------
gysit wrote:

```suggestion
  // Reconstruct the MLIR function type from operand and result types.
```

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


More information about the Mlir-commits mailing list