summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorSaleem Abdulrasool <compnerd@compnerd.org>2017-01-13 16:25:33 +0000
committerSaleem Abdulrasool <compnerd@compnerd.org>2017-01-13 16:25:33 +0000
commit6ef45916c6132a536126446b606df008fc406593 (patch)
tree6334e5663eede7968d8053324ffef3b4aee57ef2 /clang/lib/Frontend/CompilerInvocation.cpp
parent1e799942b37d04f30b73f6a9e792d551dadafeea (diff)
downloadbcm5719-llvm-6ef45916c6132a536126446b606df008fc406593.tar.gz
bcm5719-llvm-6ef45916c6132a536126446b606df008fc406593.zip
ARM: match GCC's behaviour for builtins
GCC changes the CC between the user-code and the builtins based on the value of `-target` rather than `-mfloat-abi`. When a HF target is used, the VFP variant of the AAPCS CC is used. Otherwise, the AAPCS variant is used. In all cases, the AEABI functions use the AAPCS CC. Adjust the calling convention based on the target. Resolves PR30543! llvm-svn: 291909
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud