Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
17 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 2 additions & 9 deletions lib/PTO/IR/PTO.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5166,15 +5166,8 @@ mlir::LogicalResult mlir::pto::TExtractOp::verify() {
return emitOpError("expects A5 textract src to use a supported mat blayout/slayout combination");
if (*dstSpace == pto::AddressSpace::LEFT ||
*dstSpace == pto::AddressSpace::RIGHT) {
auto indexRowVal = getConstantIntegerValueEx(
getIndexRow(), /*includeIndexAndIntOpsInConstFold=*/true);
auto indexColVal = getConstantIntegerValueEx(
getIndexCol(), /*includeIndexAndIntOpsInConstFold=*/true);
if (!indexRowVal || !indexColVal || *indexRowVal != 0 ||
*indexColVal != 0)
return emitOpError(
"expects A5 mat->left/right textract to have indexRow=0 and "
"indexCol=0 (offset extraction not yet supported)");
// Non-zero indexRow/indexCol is supported via start_row/start_col
// on mte_l1_l0a/l0b (PR #469).
}
if (*dstSpace == pto::AddressSpace::LEFT) {
if (dstTb.getBLayoutValueI32() != static_cast<int32_t>(pto::BLayout::ColMajor) ||
Expand Down
Loading
Loading