[Mlir-commits] [mlir] [mlir] Fix support for loop normalization with integer indices (PR #76566)

Ivan Butygin llvmlistbot at llvm.org
Fri Dec 29 15:22:40 PST 2023


================
@@ -270,3 +270,28 @@ module attributes {transform.with_named_sequence} {
     transform.yield
   }
 }
+
+// -----
+
+func.func @normalize_i32_loop() {
+  // CHECK: scf.for %arg0 = %c0_i32 to {{.*}} step %c1_i32  : i32
----------------
Hardcode84 wrote:

Please, properly match constants instead of hardcoding SSA names as those names are not guaranteed to be stable. Also, properly match upper bound, second loop and induction vars.

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


More information about the Mlir-commits mailing list