Support VP_ADD/VP_SUB/VP_MUL mask operation
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Unit Tests
Unit Tests
Event Timeline
Comment Actions
I don't think this is the right way forward. This would be better handled in a target-independent way the same way add/sub/mul are handled, e.g, transformed to a canonical form. I believe this is during initial SelectionDAG creation though I haven't double-checked. So we'd expect vp.add.v4i1 to be lowered to ISD::VP_XOR, etc. And since we already have mask-vector lowering for logical ops, RISCV shouldn't need any modifications.