Skip to content

Commit 801a67b

Browse files
committed
Update llvm version to include vector option fix
1 parent 4bb5549 commit 801a67b

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
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 590a988c1ddf5dd7507f48b45a10bbf2dac84e01 && 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 590a988c1ddf5dd7507f48b45a10bbf2dac84e01 && cd ..
55+
cd llvm-project && git checkout 776b07b472a12db1a451fb4bfc737e05c0ee0b1c && cd ..
5656
```
5757

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

src/Conversion/KrnlToLLVM/ConvertKrnlToLLVM.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -196,12 +196,12 @@ void populateAffineAndKrnlToLLVMConversion(RewritePatternSet &patterns,
196196
vector::populateVectorBitCastLoweringPatterns(patterns);
197197
vector::populateVectorBroadcastLoweringPatterns(patterns);
198198
vector::populateVectorContractLoweringPatterns(
199-
patterns, vector::VectorTransformsOptions());
199+
patterns, vector::VectorContractLowering());
200200
vector::populateVectorMaskOpLoweringPatterns(patterns);
201201
vector::populateVectorShapeCastLoweringPatterns(patterns);
202202
vector::populateVectorInterleaveLoweringPatterns(patterns);
203203
vector::populateVectorTransposeLoweringPatterns(
204-
patterns, vector::VectorTransformsOptions());
204+
patterns, vector::VectorTransposeLowering());
205205
// Vector transfer ops with rank > 1 should be lowered with VectorToSCF.
206206
vector::populateVectorTransferLoweringPatterns(
207207
patterns, /*maxTransferRank=*/1);

utils/clone-mlir.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
git clone -n https://github.com/xilinx/llvm-project.git
22
# Check out a specific branch that is known to work with ONNX-MLIR.
3-
cd llvm-project && git checkout 590a988c1ddf5dd7507f48b45a10bbf2dac84e01 && cd ..
3+
cd llvm-project && git checkout 776b07b472a12db1a451fb4bfc737e05c0ee0b1c && cd ..

0 commit comments

Comments
 (0)