[Mlir-commits] [mlir] [mlir] Fix conflict of user defined reserved functions with internal prototypes (PR #123378)
Christian Ulmann
llvmlistbot at llvm.org
Fri Jan 24 01:58:26 PST 2025
================
@@ -220,8 +220,10 @@ struct DeallocOpLowering : public ConvertOpToLLVMPattern<memref::DeallocOp> {
matchAndRewrite(memref::DeallocOp op, OpAdaptor adaptor,
ConversionPatternRewriter &rewriter) const override {
// Insert the `free` declaration if it is not already present.
- LLVM::LLVMFuncOp freeFunc =
+ auto freeFunc =
----------------
Dinistro wrote:
```suggestion
FailureOr<LLVM::LLVMFuncOp> freeFunc =
```
https://github.com/llvm/llvm-project/pull/123378
More information about the Mlir-commits
mailing list