Files
clang-p2996/clang/lib/CodeGen/SwiftCallingConv.cpp
Arnold Schwaighofer 08e9c462ea SwiftCallingConv: Fix the splitVectorEntry function (#69953)
When splitting an entry into multiple entries, the indices of the split
entries are a combination of the original split entry's and the number
of elements we split that entry to.

Failure to do so resulted in non-sensical entries leading e.g to
assertion failures in `getCoerceAndExpandTypes` and runtime failures in
Swift programs.
2023-10-27 11:42:37 -07:00

30 KiB