Skip to content

Commit

Permalink
limits to 2D vector ops only (#941)
Browse files Browse the repository at this point in the history
  • Loading branch information
Garra1980 authored Oct 24, 2024
1 parent 52cadab commit c496ee1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Dialect/XeTile/Transforms/BlockingAnalysis.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -563,7 +563,7 @@ void BlockingAnalysisImpl::visitVectorizableOp(
return;

auto type = mlir::dyn_cast<mlir::VectorType>(op->getResult(0).getType());
if (!type)
if (!type || type.getRank() != 2)
return;

auto lattice = results[0]->getValue();
Expand Down

0 comments on commit c496ee1

Please sign in to comment.