[Mlir-commits] [mlir] [mlir] Remove dead declaration promoteSingleIterationLoops (PR #215738)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Tue Aug 11 23:55:54 PDT 2026


llvmorg-github-actions[bot] wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-mlir

Author: Kazu Hirata (kazutakahirata)

<details>
<summary>Changes</summary>

The corresponding function definition was removed on January 24, 2022
in a70aa7bb0d9a6066831b339e0a09a2c1bc74fe2b.


---
Full diff: https://github.com/llvm/llvm-project/pull/215738.diff


1 Files Affected:

- (modified) mlir/include/mlir/Dialect/Affine/LoopUtils.h (-4) 


``````````diff
diff --git a/mlir/include/mlir/Dialect/Affine/LoopUtils.h b/mlir/include/mlir/Dialect/Affine/LoopUtils.h
index 830c394f0bde6..0c117818cd717 100644
--- a/mlir/include/mlir/Dialect/Affine/LoopUtils.h
+++ b/mlir/include/mlir/Dialect/Affine/LoopUtils.h
@@ -86,10 +86,6 @@ LogicalResult loopUnrollJamUpToFactor(AffineForOp forOp,
 /// was known to have a single iteration.
 LogicalResult promoteIfSingleIteration(AffineForOp forOp);
 
-/// Promotes all single iteration AffineForOp's in the Function, i.e., moves
-/// their body into the containing Block.
-void promoteSingleIterationLoops(func::FuncOp f);
-
 /// Skew the operations in an affine.for's body with the specified
 /// operation-wise shifts. The shifts are with respect to the original execution
 /// order, and are multiplied by the loop 'step' before being applied. If

``````````

</details>


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


More information about the Mlir-commits mailing list