This implements vp_add, vp_and for the VE target by lowering them to the VVP_* layer. We also add helper functions for VP SDNodes (isVPSDNode, getVPMaskIdx, getVPExplicitVectorLengthIdx).
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
In case you were wondering, the ISD helper functions are stapled to this VE patch to make a nice testable unit.
Comment Actions
I think we need more reviewer working on not only VVP but also VP to review this patch.
Comment Actions
We want somebody that has reviewed VP patches before to review the VP bits of this (getters, really). @kaz7 takes care of the VE parts. Thanks!
Comment Actions
LGTM also.
Two things to be improved in future:
- I still think it's better to have #define and #undef at caller side to avoid that reviewer look at the end of header files every time.
- It's better to use Opc or OPC instead of OC since it confuse me little bit each time. e.g. OC, OCOpt, and VVPOC variables are confusing me.