Skip to content

Commit d9b65af

Browse files
authored
Bump IREE to f27feffa3d44c834a184ed3ea4b704316fd1769e (#1001)
1 parent 63a4ccb commit d9b65af

22 files changed

+25
-24
lines changed

.github/workflows/ci-linux.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ jobs:
5757
- name: Python deps
5858
run: |
5959
pip install -r third_party/iree/runtime/bindings/python/iree/runtime/build_requirements.txt
60-
pip install pyyaml pybind11==2.13.6 nanobind==2.2.0
60+
pip install pyyaml pybind11==2.13.6 nanobind==2.4.0
6161
6262
- name: Enable cache
6363
uses: actions/cache/restore@v3

.github/workflows/ci-macos.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ jobs:
7878
- name: Python deps
7979
run: |
8080
pip install -r third_party/iree/runtime/bindings/python/iree/runtime/build_requirements.txt
81-
pip install pytest pybind11==2.13.6 nanobind==2.2.0
81+
pip install pytest pybind11==2.13.6 nanobind==2.4.0
8282
8383
- name: Enable cache
8484
uses: actions/cache/restore@v3

.github/workflows/ci-windows.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ jobs:
8181
- name: Python deps
8282
run: |
8383
pip install -r third_party\iree\runtime\bindings\python\iree\runtime\build_requirements.txt
84-
pip install pyyaml pybind11==2.13.6 nanobind==2.2.0
84+
pip install pyyaml pybind11==2.13.6 nanobind==2.4.0
8585
8686
- name: Enable cache
8787
uses: actions/cache/restore@v3

compiler/plugins/target/AMD-AIE/aievec/ConvertVectorToAIEVec.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ struct RedundantLoadStoreOptimizationPass
7272
patterns.add<SetInboundsToReadOp, SetInboundsToWriteOp>(
7373
patterns.getContext());
7474

75-
(void)applyPatternsAndFoldGreedily(op, std::move(patterns));
75+
(void)applyPatternsGreedily(op, std::move(patterns));
7676
IRRewriter rewriter(&getContext());
7777
vector::transferOpflowOpt(rewriter, op);
7878
}

compiler/plugins/target/AMD-AIE/aievec/VectorToVectorConversions.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1042,14 +1042,14 @@ struct CanonicalizeVectorForAIEVecPass
10421042
RewritePatternSet patterns(context);
10431043
patterns.add<CanonicalizeTrivialReadAccessSubviewOpPattern,
10441044
CanonicalizeTrivialWriteAccessSubviewOpPattern>(context);
1045-
(void)applyPatternsAndFoldGreedily(op, std::move(patterns));
1045+
(void)applyPatternsGreedily(op, std::move(patterns));
10461046
}
10471047
{
10481048
// These must run before 'populateVectorBroadcastLoweringPatterns'
10491049
// so that broadcasts can be matched before conversion to insert.
10501050
RewritePatternSet patterns(context);
10511051
populateBubbleSignExtensionsLate(patterns);
1052-
(void)applyPatternsAndFoldGreedily(op, std::move(patterns));
1052+
(void)applyPatternsGreedily(op, std::move(patterns));
10531053
}
10541054

10551055
{
@@ -1067,7 +1067,7 @@ struct CanonicalizeVectorForAIEVecPass
10671067
mlir::vector::populateShapeCastFoldingPatterns(patterns);
10681068
mlir::vector::populateDropUnitDimWithShapeCastPatterns(patterns);
10691069
mlir::vector::populateVectorBroadcastLoweringPatterns(patterns);
1070-
(void)applyPatternsAndFoldGreedily(op, std::move(patterns));
1070+
(void)applyPatternsGreedily(op, std::move(patterns));
10711071
}
10721072

10731073
{
@@ -1076,7 +1076,7 @@ struct CanonicalizeVectorForAIEVecPass
10761076
// cycles.
10771077
RewritePatternSet patterns(context);
10781078
populateBubbleSignExtensionsLate(patterns);
1079-
(void)applyPatternsAndFoldGreedily(op, std::move(patterns));
1079+
(void)applyPatternsGreedily(op, std::move(patterns));
10801080
}
10811081
}
10821082
};

compiler/plugins/target/AMD-AIE/iree-amd-aie/Target/XCLBinGen.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1021,6 +1021,7 @@ void addLowerToLLVMPasses(OpPassManager &pm) {
10211021
ConvertFuncToLLVMPassOptions opts;
10221022
opts.useBarePtrCallConv = true;
10231023
pm.addPass(createConvertFuncToLLVMPass(opts));
1024+
pm.addPass(createArithToLLVMConversionPass());
10241025
pm.addPass(createCanonicalizerPass());
10251026
pm.addPass(createCSEPass());
10261027
pm.addPass(createConvertControlFlowToLLVMPass());

compiler/plugins/target/AMD-AIE/iree-amd-aie/Transforms/AMDAIEAssignTiles.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ LogicalResult assignNonLocalTiles(RewriterBase &rewriter, Operation *op,
321321
// Find and fill the tile candidates.
322322
RewritePatternSet fillTilePatterns(context);
323323
fillTilePatterns.insert<FillTiles>(context, deviceModel);
324-
if (failed(applyPatternsAndFoldGreedily(op, std::move(fillTilePatterns)))) {
324+
if (failed(applyPatternsGreedily(op, std::move(fillTilePatterns)))) {
325325
return op->emitOpError()
326326
<< "collection of tile candidates for logical objectFifos failed";
327327
}

compiler/plugins/target/AMD-AIE/iree-amd-aie/Transforms/AMDAIECanonicalizeDoublyStridedOp.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ void AMDAIECanonicalizeDoublyStridedOpPass::runOnOperation() {
211211
}
212212
populateCanonicalizeDoublyStridedOpPatterns(patterns, foldSingleDims,
213213
deviceModel);
214-
if (failed(applyPatternsAndFoldGreedily(parentOp, std::move(patterns)))) {
214+
if (failed(applyPatternsGreedily(parentOp, std::move(patterns)))) {
215215
parentOp->emitOpError(
216216
"failed to canonicalize doubly strided DMA operations");
217217
return signalPassFailure();

compiler/plugins/target/AMD-AIE/iree-amd-aie/Transforms/AMDAIECombineStridedOps.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ void AMDAIECombineStridedOpsPass::runOnOperation() {
183183
MLIRContext *context = &getContext();
184184
RewritePatternSet patterns(context);
185185
populateStridedOpCombinationPattern(patterns);
186-
if (failed(applyPatternsAndFoldGreedily(parentOp, std::move(patterns)))) {
186+
if (failed(applyPatternsGreedily(parentOp, std::move(patterns)))) {
187187
parentOp->emitOpError("failed to combine strided operations");
188188
return signalPassFailure();
189189
}

compiler/plugins/target/AMD-AIE/iree-amd-aie/Transforms/AMDAIEDistributeCoresAndObjectFifos.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -478,7 +478,7 @@ void AMDAIEDistributeCoresAndObjectFifosPass::runOnOperation() {
478478
// possible.
479479
RewritePatternSet unrollLocalLoopsPatterns(context);
480480
unrollLocalLoopsPatterns.insert<AMDAIEUnrollLocalLoops>(context);
481-
if (failed(applyPatternsAndFoldGreedily(
481+
if (failed(applyPatternsGreedily(
482482
moduleOp, std::move(unrollLocalLoopsPatterns)))) {
483483
moduleOp.emitOpError()
484484
<< "loop unrolling of loops selected for parallel execution failed";

0 commit comments

Comments
 (0)