llvm-project/clang/lib/Driver
Keith Walker 167961f6dc [ARM] disable FPU features when using soft floating point.
To be compatible with GCC if soft floating point is in effect any FPU
specified is effectively ignored, eg,

  -mfloat-abi=soft -fpu=neon

If any floating point features which require FPU hardware are enabled
they must be disable.

There was some support for doing this for NEON, but it did not handle
VFP, nor did it prevent the backend from emitting the build attribute
Tag_FP_arch describing the generated code as using the floating point
hardware if a FPU was specified (even though soft float does not use
the FPU).

Disabling the hardware floating point features for targets which are
compiling for soft float has meant that some tests which were incorrectly
checking for hardware support also needed to be updated. In such cases,
where appropriate the tests have been updated to check compiling for
soft float and a non-soft float variant (usually softfp). This was
usually because the target specified in the test defaulted to soft float.

Differential Revision: https://reviews.llvm.org/D42569

llvm-svn: 325492
2018-02-19 12:40:26 +00:00
..
ToolChains [ARM] disable FPU features when using soft floating point. 2018-02-19 12:40:26 +00:00
Action.cpp Fix MSVC "not all control paths return a value" warning 2016-10-28 10:09:35 +00:00
CMakeLists.txt [RISCV] Add the RISCV target and compiler driver 2018-01-11 13:36:56 +00:00
Compilation.cpp [Driver] Make clang/cc conforms to UNIX standard 2017-11-10 01:32:47 +00:00
Distro.cpp [Driver] add initial support for alpine linux 2017-11-19 00:08:12 +00:00
Driver.cpp Further cleanup to Driver mode code, as suggested by dblaikie [NFC] 2018-02-12 17:47:01 +00:00
DriverOptions.cpp Revert "Revert r311552: [Bash-autocompletion] Add support for static analyzer flags" 2017-08-29 00:09:31 +00:00
InputInfo.h Add an Action* member to InputInfo. 2016-01-11 23:15:21 +00:00
Job.cpp Revert 320391: Certain targets are failing, pulling back to diagnose. 2017-12-11 18:14:51 +00:00
Multilib.cpp Multilib: add dump methods 2017-05-05 21:30:13 +00:00
Phases.cpp
SanitizerArgs.cpp Reland "[Driver] Update default sanitizer blacklist location" 2018-01-14 03:43:17 +00:00
Tool.cpp Rename the version of ConstructJob for multiple outputs to ConstructJobMultipleOutputs. 2016-11-03 15:41:50 +00:00
ToolChain.cpp [Sanitizers] Basic Solaris sanitizer support (PR 33274) 2018-02-05 23:59:13 +00:00
Types.cpp [Driver][OpenMP] Update actions builder to create unbundling action when necessary. 2016-10-27 18:00:51 +00:00
XRayArgs.cpp [XRay][clang] Introduce -fxray-always-emit-customevents 2017-11-30 00:04:54 +00:00