[Mlir-commits] [mlir] [MLIR] Fix dangling llvm::function_ref references (PR #114950)
Mehdi Amini
llvmlistbot at llvm.org
Tue Nov 5 05:15:57 PST 2024
================
@@ -1084,13 +1084,12 @@ struct ForOpTensorCastFolder : public OpRewritePattern<ForOp> {
continue;
// Create a new ForOp with that iter operand replaced.
- ValueTypeCastFnTy castFn = [](OpBuilder &b, Location loc, Type type,
----------------
joker-eph wrote:
wouldn't using `auto` here just work?
https://github.com/llvm/llvm-project/pull/114950
More information about the Mlir-commits
mailing list