[Mlir-commits] [llvm] [mlir] [mlir][LLVM] handle argument and result attributes in llvm.call and llvm.invoke (PR #123177)
Christian Ulmann
llvmlistbot at llvm.org
Sun Feb 9 23:22:02 PST 2025
================
@@ -2149,6 +2154,38 @@ void ModuleImport::convertParameterAttributes(llvm::Function *func,
builder.getArrayAttr(convertParameterAttribute(llvmResAttr, builder)));
}
+void ModuleImport::convertParameterAttributes(llvm::CallBase *call,
+ CallOpInterface callOp,
+ OpBuilder &builder) {
+ auto llvmAttrs = call->getAttributes();
----------------
Dinistro wrote:
Nit: Don't use `auto` here.
https://github.com/llvm/llvm-project/pull/123177
More information about the Mlir-commits
mailing list