summaryrefslogtreecommitdiffstats
path: root/llvm/lib/ExecutionEngine/ExecutionEngine.cpp
diff options
context:
space:
mode:
authorAzharuddin Mohammed <azharudd@codeaurora.org>2018-05-24 18:53:16 +0000
committerAzharuddin Mohammed <azharudd@codeaurora.org>2018-05-24 18:53:16 +0000
commit80968a9aba7560d7ccad36639ec4c9586d3f461c (patch)
tree7a419c03377d74cf95ec4a6f2aad8464446bdaad /llvm/lib/ExecutionEngine/ExecutionEngine.cpp
parent54ddd7426eee9c818a783ac6d8bf3fabcd57660a (diff)
downloadbcm5719-llvm-80968a9aba7560d7ccad36639ec4c9586d3f461c.tar.gz
bcm5719-llvm-80968a9aba7560d7ccad36639ec4c9586d3f461c.zip
[cmake] [ARM] Check if VFP is supported before including any VFP builtins
Summary: rL325492 disables FPU features when using soft floating point (-mfloat-abi=soft), which is used internally when building for armv7. This causes errors with builtins that utililize VFP instructions. With this change we first check if VFP is enabled (by checking if the preprocessor macro __VFP_FP__ is defined) before including such builtins. Reviewers: rengolin, samsonov, compnerd, smeenai, javed.absar, peter.smith Reviewed By: peter.smith Subscribers: peter.smith, mgorny, kristof.beyls, chrib, llvm-commits Differential Revision: https://reviews.llvm.org/D47217 llvm-svn: 333216
Diffstat (limited to 'llvm/lib/ExecutionEngine/ExecutionEngine.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud