[Mlir-commits] [mlir] be9db1a - [mlir] Remove dead declaration promoteSingleIterationLoops (#215738)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Wed Aug 12 08:24:13 PDT 2026
Author: Kazu Hirata
Date: 2026-08-12T08:24:08-07:00
New Revision: be9db1a6ef0e11b970c76da654f1452c75d06ab1
URL: https://github.com/llvm/llvm-project/commit/be9db1a6ef0e11b970c76da654f1452c75d06ab1
DIFF: https://github.com/llvm/llvm-project/commit/be9db1a6ef0e11b970c76da654f1452c75d06ab1.diff
LOG: [mlir] Remove dead declaration promoteSingleIterationLoops (#215738)
The corresponding function definition was removed on January 24, 2022
in a70aa7bb0d9a6066831b339e0a09a2c1bc74fe2b.
Added:
Modified:
mlir/include/mlir/Dialect/Affine/LoopUtils.h
Removed:
################################################################################
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
More information about the Mlir-commits
mailing list