[Mlir-commits] [mlir] 9e39a0c - [MLIR][ArmSME] Fix for block sorting refactor
Christian Ulmann
llvmlistbot at llvm.org
Fri May 17 09:00:27 PDT 2024
Author: Christian Ulmann
Date: 2024-05-17T15:59:04Z
New Revision: 9e39a0c723ced1aefdb30cece554356644aac148
URL: https://github.com/llvm/llvm-project/commit/9e39a0c723ced1aefdb30cece554356644aac148
DIFF: https://github.com/llvm/llvm-project/commit/9e39a0c723ced1aefdb30cece554356644aac148.diff
LOG: [MLIR][ArmSME] Fix for block sorting refactor
This commit fixes a breakage introduced by changing the name of the
block sorting function.
Related PR: https://github.com/llvm/llvm-project/pull/92558
Added:
Modified:
mlir/lib/Dialect/ArmSME/Transforms/TileAllocation.cpp
Removed:
################################################################################
diff --git a/mlir/lib/Dialect/ArmSME/Transforms/TileAllocation.cpp b/mlir/lib/Dialect/ArmSME/Transforms/TileAllocation.cpp
index 1e1e0e569124d..acbbbe9932e19 100644
--- a/mlir/lib/Dialect/ArmSME/Transforms/TileAllocation.cpp
+++ b/mlir/lib/Dialect/ArmSME/Transforms/TileAllocation.cpp
@@ -333,7 +333,7 @@ DenseMap<Operation *, unsigned>
generateOperationNumbering(FunctionOpInterface function) {
unsigned index = 0;
SetVector<Block *> blocks =
- getTopologicallySortedBlocks(function.getFunctionBody());
+ getBlocksSortedByDominance(function.getFunctionBody());
DenseMap<Operation *, unsigned> operationToIndexMap;
for (Block *block : blocks) {
index++; // We want block args to have their own number.
More information about the Mlir-commits
mailing list