Replace getVectorNumElements with getVectorElementCount to enable WidenVecRes_SETCC work for scalable vector.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D125359
[LegalizeVectorTypes] Enable WidenVecRes_SETCC work for scalable vector ClosedPublic Authored by Jimerlife on May 11 2022, 1:29 AM.
Details Summary Replace getVectorNumElements with getVectorElementCount to enable WidenVecRes_SETCC work for scalable vector.
Diff Detail
Event TimelineHerald added subscribers: llvm-commits, alextsao1999, • pcwang-thead and 3 others. · View Herald TranscriptMay 11 2022, 1:29 AM This revision is now accepted and ready to land.May 11 2022, 2:35 AM Jimerlife retitled this revision from [RISCV][LegalizeVectorTypes] Enable WidenVecRes_SETCC work for scalable vector to [LegalizeVectorTypes] Enable WidenVecRes_SETCC work for scalable vector.May 11 2022, 7:07 PM Comment Actions
Thanks, removed [RISCV] in the title. This revision was landed with ongoing or failed builds.May 11 2022, 7:53 PM Closed by commit rG9176096c869d: [LegalizeVectorTypes] Enable WidenVecRes_SETCC work for scalable vector. (authored by Jimerlife). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 428584 llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
llvm/test/CodeGen/RISCV/rvv/setcc-integer.ll
|