llvm-project/clang/test
Fangrui Song 11cb39c5fc [X86][PPC] Support -mlong-double-64
-mlong-double-64 is supported on some ports of gcc (i386, x86_64, and ppc{32,64}).
On many other targets, there will be an error:

    error: unrecognized command line option '-mlong-double-64'

This patch makes the driver option -mlong-double-64 available for x86
and ppc. The CC1 option -mlong-double-64 is available on all targets for
users to test on unsupported targets.

LongDoubleSize is added as a VALUE_LANGOPT so that the option can be
shared with -mlong-double-128 when we support it in clang.

Also, make powerpc*-linux-musl default to use 64-bit long double. It is
currently the only supported ABI on musl and is also how people
configure powerpc*-linux-musl-gcc.

Reviewed By: rnk

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

llvm-svn: 365412
2019-07-09 00:27:43 +00:00
..
ARCMT
AST [clang][test][NFC] Explicitly specify clang ABI in AST Dumper test 2019-06-28 22:37:31 +00:00
ASTMerge [ASTImporter] Store import errors for Decls 2019-06-25 08:00:51 +00:00
Analysis [analyzer] exploded-graph-rewriter: Implement a topology-only mode. 2019-07-08 23:54:14 +00:00
CXX Treat the range of representable values of floating-point types as [-inf, +inf] not as [-max, +max]. 2019-07-06 21:05:52 +00:00
ClangScanDeps [clang-scan-deps] use `-Wno-error` when scanning for dependencies 2019-07-03 18:01:32 +00:00
CodeCompletion Re-land "[CodeComplete] Improve overload handling for C++ qualified and ref-qualified methods." 2019-06-10 15:17:52 +00:00
CodeGen [X86][PPC] Support -mlong-double-64 2019-07-09 00:27:43 +00:00
CodeGenCUDA [HIP] Support attribute hip_pinned_shadow 2019-06-26 03:47:37 +00:00
CodeGenCXX Replace temporary variable matches in test since r363952 causes an 2019-07-08 17:35:28 +00:00
CodeGenCoroutines
CodeGenObjC Pattern match struct types in test case. 2019-06-27 21:16:19 +00:00
CodeGenObjCXX [clang][NewPM] Add -fno-experimental-new-pass-manager to tests 2019-06-21 16:03:06 +00:00
CodeGenOpenCL Add nofree attribute to CodeGenOpenCL/convergent.cl test 2019-07-08 16:24:10 +00:00
CodeGenOpenCLCXX [Sema] Diagnose addr space mismatch while constructing objects 2019-06-20 16:23:28 +00:00
Coverage Re-check in clang support gun asm goto after fixing tests. 2019-06-03 15:57:25 +00:00
CoverageMapping Fix clang tests broken by r353547 that depend on InstrProf 2019-02-10 20:17:07 +00:00
Driver [X86][PPC] Support -mlong-double-64 2019-07-09 00:27:43 +00:00
FixIt [c++20] P0780R2: Support pack-expansion of init-captures. 2019-05-21 20:10:50 +00:00
Format
Frontend [clang][NewPM] Fixing remaining -O0 tests that are broken under new PM 2019-06-19 17:41:30 +00:00
Headers [OpenCL] Restore ATOMIC_VAR_INIT 2019-06-24 10:06:40 +00:00
Import [ASTImporter] Copy Argument Passing Restrictions setting when importing a CXXRecordDecl definition 2019-04-26 18:51:28 +00:00
Index BitStream reader: propagate errors 2019-06-26 19:50:12 +00:00
Integration
InterfaceStubs [NFC] Fix for InterfaceStubs tests (adding REQUIRES: x86-registered-target). 2019-06-20 18:28:21 +00:00
Layout P0840R2: support for [[no_unique_address]] attribute 2019-06-20 20:44:45 +00:00
Lexer Add clang source minimizer that reduces source to directives 2019-06-03 22:59:17 +00:00
Misc [HIP] Support attribute hip_pinned_shadow 2019-06-26 03:47:37 +00:00
Modules [ODRHash] Fix null pointer dereference for ObjC selectors with empty slots. 2019-06-28 17:42:17 +00:00
OpenMP [OPENMP]Improve error message for device unsupported types. 2019-07-08 19:21:54 +00:00
PCH For DR712: store on a DeclRefExpr whether it constitutes an odr-use. 2019-06-11 17:50:32 +00:00
Parser [ObjC] Improve error message for a malformed objc-type-name 2019-06-26 23:39:23 +00:00
Preprocessor Fix has_attribute.cpp test on Windows after r364102 2019-06-21 22:28:52 +00:00
Profile Revert "[clang][NewPM] Fix broken profile test" 2019-06-29 00:10:22 +00:00
Refactor
Rewriter
Sema clang-cl: Port cl.exe's C4659 to clang-cl 2019-07-09 00:02:23 +00:00
SemaCUDA [HIP] Support attribute hip_pinned_shadow 2019-06-26 03:47:37 +00:00
SemaCXX [cxx2a] P0624R2 fix: only lambdas with no lambda-capture are default-constructible and assignable. 2019-07-08 23:24:41 +00:00
SemaObjC Revert [Sema] Resolve placeholder types before type deduction to silence spurious `-Warc-repeated-use-of-weak` warnings 2019-07-08 21:59:07 +00:00
SemaObjCXX If capturing a variable fails, add a capture anyway (and mark it 2019-05-28 23:09:44 +00:00
SemaOpenCL AMDGPU: Add DS GWS sema builtins 2019-06-20 21:33:57 +00:00
SemaOpenCLCXX [OpenCL] Improve diagnostic for placement new 2019-06-26 13:31:24 +00:00
SemaTemplate Add regression test for PR41576 (which is already fixed in trunk, 2019-06-25 18:42:53 +00:00
TableGen
Templight
Tooling Recommit r363298 "[lit] Disable test on darwin when building shared libs." 2019-06-15 20:09:54 +00:00
Unit [lit] Set shlibpath_var on AIX 2019-03-29 23:33:04 +00:00
VFS
clang-rename
.clang-format
CMakeLists.txt Fix breakage introduced by D60974 2019-07-01 21:57:31 +00:00
TestRunner.sh
cxx-sections.data
lit.cfg.py [clang][NewPM] Fixing remaining -O0 tests that are broken under new PM 2019-06-19 17:41:30 +00:00
lit.site.cfg.py.in [clang][NewPM] Fixing remaining -O0 tests that are broken under new PM 2019-06-19 17:41:30 +00:00
make_test_dirs.pl