Skip to content

Commit

Permalink
Adds arith.select to the op patters in order to canonicalize non 32 b…
Browse files Browse the repository at this point in the history
…it selects.

PiperOrigin-RevId: 683793926
  • Loading branch information
Google-ML-Automation committed Oct 19, 2024
1 parent 884f1dc commit ecc52c1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -518,7 +518,7 @@ struct LinalgVectorizationPass
// unrelated to the original linalg op.
SmallVector<Operation *> linalgOps;
func.walk([&](Operation *op) {
if (dyn_cast<linalg::LinalgOp>(op) ||
if (dyn_cast<arith::SelectOp>(op) || dyn_cast<linalg::LinalgOp>(op) ||
dyn_cast<vector::TransferReadOp>(op) ||
dyn_cast<vector::TransferWriteOp>(op) ||
dyn_cast<vector::ContractionOp>(op) ||
Expand Down

0 comments on commit ecc52c1

Please sign in to comment.