[CGCall][RISCV] Handle function calls with parameter of RVV tuple type
authoreopXD <yueh.ting.chen@gmail.com>
Tue, 15 Aug 2023 07:22:43 +0000 (00:22 -0700)
committerTobias Hieta <tobias@hieta.se>
Fri, 25 Aug 2023 07:30:55 +0000 (09:30 +0200)
commit6d0ff3d27ced294d89775fda9ff4de2c6844d9e0
tree6ab208386f3f69f3e146115869235887ac7082a5
parent1d54dc2f75861295aeb99f480aed244dc5cedea5
[CGCall][RISCV] Handle function calls with parameter of RVV tuple type

This was an oversight in D146872, where function calls with tuple type
was not covered. This commit fixes this.

Reviewed By: craig.topper

Differential Revision: https://reviews.llvm.org/D157953

(cherry picked from commit 39a41c8905618fc942100630b4ea37f0cb95e786)
clang/lib/CodeGen/CGCall.cpp
clang/test/CodeGen/RISCV/rvv-intrinsics-handcrafted/rvv-tuple-type.c
llvm/test/Transforms/SROA/scalable-vector-struct.ll