[all-commits] [llvm/llvm-project] af5c47: [mlir][Vector] Add vector.extract(vector.shuffle) ...
Diego Caballero via All-commits
all-commits at lists.llvm.org
Wed Nov 6 18:17:33 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: af5c471a4d9a9bff30b381d1fe2fe828672bb812
https://github.com/llvm/llvm-project/commit/af5c471a4d9a9bff30b381d1fe2fe828672bb812
Author: Diego Caballero <dieg0ca6aller0 at gmail.com>
Date: 2024-11-06 (Wed, 06 Nov 2024)
Changed paths:
M mlir/lib/Dialect/Vector/IR/VectorOps.cpp
M mlir/test/Dialect/Vector/canonicalize.mlir
Log Message:
-----------
[mlir][Vector] Add vector.extract(vector.shuffle) folder (#115105)
This PR adds a folder for extracting an element from a vector shuffle.
It turns something like:
```
%shuffle = vector.shuffle %a, %b [0, 8, 7, 15]
: vector<8xf32>, vector<8xf32>
%extract = vector.extract %shuffle[3] : f32 from vector<4xf32>
```
into:
```
%extract = vector.extract %b[7] : f32 from vector<8xf32>
```
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list