[Mlir-commits] [mlir] [mlir][affine]make affine-loop-unroll a FunctionOpInterface pass. (PR #126475)

Krzysztof Drewniak llvmlistbot at llvm.org
Mon Feb 10 08:40:28 PST 2025


================
@@ -199,7 +199,7 @@ def AffineLoopTiling : Pass<"affine-loop-tile", "func::FuncOp"> {
   ];
 }
 
-def AffineLoopUnroll : Pass<"affine-loop-unroll", "func::FuncOp"> {
+def AffineLoopUnroll : Pass<"affine-loop-unroll", "ModuleOp"> {
----------------
krzysz00 wrote:

This isn't the right change.

Make it an InterfacePass on FunctionOpInterface

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


More information about the Mlir-commits mailing list