[Mlir-commits] [mlir] [mlir][scf] Expose isPerfectlyNestedForLoops (PR #152115)

Mehdi Amini llvmlistbot at llvm.org
Tue Aug 26 00:13:00 PDT 2025


================
@@ -1993,7 +1936,7 @@ getUntiledConsumerFromSlice(RewriterBase &rewriter,
   }
 
   // 2. Check that the loop is perfectly nested.
-  if (!isPerfectlyNestedForLoops(loops)) {
+  if (!mlir::isPerfectlyNestedForLoops(loops)) {
----------------
joker-eph wrote:

```suggestion
  if (!isPerfectlyNestedForLoops(loops)) {
```

Shouldn't be necessary here?

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


More information about the Mlir-commits mailing list