Add pattern for vnsrl.wi and vnsra.wi instructions
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/lib/Target/RISCV/RISCVInstrInfoVVLPatterns.td | ||
---|---|---|
799–800 | It feels to me like we should just have one VPatBinarySDNode_V_WV_WX_WI since the individual WV, WX, and WI patterns are only ever used in conjunction with one another. |
llvm/lib/Target/RISCV/RISCVInstrInfoVVLPatterns.td | ||
---|---|---|
676 | The new pattern and the existing patterns are all checking for the VL being exactly X0. Why is that? |
llvm/lib/Target/RISCV/RISCVInstrInfoVVLPatterns.td | ||
---|---|---|
676 | This patch https://reviews.llvm.org/D118845 move VLMax to X0 |
llvm/lib/Target/RISCV/RISCVInstrInfoVVLPatterns.td | ||
---|---|---|
676 | That wasn't what I was referring to. Most of the patterns in this file use VLOpFrag not X0 so that they work for fixed vectors and VP intrinsics too. This pattern only works VLMax scalable vectors. |
The new pattern and the existing patterns are all checking for the VL being exactly X0. Why is that?