HomePhabricator

[Clang][AArch64] Disable rounding of return values for AArch64

Authored by asavonic on Apr 13 2021, 6:28 AM.

Description

[Clang][AArch64] Disable rounding of return values for AArch64

If a return value is explicitly rounded to 64 bits, an additional zext
instruction is emitted, and in some cases it prevents tail call
optimization.

As discussed in D100225, this rounding is not necessary and can be
disabled.

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

Details

Committed
asavonicMay 4 2021, 10:29 AM
Differential Revision
D100591: [Clang][AArch64] Disable rounding of return values for AArch64
Parents
rG0172b1389ecf: [docs] Fix some wording
Branches
Unknown
Tags
Unknown