Skip to content

Commit a4bf486

Browse files
authored
Merge pull request #378 from Xilinx/jrickert.bump_integration_1
LLVM Bump Integration
2 parents 66f19d8 + 801a67b commit a4bf486

30 files changed

+105
-92
lines changed

docs/BuildOnLinuxOSX.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Firstly, install MLIR (as a part of LLVM-Project):
1515
``` bash
1616
git clone -n https://github.com/llvm/llvm-project.git
1717
# Check out a specific branch that is known to work with ONNX-MLIR.
18-
cd llvm-project && git checkout 52e1d522a65b0d30cf1d49851d2ed6d196e65e10 && cd ..
18+
cd llvm-project && git checkout 776b07b472a12db1a451fb4bfc737e05c0ee0b1c && cd ..
1919
```
2020

2121
[same-as-file]: <> (utils/build-mlir.sh)

docs/BuildOnWindows.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ Install MLIR (as a part of LLVM-Project):
5252
```shell
5353
git clone -n https://github.com/llvm/llvm-project.git
5454
# Check out a specific branch that is known to work with ONNX-MLIR.
55-
cd llvm-project && git checkout 52e1d522a65b0d30cf1d49851d2ed6d196e65e10 && cd ..
55+
cd llvm-project && git checkout 776b07b472a12db1a451fb4bfc737e05c0ee0b1c && cd ..
5656
```
5757

5858
[same-as-file]: <> (utils/build-mlir.cmd)

src/Accelerators/NNPA/Conversion/ONNXToZHigh/ONNXToZHigh.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1680,7 +1680,7 @@ void ONNXToZHighLoweringPass::runOnOperation() {
16801680
onnx_mlir::getONNXToZHighMultipleOpPatterns(combinedPatterns);
16811681

16821682
// It's ok to fail.
1683-
(void)applyPatternsAndFoldGreedily(module, std::move(combinedPatterns));
1683+
(void)applyPatternsGreedily(module, std::move(combinedPatterns));
16841684

16851685
// Run the unknown dimension analysis to help check equality of unknown
16861686
// dimensions at compile time.

src/Accelerators/NNPA/Conversion/ONNXToZHigh/ZHighToONNX.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ void ZHighToONNXLoweringPass::runOnOperation() {
6262
zhigh::ZHighStickOp::getCanonicalizationPatterns(patterns, &getContext());
6363
zhigh::ZHighUnstickOp::getCanonicalizationPatterns(patterns, &getContext());
6464

65-
(void)applyPatternsAndFoldGreedily(function, std::move(patterns));
65+
(void)applyPatternsGreedily(function, std::move(patterns));
6666
}
6767

6868
std::unique_ptr<Pass> createZHighToONNXPass() {

src/Accelerators/NNPA/Transform/FoldStdAlloc.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -211,8 +211,7 @@ class FoldStdAllocPass
211211
RewritePatternSet patterns(&getContext());
212212
patterns.insert<FoldStdAlloc>(&getContext());
213213

214-
static_cast<void>(
215-
applyPatternsAndFoldGreedily(function, std::move(patterns)));
214+
static_cast<void>(applyPatternsGreedily(function, std::move(patterns)));
216215
}
217216
};
218217

src/Accelerators/NNPA/Transform/ZHigh/ZHighConstPropagation.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -503,7 +503,7 @@ struct ZHighConstPropagationPass
503503
patterns.insert<ConstantStickPattern>(patterns.getContext());
504504
patterns.insert<ConstantStickForGRUPattern>(patterns.getContext());
505505
patterns.insert<ConstantStickForLSTMPattern>(patterns.getContext());
506-
(void)applyPatternsAndFoldGreedily(moduleOp, std::move(patterns));
506+
(void)applyPatternsGreedily(moduleOp, std::move(patterns));
507507
}
508508
};
509509
} // anonymous namespace

src/Accelerators/NNPA/Transform/ZHigh/ZHighDecomposeStickUnstick.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ struct ZHighDecomposeStickUnstickPass
7171
ZHighDLF16ToF32Op::getCanonicalizationPatterns(patterns, &getContext());
7272
ZHighF32ToDLF16Op::getCanonicalizationPatterns(patterns, &getContext());
7373
ONNXLayoutTransformOp::getCanonicalizationPatterns(patterns, &getContext());
74-
(void)applyPatternsAndFoldGreedily(function, std::move(patterns));
74+
(void)applyPatternsGreedily(function, std::move(patterns));
7575
}
7676
};
7777

src/Accelerators/NNPA/Transform/ZHigh/ZHighLayoutPropagation.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,7 @@ struct ZHighLayoutPropagationPass
367367
// rules in this pass.
368368
ZHighStickOp::getCanonicalizationPatterns(patterns, &getContext());
369369
ZHighUnstickOp::getCanonicalizationPatterns(patterns, &getContext());
370-
(void)applyPatternsAndFoldGreedily(function, std::move(patterns));
370+
(void)applyPatternsGreedily(function, std::move(patterns));
371371
}
372372
};
373373
} // anonymous namespace

src/Accelerators/NNPA/Transform/ZHigh/ZHighRecomposeToStickUnstick.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ struct ZHighRecomposeToStickUnstickPass
7171
ZHighDLF16ToF32Op::getCanonicalizationPatterns(patterns, &getContext());
7272
ZHighF32ToDLF16Op::getCanonicalizationPatterns(patterns, &getContext());
7373
ONNXLayoutTransformOp::getCanonicalizationPatterns(patterns, &getContext());
74-
(void)applyPatternsAndFoldGreedily(function, std::move(patterns));
74+
(void)applyPatternsGreedily(function, std::move(patterns));
7575
}
7676
};
7777

src/Accelerators/NNPA/Transform/ZLow/ZLowRewrite.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -696,7 +696,7 @@ class ZLowRewritePass
696696
patterns.insert<UnstickLoadStoreStickRemovalPattern>(
697697
&getContext(), removableStickOps);
698698

699-
if (failed(applyPatternsAndFoldGreedily(function, std::move(patterns))))
699+
if (failed(applyPatternsGreedily(function, std::move(patterns))))
700700
return signalPassFailure();
701701

702702
// Remove ZLowStickOp that were marked "removable".

0 commit comments

Comments
 (0)