Skip to content

Commit

Permalink
Integrates/llvm 20241101@e577f14 (iree-org#18987)
Browse files Browse the repository at this point in the history
bump llvm-project to [llvm/llvm-project@e577f14
](llvm/llvm-project@e577f14)
cherry pick
[iree-org/llvm-porject@854df1e](iree-org/llvm-project@854df1e)

---------

Signed-off-by: Bangtian Liu <[email protected]>
  • Loading branch information
bangtianliu authored Nov 1, 2024
1 parent 3bb7fd2 commit 2f15eeb
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pkgci_regression_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ jobs:
--goldentime-rocm-clip-ms 18.5 \
--goldentime-rocm-vae-ms 337.0 \
--goldendispatch-rocm-unet 1531 \
--goldendispatch-rocm-clip 1139 \
--goldendispatch-rocm-clip 1141 \
--goldendispatch-rocm-vae 246 \
--goldensize-rocm-unet-bytes 2280000 \
--goldensize-rocm-clip-bytes 860000 \
Expand All @@ -242,7 +242,7 @@ jobs:
--goldentime-rocm-clip-ms 15.5 \
--goldentime-rocm-vae-ms 80.0 \
--goldendispatch-rocm-unet 1531 \
--goldendispatch-rocm-clip 1139 \
--goldendispatch-rocm-clip 1141 \
--goldendispatch-rocm-vae 246 \
--goldensize-rocm-unet-bytes 2270000 \
--goldensize-rocm-clip-bytes 860000 \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -626,10 +626,10 @@ func.func @reinterpret_cast_lowering_dynamic_zero_offset() -> f32 {
%0 = hal.interface.constant.load layout(#pipeline_layout) ordinal(0) : index
%1 = hal.interface.constant.load layout(#pipeline_layout) ordinal(1) : index
%2 = hal.interface.binding.subspan layout(#pipeline_layout) binding(0) : memref<?x?xf32>{%0, %1}
%3 = memref.reinterpret_cast %2 to offset: [%c0], sizes: [], strides: [] : memref<?x?xf32> to memref<f32>
%4 = memref.load %3[] : memref<f32>
%3 = memref.reinterpret_cast %2 to offset: [%c0], sizes: [], strides: [] : memref<?x?xf32> to memref<f32, strided<[], offset:?>>
%4 = memref.load %3[] : memref<f32, strided<[], offset:?>>
return %4 : f32
}
// CHECK-LABEL: func @reinterpret_cast_lowering_dynamic_zero_offset()
// CHECK: %[[C0:.+]] = arith.constant 0 : index
// CHECK: memref.reinterpret_cast %{{.+}} to offset: [%[[C0]]], sizes: [], strides: [] : memref<?xf32> to memref<f32>
// CHECK: memref.reinterpret_cast %{{.+}} to offset: [%[[C0]]], sizes: [], strides: [] : memref<?xf32> to memref<f32, strided<[], offset: ?>>
3 changes: 3 additions & 0 deletions compiler/src/iree/compiler/Dialect/LinalgExt/Utils/Utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -352,6 +352,9 @@ bool isGatherlikeOp(Operation *op) {

// `yieldOp` should yield a single value from a `tensor.extract`
auto yieldOp = cast<linalg::YieldOp>(region.front().getTerminator());
if (yieldOp.getNumOperands() != 1) {
return false;
}
auto extractOp = yieldOp.getOperand(0).getDefiningOp<tensor::ExtractOp>();
if (!extractOp) {
return false;
Expand Down
2 changes: 1 addition & 1 deletion third_party/llvm-project
Submodule llvm-project updated 4614 files

0 comments on commit 2f15eeb

Please sign in to comment.