[all-commits] [llvm/llvm-project] 08e9c4: SwiftCallingConv: Fix the splitVectorEntry functio...
Arnold Schwaighofer via All-commits
all-commits at lists.llvm.org
Fri Oct 27 11:42:51 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 08e9c462eaa900449c2250c7ae84d9d303de9fb4
https://github.com/llvm/llvm-project/commit/08e9c462eaa900449c2250c7ae84d9d303de9fb4
Author: Arnold Schwaighofer <aschwaighofer at apple.com>
Date: 2023-10-27 (Fri, 27 Oct 2023)
Changed paths:
M clang/lib/CodeGen/SwiftCallingConv.cpp
M clang/test/CodeGen/64bit-swiftcall.c
Log Message:
-----------
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.
More information about the All-commits
mailing list