Skip to content

Commit e52a78a

Browse files
authored
Bump llvm e6d16f9 (Xilinx#885)
* mlir-cpu-runner is renamed to mlir-runner * Bump llvm to e6d16f93b329f2f9618d18d0b99c6060e206cf08 * Bump llvm * Bump aie to 3a35554 * Bump mlir-aie
1 parent e7f682f commit e52a78a

File tree

8 files changed

+9
-9
lines changed

8 files changed

+9
-9
lines changed

mlir/lib/Conversion/ConvertToAIRPass.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ matchAndRewriteCopyOp(memref::CopyOp op, RewriterBase &rewriter) {
8787
int64_t offset;
8888
SmallVector<int64_t, 4> layout_strides;
8989
auto successStrides =
90-
getStridesAndOffset(inferredType, layout_strides, offset);
90+
inferredType.getStridesAndOffset(layout_strides, offset);
9191
if (failed(successStrides)) {
9292
llvm::outs() << "Failed to get strides\n";
9393
return; // failure();
@@ -145,7 +145,7 @@ static void extractOperandsFromSubview(memref::SubViewOp subview,
145145
int64_t offset;
146146
SmallVector<int64_t, 4> layout_strides;
147147
auto successStrides =
148-
getStridesAndOffset(inferredType, layout_strides, offset);
148+
inferredType.getStridesAndOffset(layout_strides, offset);
149149
if (failed(successStrides)) {
150150
llvm::outs() << "Failed to get strides\n";
151151
return; // failure();

mlir/lib/Dialect/AIR/IR/AIRDialect.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1376,7 +1376,7 @@ static SmallVector<Value> extractStridesFromMemrefType(MemRefType memrefTy,
13761376
SmallVector<Value> strides;
13771377
int64_t offset;
13781378
SmallVector<int64_t, 4> layout_strides;
1379-
auto successStrides = getStridesAndOffset(memrefTy, layout_strides, offset);
1379+
auto successStrides = memrefTy.getStridesAndOffset(layout_strides, offset);
13801380
if (failed(successStrides)) {
13811381
llvm::outs() << "Failed to get strides\n";
13821382
return strides;

mlir/test/Conversion/AIRToAIE/insert_trace_packet_flow.mlir

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// RUN: air-opt %s -air-to-aie='test-patterns=to-aie-mlir insert-trace-packet-flow=true' | FileCheck %s
99
// CHECK: aie.packet_flow(0) {
1010
// CEHCK: aie.packet_source<%tile_1_1, Trace : 0>
11-
// CHECK: aie.packet_dest<%tile_1_0, DMA : 1>
11+
// CHECK: aie.packet_dest<%shim_pl_tile_1_0, DMA : 1>
1212
// CHECK: } {keep_pkt_header = true}
1313
module {
1414

programming_examples/matrix_scalar_add/single_core_dma/single_core_dma.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ def herd_body(_tx, _ty, _sx, _sy, a, b):
6969
image_width // tile_width
7070
),
7171
)
72-
tile_num = arith.AddIOp(tile_num, tile_index1)
72+
tile_num = arith.AddIOp(tile_num.results[0], tile_index1)
7373

7474
# Copy a tile from the input image (a) into the L1 memory region (tile_in)
7575
dma_memcpy_nd(

tools/air-runner/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ set(LIBS
1919

2020
target_link_libraries(air-runner PRIVATE ${LIBS})
2121

22-
export_executable_symbols(mlir-cpu-runner)
22+
export_executable_symbols(mlir-runner)

utils/build-llvm-local.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ CMAKE_CONFIGS="\
5959
-DLLVM_OPTIMIZED_TABLEGEN=OFF \
6060
-DMLIR_ENABLE_BINDINGS_PYTHON=ON \
6161
-Dpybind11_DIR=${PYTHON_ROOT}/pybind11/share/cmake/pybind11 \
62-
-DLLVM_DISTRIBUTION_COMPONENTS=cmake-exports;not;count;FileCheck;MLIRPythonModules;mlir-cpu-runner;mlir-linalg-ods-yaml-gen;mlir-opt;mlir-reduce;mlir-tblgen;mlir-translate;mlir-headers;mlir-cmake-exports"
62+
-DLLVM_DISTRIBUTION_COMPONENTS=cmake-exports;not;count;FileCheck;MLIRPythonModules;mlir-runner;mlir-linalg-ods-yaml-gen;mlir-opt;mlir-reduce;mlir-tblgen;mlir-translate;mlir-headers;mlir-cmake-exports"
6363

6464
if [ -x "$(command -v lld)" ]; then
6565
CMAKE_CONFIGS="${CMAKE_CONFIGS} -DLLVM_USE_LINKER=lld"

utils/clone-llvm.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
#
1515
##===----------------------------------------------------------------------===##
1616

17-
export commithash=4b06b01e62ab0cfd059f47dceeb6cd0fb96304c9
17+
export commithash=e6d16f93b329f2f9618d18d0b99c6060e206cf08
1818
target_dir=llvm
1919

2020
# clone llvm if it is not there already

utils/clone-mlir-aie.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
#
1515
##===----------------------------------------------------------------------===##
1616

17-
export HASH=0d03400dca76782df37ef9f945ce9820904d887f
17+
export HASH=3a35554470eb44deea91d016ed14389265c46dbb
1818
target_dir=mlir-aie
1919

2020
if [[ ! -d $target_dir ]]; then

0 commit comments

Comments
 (0)