Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[MLIR] Vectorize tensor.extract on 1-d tensor
This patch implements the vectorization of tensor.extract for the basic 1-d lookup case. It only vectorizes the tensor.extract to a vector.gather when the op extracts value from an 1-d tensor. Related discussion: iree-org/iree#9198 Reviewed By: dcaballe Differential Revision: https://reviews.llvm.org/D133786
- Loading branch information
Showing
3 changed files
with
164 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters