Skip to content

Commit

Permalink
[Blocking] Mark vector.store and vector.load as legal op (#911)
Browse files Browse the repository at this point in the history
Mark vector.store and vector.load as legal op
  • Loading branch information
chencha3 authored Oct 3, 2024
1 parent 44a09ea commit f31a332
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/Dialect/XeTile/Transforms/BlockingRewrite.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -886,6 +886,8 @@ class NewXeTileBlockingPass
target.addLegalOp<xetile::TilePackOp>();
target.addLegalOp<xetile::TileUnpackOp>();
target.addLegalOp<mlir::vector::ShapeCastOp>();
target.addLegalOp<mlir::vector::StoreOp>();
target.addLegalOp<mlir::vector::LoadOp>();

target.addDynamicallyLegalOp<mlir::arith::ConstantOp>(
[&](mlir::arith::ConstantOp op) -> bool {
Expand Down

0 comments on commit f31a332

Please sign in to comment.