when legality check for vectoring reduction, hasVInstructions() check be unneeded. RISCV can only loop vectorization with hasVInstructions()
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
LGTM, but please fix the description to use hasVInstructions instead of hasStdExtV since that's what's in the code.
Comment Actions
hasVInstructions() check be unneeded. RISCV can only loop vectorization with hasVInstructions()
For long term, I think that's not true, P/Packed-SIMD extensions should be able to apply loop vectorization too, but I am not opposite this getting merge, just remind we might need to add back in future.
Comment Actions
I think we may need another feature to support P/Packed-SIMD extensions. We need to process this before legalization。