This patch uses VP_REDUCE_AND and VP_REDUCE_OR to replace VP_REDUCE_SMAX,VP_REDUCE_SMIN,VP_REDUCE_UMAX and VP_REDUCE_UMIN for mask vector type.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D125002
[SelectionDAG] Support more VP reduction mask operation. ClosedPublic Authored by jacquesguan on May 5 2022, 4:22 AM.
Details Summary This patch uses VP_REDUCE_AND and VP_REDUCE_OR to replace VP_REDUCE_SMAX,VP_REDUCE_SMIN,VP_REDUCE_UMAX and VP_REDUCE_UMIN for mask vector type.
Diff Detail
Event TimelineHerald added subscribers: StephenFan, ecnelises, luismarques and 20 others. · View Herald Transcript This revision is now accepted and ready to land.May 8 2022, 8:44 PM This revision was landed with ongoing or failed builds.May 17 2022, 2:15 AM Closed by commit rG26593e73147d: [SelectionDAG] Support more VP reduction mask operation. (authored by jacquesguan). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 429970 llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
llvm/test/CodeGen/RISCV/rvv/fixed-vectors-reduction-mask-vp.ll
llvm/test/CodeGen/RISCV/rvv/vreductions-mask-vp.ll
|