This change make WidenVecRes_SELECT work for scalable vectors. This patch is split from [D110319](https://reviews.llvm.org/D110319)
Signed-off-by: Eric Tang <tangxingxin1008@gmail.com>
Paths
| Differential D110388
[SelectionDAG] Make WidenVecRes_SELECT work for scalable vectors ClosedPublic Authored by tangxingxin1008 on Sep 24 2021, 12:38 AM.
Details Summary This change make WidenVecRes_SELECT work for scalable vectors. This patch is split from [D110319](https://reviews.llvm.org/D110319) Signed-off-by: Eric Tang <tangxingxin1008@gmail.com>
Diff Detail
Event TimelineHerald added subscribers: ecnelises, luismarques, apazos and 19 others. · View Herald TranscriptSep 24 2021, 12:38 AM
This revision is now accepted and ready to land.Oct 1 2021, 12:39 AM Comment Actions Sorry, I don't know how to merged this patch, and get a wrong way to close this revision. Please forgive me for my mistake. This revision is now accepted and ready to land.Nov 16 2021, 2:52 AM Comment Actions
To merge a patch you'll need to request commit access to LLVM (see https://llvm.org/docs/DeveloperPolicy.html#obtaining-commit-access) so that you can do git push. This then closes the revision in Phabricator automatically. If you don't have commit access yet, I'd be happy to commit the patch for you. Comment Actions
Thank you very much, @sdesmalen , I don't have the commit access, please help me. This revision was landed with ongoing or failed builds.Nov 17 2021, 12:56 AM Closed by commit rGf7eb061a5f1e: [SelectionDAG] Make WidenVecRes_SELECT work for scalable vectors (authored by tangxingxin1008, committed by sdesmalen). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 387862 llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
llvm/test/CodeGen/AArch64/sve-pred-log.ll
llvm/test/CodeGen/AArch64/sve-select.ll
llvm/test/CodeGen/RISCV/rvv/vselect-int-rv32.ll
llvm/test/CodeGen/RISCV/rvv/vselect-int-rv64.ll
|
Would you mind also adding a test for the case when the condition is a vector that needs widening, i.e.