[Mlir-commits] [mlir] [MLIR] [Transforms] Let `transform.structured.convert_to_loops` return handles to loops (PR #83984)

Oleksandr Alex Zinenko llvmlistbot at llvm.org
Tue Mar 5 07:24:47 PST 2024


================
@@ -2122,6 +2122,9 @@ DiagnosedSilenceableFailure transform::ConvertToLoopsOp::applyToOne(
   if (failed(loops))
     return emitDefaultDefiniteFailure(target);
   rewriter.eraseOp(target);
+  for (auto &loop : *loops) {
----------------
ftynse wrote:

Nit: please expand `auto` unless the type is obvious from line-level context.

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


More information about the Mlir-commits mailing list