diff options
| author | Pete Cooper <peter_cooper@apple.com> | 2015-04-17 22:16:24 +0000 |
|---|---|---|
| committer | Pete Cooper <peter_cooper@apple.com> | 2015-04-17 22:16:24 +0000 |
| commit | 635b509dee6aa29a1524fa76aacf418a44448c77 (patch) | |
| tree | e54b8d829d3b9dd09e1cdad578f01e72559d09f5 /llvm | |
| parent | b8a108cfc7be0cedc0ced90e415490c9b610c6b7 (diff) | |
| download | bcm5719-llvm-635b509dee6aa29a1524fa76aacf418a44448c77.tar.gz bcm5719-llvm-635b509dee6aa29a1524fa76aacf418a44448c77.zip | |
Change AArch64 i128 returns to use [2 x i64] when possible.
Something like { void*, void * } would be passed to a function as a [2 x i64], but returned as an i128. This patch unifies the 2 behaviours so that we also return it as a [2 x i64].
This is better for the quality of the IR, and the size of the final LLVM binary as we tend to want to insert/extract values from these types and do so with the insert/extract instructions is less IR than shifting, truncating, and or'ing values.
Reviewed by Tim Northover.
llvm-svn: 235231
Diffstat (limited to 'llvm')
0 files changed, 0 insertions, 0 deletions

