Skip to content

Commit

Permalink
Add another pattern set for vectorization
Browse files Browse the repository at this point in the history
  • Loading branch information
Abhishek-Varma committed Aug 29, 2024
1 parent 603bd5d commit 6c22541
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ void AMDAIEVectorizationPass::runOnOperation() {
RewritePatternSet vectorizationPatterns(funcOp.getContext());

vector::populateVectorReductionToContractPatterns(vectorizationPatterns);
vector::populateSinkVectorOpsPatterns(vectorizationPatterns);

// Including this pattern prevents broadcasting in vector.transfer_read ops
vector::populateVectorTransferPermutationMapLoweringPatterns(
Expand Down

0 comments on commit 6c22541

Please sign in to comment.