[all-commits] [llvm/llvm-project] 6d68ef: [mlir][Vector] Canonicalize create_mask(transpose)
Diego Caballero via All-commits
all-commits at lists.llvm.org
Thu Mar 16 07:37:54 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 6d68ef4e38fb3e701a8aacede568f57b73ebcfbf
https://github.com/llvm/llvm-project/commit/6d68ef4e38fb3e701a8aacede568f57b73ebcfbf
Author: Diego Caballero <diegocaballero at google.com>
Date: 2023-03-16 (Thu, 16 Mar 2023)
Changed paths:
M mlir/lib/Dialect/Vector/IR/VectorOps.cpp
M mlir/test/Dialect/Vector/canonicalize.mlir
Log Message:
-----------
[mlir][Vector] Canonicalize create_mask(transpose)
When applying vector masking we may create a mask and then transpose it.
Transpositions are extremely expensive so this patch introduces a new
canonicalization pattern that remove the tranpose operation and create a
new transposed mask.
Differential Revision: https://reviews.llvm.org/D146193
More information about the All-commits
mailing list