summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/AVR
diff options
context:
space:
mode:
authorJohn Brawn <john.brawn@arm.com>2017-03-15 14:03:32 +0000
committerJohn Brawn <john.brawn@arm.com>2017-03-15 14:03:32 +0000
commit5c4c61184a02b02f49793c0ec91138df56089461 (patch)
tree8f9aa0b8f3094301672be6b6cb94334bbd4948a3 /llvm/lib/Target/AVR
parent8633d96836edbfbbc323a9bb19ff1f60fc99addc (diff)
downloadbcm5719-llvm-5c4c61184a02b02f49793c0ec91138df56089461.tar.gz
bcm5719-llvm-5c4c61184a02b02f49793c0ec91138df56089461.zip
[Driver] Restructure handling of -ffast-math and similar options
The way -ffast-math and the various related options to tweak floating-point handling are handled is inflexible and rather confusing. This patch restructures things so that we go through the options adjusting our idea of what's enabled as we go, instead of trying to figure each individual thing out by working backwards from the end, as this makes the behaviour of each individual option more clear. Doing it this way also means we get gcc-compatible behaviour for when the __FAST_MATH__ and __FINITE_MATH_ONLY__ macros are defined, as they should depend on the final set of features that are enabled and not just on -ffast-math and -ffinite-math-only specifically. Differential Revision: http://reviews.llvm.org/D30582 llvm-svn: 297837
Diffstat (limited to 'llvm/lib/Target/AVR')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud