This should fix the build on LLVM 16 and earlier, at the cost of turning all non-RVV optimisations off.
Attach a file by drag & drop or click to upload