aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Basic/Module.cpp
diff options
context:
space:
mode:
authorAzharuddin Mohammed <azharudd@codeaurora.org>2018-07-30 18:18:59 +0000
committerAzharuddin Mohammed <azharudd@codeaurora.org>2018-07-30 18:18:59 +0000
commitec6bdf8d4f5cb6b7dc9875b99c821db9a1bab0b7 (patch)
treeec1c0ca3aae20183786f40ca5ed9e49c9ea96355 /clang/lib/Basic/Module.cpp
parentf985f9812847628a107d72b6a8e38a6b0720c706 (diff)
downloadllvm-ec6bdf8d4f5cb6b7dc9875b99c821db9a1bab0b7.zip
llvm-ec6bdf8d4f5cb6b7dc9875b99c821db9a1bab0b7.tar.gz
llvm-ec6bdf8d4f5cb6b7dc9875b99c821db9a1bab0b7.tar.bz2
[cmake] [ARM] Exclude any VFP builtins if VFP is not supported
Summary: rL325492 disables FPU features when using soft floating point (-mfloat-abi=soft), which is used internally when building for arm. This causes errors with builtins that utililize VFP instructions. With this change we check if VFP is enabled (by checking if the preprocessor macro __VFP_FP__ is defined), and exclude such builtins if it is not enabled. Reviewers: rengolin, samsonov, compnerd, smeenai, javed.absar, peter.smith Reviewed By: peter.smith Subscribers: delcypher, peter.smith, mgorny, kristof.beyls, chrib, llvm-commits Differential Revision: https://reviews.llvm.org/D47217 llvm-svn: 338284
Diffstat (limited to 'clang/lib/Basic/Module.cpp')
0 files changed, 0 insertions, 0 deletions