diff options
author | Diego Caballero <dieg0ca6aller0@gmail.com> | 2025-05-23 08:29:57 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-05-23 08:29:57 -0700 |
commit | 204eb70af894770fb4b9107fbcf3003cb3f9cb72 (patch) | |
tree | d1470d38a21387d2d0aea19142e4a087f8754ec0 /llvm/lib/Object/OffloadBundle.cpp | |
parent | 1bdec97799bf02f6a8bb151f7af0cced6607403b (diff) | |
download | llvm-204eb70af894770fb4b9107fbcf3003cb3f9cb72.zip llvm-204eb70af894770fb4b9107fbcf3003cb3f9cb72.tar.gz llvm-204eb70af894770fb4b9107fbcf3003cb3f9cb72.tar.bz2 |
[mlir][Vector] Canonicalize empty `vector.mask` into `arith.select` (#140976)
This PR adds a missing canonicalization for empty `vector.mask` ops with
a passthru value.
```
%0 = vector.mask %mask, %passthru { vector.yield %a : vector<8xf32> } :
vector<8xi1> -> vector<8xf32>
becomes:
%0 = arith.select %mask, %a, %passthru : vector<8xf32>
```
Diffstat (limited to 'llvm/lib/Object/OffloadBundle.cpp')
0 files changed, 0 insertions, 0 deletions