llvm-project/clang/test
Sanjay Patel 149f5b573c [APFloat] convert SNaN to QNaN in convert() and raise Invalid signal
This is an alternate fix (see D87835) for a bug where a NaN constant
gets wrongly transformed into Infinity via truncation.
In this patch, we uniformly convert any SNaN to QNaN while raising
'invalid op'.
But we don't have a way to directly specify a 32-bit SNaN value in LLVM IR,
so those are always encoded/decoded by calling convert from/to 64-bit hex.

See D88664 for a clang fix needed to allow this change.

Differential Revision: https://reviews.llvm.org/D88238
2020-10-01 14:37:38 -04:00
..
ARCMT
AST Remove test AST/const-fpfeatures-diag.c 2020-09-30 11:07:55 +07:00
ASTMerge
Analysis [analyzer][StdLibraryFunctionsChecker] Fix getline/getdelim signatures 2020-09-23 10:48:14 +02:00
CXX Better diagnostics for anonymous bit-fields with attributes or an initializer. 2020-09-29 16:32:20 -04:00
ClangScanDeps
CodeCompletion [clang] Make signature help work with dependent args 2020-08-17 10:06:36 +02:00
CodeGen [APFloat] convert SNaN to QNaN in convert() and raise Invalid signal 2020-10-01 14:37:38 -04:00
CodeGenCUDA Recommit "[HIP] Change default --gpu-max-threads-per-block value to 1024" 2020-09-28 22:43:17 -04:00
CodeGenCXX [FE] Use preferred alignment instead of ABI alignment for complete object when applicable 2020-09-30 10:48:28 -04:00
CodeGenCoroutines Revert "OpaquePtr: Add type to sret attribute" 2020-09-29 10:31:04 +02:00
CodeGenHIP
CodeGenObjC Revert "OpaquePtr: Add type to sret attribute" 2020-09-29 10:31:04 +02:00
CodeGenObjCXX Revert "OpaquePtr: Add type to sret attribute" 2020-09-29 10:31:04 +02:00
CodeGenOpenCL [clang][opencl][codegen] Remove the insertion of `correctly-rounded-divide-sqrt-fp-math` fn-attr. 2020-10-01 11:07:39 -04:00
CodeGenOpenCLCXX Revert "OpaquePtr: Add type to sret attribute" 2020-09-29 10:31:04 +02:00
CodeGenSYCL [SYCL] Assume SYCL device functions are convergent 2020-09-29 15:23:50 +03:00
Coverage
CoverageMapping [Coverage] Add empty line regions to SkippedRegions 2020-09-21 12:42:53 -07:00
Driver [NFC] Fix spacing in clang/test/Driver/aix-ld.c 2020-09-30 17:01:32 -04:00
FixIt
Format [clang-format] Add a test showing the current config file list parsing 2020-09-04 16:57:46 +01:00
Frontend Add REQUIRES to embed-bitcode-noopt.ll 2020-09-23 10:13:09 -07:00
Headers [ARM] Add missing target for Arm neon test case. 2020-10-01 00:32:33 +01:00
Import
Index [clang] Traverse init-captures while indexing 2020-09-22 02:32:09 -04:00
Integration
InterfaceStubs [llvm-readobj] Update tests because of changes in llvm-readobj behavior 2020-07-20 10:39:04 +01:00
Layout [AIX] Implement AIX special alignment rule about double/long double 2020-07-27 15:13:03 -04:00
Lexer [SystemZ][z/OS] Set default wchar_t type for zOS 2020-09-22 08:03:03 -04:00
Misc [clang] Update warning-wall.c test 2020-09-28 17:19:51 -07:00
Modules Revert "OpaquePtr: Add type to sret attribute" 2020-09-29 10:31:04 +02:00
OpenMP Revert "[OpenMP] Replace OpenMP RTL Functions With OMPIRBuilder and OMPKinds.def" 2020-09-30 15:12:21 -04:00
PCH Set InvalidDecl directly when deserializing a Decl 2020-09-05 14:26:43 +02:00
Parser Better diagnostics for anonymous bit-fields with attributes or an initializer. 2020-09-29 16:32:20 -04:00
ParserSYCL
Preprocessor [X86] Support Intel Key Locker 2020-09-30 18:08:45 +08:00
Profile [PGO] Include the mem ops into the function hash. 2020-07-30 09:26:20 -07:00
Refactor
Rewriter
Sema [Sema] Support Comma operator for fp16 vectors. 2020-09-30 18:23:09 +01:00
SemaCUDA Revert "Recommit "[CUDA][HIP] Defer overloading resolution diagnostics for host device functions"" 2020-09-24 11:16:54 -07:00
SemaCXX Handle unknown OSes in DarwinTargetInfo::getExnObjectAlignment 2020-09-30 16:05:17 -07:00
SemaObjC Sema: add support for `__attribute__((__swift_private__))` 2020-09-25 22:33:53 +00:00
SemaObjCXX [Sema] Handle objc_super special lookup when checking builtin compatibility 2020-09-18 20:51:55 +03:00
SemaOpenCL [OpenCL] Add global_device and global_host address spaces 2020-07-29 17:24:53 +03:00
SemaOpenCLCXX [OpenCL] Fixed missing address space for templated copy constructor. 2020-07-27 15:18:49 +01:00
SemaSYCL
SemaTemplate [c++20] For P1907R1: Add checking for structural types for non-type 2020-09-20 20:20:52 -07:00
TableGen Revert "Recommit "[CUDA][HIP] Defer overloading resolution diagnostics for host device functions"" 2020-09-24 11:16:54 -07:00
Templight
Tooling
Unit
VFS
clang-rename
utils/update_cc_test_checks [UpdateCCTestChecks] Include generated functions if asked 2020-09-18 06:34:59 -05:00
.clang-format [clang] Partially revert "Disable a few formatting options for test/" 2020-07-21 14:53:37 +01:00
CMakeLists.txt Revert "Re-Re-land: [CodeView] Add full repro to LF_BUILDINFO record" 2020-08-17 15:49:18 -04:00
TestRunner.sh
cxx-sections.data
lit.cfg.py [Coverage] Add empty line regions to SkippedRegions 2020-09-21 12:42:53 -07:00
lit.site.cfg.py.in [CMake] Simplify CMake handling for zlib 2020-08-11 20:22:11 -07:00
make_test_dirs.pl