Skip to content

Commit

Permalink
Fix onnx test failure with new LLVM
Browse files Browse the repository at this point in the history
  • Loading branch information
mgehre-amd committed Aug 22, 2024
1 parent 9e4cd9d commit b471d56
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ func.func @prefetch(%arg0: memref<256x512xf32>) -> memref<256x512xf32> attribute
// CHECK: affine.for [[I_0_:%.+]] = 0 to 256 {
// CHECK: affine.for [[I_1_:%.+]] = 0 to 512 {
// CHECK: [[LOAD_PARAM_0_MEM_:%.+]] = affine.load [[PARAM_0_]]{{.}}[[I_0_]], [[I_1_]]{{.}} : memref<256x512xf32>
// CHECK: affine.prefetch [[PARAM_0_]]{{.}}[[I_0_]], [[I_1_]] + 64], write, locality<0>, data : memref<256x512xf32>
// CHECK: affine.prefetch [[PARAM_0_]]{{.}}[[I_0_]], [[I_1_]] + 64], read, locality<3>, data : memref<256x512xf32>
// CHECK: [[LOAD_PARAM_0_MEM_1_:%.+]] = affine.load [[PARAM_0_]]{{.}}[[I_0_]], [[I_1_]]{{.}} : memref<256x512xf32>
// CHECK: [[VAR_2_:%.+]] = arith.addf [[LOAD_PARAM_0_MEM_]], [[LOAD_PARAM_0_MEM_1_]] : f32
// CHECK: affine.store [[VAR_2_]], [[RES_]]{{.}}[[I_0_]], [[I_1_]]{{.}} : memref<256x512xf32>
Expand Down
2 changes: 1 addition & 1 deletion utils/clone-mlir.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
git clone -n https://github.com/xilinx/llvm-project.git
# Check out a specific branch that is known to work with ONNX-MLIR.
cd llvm-project && git checkout a074d693f166574b4ef25e96bf2f29686a5de740 && cd ..
cd llvm-project && git checkout aec0fbb27815 && cd ..

0 comments on commit b471d56

Please sign in to comment.