"llvm/git@repo.hca.bsc.es:lalbano/llvm-bpevl.git" did not exist on "45e50d8a0b9329c42c0ab3bed0e7f6b24c24ae89"
[SVE] Fix TypeSize->uint64_t implicit conversion in visitAlloca()
Fixes a crash ('Invalid size request on a scalable vector') in visitAlloca() when we call this function for a scalable alloca instruction, caused by the implicit conversion of TySize to uint64_t. This patch changes TySize to a TypeSize as returned by getTypeAllocSize() and ensures the allocation size is multiplied by vscale for scalable vectors. Reviewed By: sdesmalen, david-arm Differential Revision: https://reviews.llvm.org/D118372
Loading
Please register or sign in to comment