mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-24 04:46:07 +00:00

Pointers are already handled as taking up a register in the ABI handling, but the handling for structs was not taking this into account. This patch changes the struct handling to acknowledge that pointer arguments take up an integer register. Fixes #123075 (cherry picked from commit 449f84fea652e31de418c3087d7e3628809241b4)