diff options
author | Fraser Cormack <fraser@codeplay.com> | 2022-01-24 18:11:14 +0000 |
---|---|---|
committer | Fraser Cormack <fraser@codeplay.com> | 2022-01-27 09:00:41 +0000 |
commit | 84e85e025e02211d1f24ea423cd1be8945e70009 (patch) | |
tree | 734e65609501a6f22b3f234bfdd9d36d0a38e47d /llvm/lib/Transforms/Utils/LoopVersioning.cpp | |
parent | 6730df4779cd2f6328fe8cb6dec1dced8cabe4c5 (diff) | |
download | llvm-84e85e025e02211d1f24ea423cd1be8945e70009.zip llvm-84e85e025e02211d1f24ea423cd1be8945e70009.tar.gz llvm-84e85e025e02211d1f24ea423cd1be8945e70009.tar.bz2 |
[SelectionDAG][VP] Provide expansion for VP_MERGE
This patch adds support for expanding VP_MERGE through a sequence of
vector operations producing a full-length mask setting up the elements
past EVL/pivot to be false, combining this with the original mask, and
culminating in a full-length vector select.
This expansion should work for any data type, though the only use for
RVV is for boolean vectors, which themselves rely on an expansion for
the VSELECT.
Reviewed By: craig.topper
Differential Revision: https://reviews.llvm.org/D118058
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopVersioning.cpp')
0 files changed, 0 insertions, 0 deletions