aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2014-02-11 23:49:31 +0000
committerEvan Cheng <evan.cheng@apple.com>2014-02-11 23:49:31 +0000
commit57add3e4eedb9ce9247a889b3fc8b1664126e870 (patch)
treed597ca9fdc1ccd2bade734bb0c9beaf28d6a5545 /clang/lib/Frontend/CompilerInvocation.cpp
parentf07361d19ad9626575e7e08630a32967723a29ee (diff)
downloadllvm-57add3e4eedb9ce9247a889b3fc8b1664126e870.zip
llvm-57add3e4eedb9ce9247a889b3fc8b1664126e870.tar.gz
llvm-57add3e4eedb9ce9247a889b3fc8b1664126e870.tar.bz2
Tweak ARM fastcc by adopting these two AAPCS rules:
* CPRCs may be allocated to co-processor registers or the stack – they may never be allocated to core registers * When a CPRC is allocated to the stack, all other VFP registers should be marked as unavailable The difference is only noticeable in rare cases where there are a large number of floating point arguments (e.g. 7 doubles + additional float, double arguments). Although it's probably still better to avoid vmov as it can cause stalls in some older ARM cores. The other, more subtle benefit, is to minimize difference between the various calling conventions. rdar://16039676 llvm-svn: 201193
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions