Skip to content

Commit

Permalink
Bump IREE to e14d6cd and mlir-air to 6869192 (nod-ai#1076)
Browse files Browse the repository at this point in the history
  • Loading branch information
yzhang93 authored Feb 3, 2025
1 parent c3c05fa commit 31ec62b
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ LogicalResult setDmaInputs(Operation *&operandOp,
if (isa<memref::AllocOp>(operandOp) ||
isa<IREE::HAL::InterfaceBindingSubspanOp>(operandOp)) {
MemRefType memRefType = cast<MemRefType>(operandOp->getResult(0).getType());
auto [stridesI64, baseOffset] = getStridesAndOffset(memRefType);
auto [stridesI64, baseOffset] = memRefType.getStridesAndOffset();
if (baseOffset != 0) {
auto message = llvm::formatv(
"with non-zero base offset {0} is not supported by the "
Expand Down Expand Up @@ -197,8 +197,8 @@ LogicalResult setDmaInputs(Operation *&operandOp,
return subviewOp->emitOpError(message);
}
offsets = subviewOp.getMixedOffsets();
auto [stridesI64, baseOffset] =
getStridesAndOffset(subviewOp.getSource().getType());
MemRefType subviewType = subviewOp.getSource().getType();
auto [stridesI64, baseOffset] = subviewType.getStridesAndOffset();
if (baseOffset != 0) {
auto message = llvm::formatv(
"has non-zero base offset {0} that is not supported by the "
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ void AMDAIEFlattenLogicalObjectFifoPass::runOnOperation() {
rewriter.getUnknownLoc(), newLogicalObjectFifo.getOutput(),
accessOp.getAccessType());

auto [strides, baseOffset] = getStridesAndOffset(oldType);
auto [strides, baseOffset] = oldType.getStridesAndOffset();
auto reinterpretOp = rewriter.create<memref::ReinterpretCastOp>(
rewriter.getUnknownLoc(), oldType, newAccessOp.getOutput(),
baseOffset, oldType.getShape(), strides);
Expand Down
2 changes: 1 addition & 1 deletion third_party/iree
Submodule iree updated 221 files

0 comments on commit 31ec62b

Please sign in to comment.