[Mlir-commits] [mlir] [mlir][affine] Use value bound inference to determine minimum/maximum trip counts in loop analysis (PR #128113)
Krzysztof Drewniak
llvmlistbot at llvm.org
Tue Apr 8 09:27:37 PDT 2025
================
@@ -701,6 +767,32 @@ func.func @unroll_with_iter_args_and_promotion(%arg0 : f32, %arg1 : f32) -> f32
return %sum : f32
}
+// UNROLL-BY-4-LABEL: func @gpu_launch_unroll_by_factor_4
+func.func @gpu_launch_unroll_by_factor_4() {
+ %0 = arith.constant 0 :index
+ %1 = arith.constant 2 : index
----------------
krzysz00 wrote:
Nit: could be good to name this `%c2` and the above `%c0`
https://github.com/llvm/llvm-project/pull/128113
More information about the Mlir-commits
mailing list