[SelectionDAG] Use TypeSize variant of ComputeValueVTs to compute correct offsets...
authorPaul Walker <paul.walker@arm.com>
Mon, 14 Aug 2023 13:26:35 +0000 (13:26 +0000)
committerTobias Hieta <tobias@hieta.se>
Fri, 18 Aug 2023 07:50:57 +0000 (09:50 +0200)
commit242fe2d8d86e643e70443292751a08c456862198
treef09cd282f30819286b249c7fc1462a6674a4048c
parent2ad55edf7181e96e4caa12add7949f7b1f98ee1c
[SelectionDAG] Use TypeSize variant of ComputeValueVTs to compute correct offsets for scalable aggregate types.

Differential Revision: https://reviews.llvm.org/D157872
llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
llvm/test/CodeGen/AArch64/alloca-load-store-scalable-struct.ll
llvm/test/CodeGen/AArch64/sve-extract-fixed-vector.ll
llvm/test/CodeGen/RISCV/rvv/alloca-load-store-scalable-struct.ll