[all-commits] [llvm/llvm-project] 3669d0: [mlir][linalg] Only apply masking on xfer_write wh...
Han-Chung Wang via All-commits
all-commits at lists.llvm.org
Wed May 24 18:24:40 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 3669d07987a7fe142db6d911b64a356bd9b5a0a3
https://github.com/llvm/llvm-project/commit/3669d07987a7fe142db6d911b64a356bd9b5a0a3
Author: Hanhan Wang <hanchung at google.com>
Date: 2023-05-24 (Wed, 24 May 2023)
Changed paths:
M mlir/lib/Dialect/Linalg/Transforms/Vectorization.cpp
M mlir/test/Dialect/Linalg/vectorization-masked.mlir
Log Message:
-----------
[mlir][linalg] Only apply masking on xfer_write when needed.
If the input vector sizes are as same as tensor.pad result shape, the
masking is not needed. Otherwise, the masking is needed and the masking
operands should be as same as tensor.empty op.
Reviewed By: dcaballe
Differential Revision: https://reviews.llvm.org/D151391
More information about the All-commits
mailing list