]> granicus.if.org Git - clang/commit
[X86] Support -mlong-double-80
authorTroy A. Johnson <troyj@cray.com>
Fri, 16 Aug 2019 21:00:22 +0000 (21:00 +0000)
committerTroy A. Johnson <troyj@cray.com>
Fri, 16 Aug 2019 21:00:22 +0000 (21:00 +0000)
commit9542e61e88e000224dcf3b573eb8f93ecc266dc3
tree27d60a4d698d8023b4ece3ca4310eee74a604e2c
parent5a09d3dd6be72d22b0cbe3601e5e1f7d482d544c
[X86] Support -mlong-double-80

Add an option group for all of the -mlong-double-* options and make
-mlong-double-80 restore the default long double behavior for X86.  The
motivations are that GNU accepts the -mlong-double-80 option and that complex
Makefiles often need a way of undoing earlier options. Prior to this commit, if
one chooses 64-bit or 128-bit long double for X86, there is no way to undo that
choice and restore the 80-bit behavior.

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@369152 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Driver/Options.td
lib/Driver/ToolChains/Clang.cpp
test/Driver/mlong-double-128.c