[flang-commits] [flang] [llvm] [mlir] [mlir][LLVM] add argument and result attributes to llvm.call (PR #123177)
via flang-commits
flang-commits at lists.llvm.org
Mon Feb 3 07:26:55 PST 2025
================
@@ -1596,6 +1603,23 @@ ModuleTranslation::convertParameterAttrs(LLVMFuncOp func, int argIdx,
return attrBuilder;
}
+FailureOr<llvm::AttrBuilder>
+ModuleTranslation::convertParameterAttrs(CallOp, int argIdx,
----------------
jeanPerier wrote:
Indeed, I added it because the similar function for LLVMFuncOp has it (was added [in this patch](https://github.com/llvm/llvm-project/commit/fa6850a9981b65972294e13021f82b96d460b3ec)), but I do not know if the same interface makes sense for call. I removed it, it can be added when/if there is a use case.
https://github.com/llvm/llvm-project/pull/123177
More information about the flang-commits
mailing list