[llvm-branch-commits] [RISCV] Combine vwaddu_wv+vabd(u) to vwabda(u) (PR #184603)
Mikhail Gudim via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Fri Mar 6 08:32:33 PST 2026
mgudim wrote:
> RVV intrinsics only support scalable vectors, and if it's coming from x264 it will be generated by SLP which will need fixed length vectors I think. Did you have a different approach downstream?
Yes, I did this with a fixed-lenght intrinsic (generated in RISCVCodeGenPrepare) and then used the same lowering as other fixed-length intrinsics (using `convertToScalableVector`). The only reason why I did it this way is because it was faster and easier). I was just curios if there is any comparison between these two approaches.
https://github.com/llvm/llvm-project/pull/184603
More information about the llvm-branch-commits
mailing list