This is an archive of the discontinued LLVM Phabricator instance.

[doc] Document that __fp16 will apply default argument promotion rule.
Needs ReviewPublic

Authored by kito-cheng on Mar 3 2021, 10:42 PM.

Details

Summary

According Procedure Call Standard for the ARM 64-bit Architecture, __fp16 has specified it will promote to double when passed to unprototyped and variadic.

Diff Detail

Event Timeline

kito-cheng requested review of this revision.Mar 3 2021, 10:42 PM
kito-cheng created this revision.
Herald added a project: Restricted Project. · View Herald TranscriptMar 3 2021, 10:42 PM
Herald added a subscriber: cfe-commits. · View Herald Transcript
kito-cheng edited the summary of this revision. (Show Details)Mar 3 2021, 10:44 PM
kito-cheng edited the summary of this revision. (Show Details)Mar 3 2021, 11:34 PM
kito-cheng added a comment.EditedMar 3 2021, 11:35 PM

Update SUMMARY, first version I just incorrectly said ACLE didn't clarify the default argument promotion rule, but I found that in ARM ABI spec later.

evandro added a subscriber: evandro.Mar 4 2021, 7:39 PM