Skip to content
Open
Changes from all commits
Commits
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
2 changes: 2 additions & 0 deletions codegen/compiler/src/Quidditch/Target/PadToTilingConfig.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -403,10 +403,12 @@ void PadToTilingConfig::runOnOperation() {
std::optional<IntegerAttr> attr = getConfigIntegerAttr(
IREE::HAL::ExecutableTargetAttr::lookup(getOperation()), "compute_cores");

getOperation()->emitWarning()<< "\nvvv before padding vvv";
// Pad every linalg op to a multiple of all applied tile sizes.
for (linalg::LinalgOp &linalgOp : workList)
if (failed(padToTileSize(linalgOp, attr)))
return signalPassFailure();
getOperation()->emitWarning()<< "\nvvv after padding vvv";

// First perform just the conversion of zero-pads to undef-pads.
// These must run separately from later patterns that may erase pad ops
Expand Down