[llvm] [SelectionDAG] Support integer promotion for VP_LOAD and VP_STORE (PR #81299)

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 30 13:48:59 PDT 2024


topperc wrote:

> it looks the patch is target independent, I run the `llc llvm/test/CodeGen/RISCV/rvv/vpload.ll -mtriple powerpc64-ibm-aix7.2.0.0` in powerpc, it hit a error
> 
> LLVM ERROR: Invalid size request on a scalable vector.

Scalable vectors are only supported for RISC-V vectors and AArch SVE. Any other target will crash. They would need to be scalarized before SelectionDAG by an IR pass which no one has written.

https://github.com/llvm/llvm-project/pull/81299


More information about the llvm-commits mailing list