When expanding VP reductions to non VP-code, the reduction pass was ignoring the mask before. Fix this by keeping the mask and selecting neutral elements where the mask is zero.
Details
Details
Summary
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
simoll added a parent revision: D125296: [VP] vp intrinsics are not speculatable.May 25 2022, 2:43 AM
This revision is now accepted and ready to land.May 25 2022, 3:48 AM
This revision was landed with ongoing or failed builds.May 25 2022, 6:55 AM
Closed by commit rG6e12711081d7: [VP][fix] Don't discard masks in reductions (authored by simoll). · Explain Why
This revision was automatically updated to reflect the committed changes.