llvm-project/clang/test
Simon Pilgrim f8e0e5db48 [X86] Enable constexpr on _cast fp<-> uint intrinsics (PR31446)
As suggested by @rsmith on PR47267, by replacing the builtin_memcpy bitcast pattern with builtin_bit_cast we can use _castf32_u32, _castu32_f32, _castf64_u64 and _castu64_f64 inside constant expresssions (constexpr). Although __builtin_bit_cast was added for c++20 it works on all clang c/c++ modes.

Differential Revision: https://reviews.llvm.org/D86398
2020-08-23 10:27:46 +01:00
..
ARCMT
AST Introduce ns_error_domain attribute. 2020-08-13 15:05:12 +02:00
ASTMerge
Analysis [Analysis] Bug fix for exploded graph branching in evalCall for constructor 2020-08-19 00:03:31 +02:00
CXX Explain why the array bound is non-constant in VLA diagnostics. 2020-08-19 15:45:51 -07:00
ClangScanDeps
CodeCompletion [clang] Make signature help work with dependent args 2020-08-17 10:06:36 +02:00
CodeGen [X86] Enable constexpr on _cast fp<-> uint intrinsics (PR31446) 2020-08-23 10:27:46 +01:00
CodeGenCUDA [CUDA][HIP] Do not externalize implicit constant static variable 2020-08-10 19:02:49 -04:00
CodeGenCXX Fix 32 bit build broken by D85990 by dropping align from filecheck pattern 2020-08-20 23:50:33 +01:00
CodeGenCoroutines [Coroutines] Ensure co_await promise.final_suspend() does not throw 2020-06-22 15:01:42 -07:00
CodeGenHIP [NFC] Fixed ignored .hip test. 2020-06-29 18:57:14 +03:00
CodeGenObjC [CodeGen][ObjC] Mark calls to objc_unsafeClaimAutoreleasedReturnValue as 2020-08-03 13:25:25 -07:00
CodeGenObjCXX Re-enable "[InstCombine] Simplify boolean Phis with const inputs using CFG" 2020-07-16 16:09:08 +07:00
CodeGenOpenCL clang: Use byref for aggregate kernel arguments 2020-08-06 15:52:26 -04:00
CodeGenOpenCLCXX
CodeGenSYCL
Coverage
CoverageMapping [Coverage] Adjust skipped regions only if {Prev,Next}TokLoc is in the same file as regions' {start, end}Loc 2020-08-18 13:26:19 -07:00
Driver [X86] Allow 32-bit mode only CPUs with -mtune on 64-bit targets 2020-08-22 16:38:05 -07:00
FixIt
Format
Frontend Add triples to fixed-point tests which lacked them. 2020-08-20 15:36:15 +02:00
Headers [WebAssembly] Fix types in wasm_simd128.h and add tests 2020-08-05 14:00:01 -07:00
Import [clang] Rework how and when APValues are dumped 2020-07-06 22:03:08 +01:00
Index [clang][nearly-NFC] Remove some superfluous uses of NamedDecl::getNameAsString 2020-08-05 13:54:37 +01: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] enable trigraphs by default on z/OS 2020-08-13 16:02:07 -04:00
Misc [X86] Allow 32-bit mode only CPUs with -mtune on 64-bit targets 2020-08-22 16:38:05 -07:00
Modules Re-land 7a527f1777 with fixes. 2020-08-21 14:40:09 -04:00
OpenMP Explain why the array bound is non-constant in VLA diagnostics. 2020-08-19 15:45:51 -07:00
PCH [clang] When loading preamble from AST file, re-export modules in Sema. 2020-08-20 14:19:52 +02:00
Parser [Parser] Suppress -Wempty-translation-unit if this is a header file 2020-08-13 09:43:27 +02:00
ParserSYCL
Preprocessor Hook up OpenBSD 64-bit RISC-V support 2020-08-18 18:59:55 -04:00
Profile [PGO] Include the mem ops into the function hash. 2020-07-30 09:26:20 -07:00
Refactor
Rewriter
Sema Enable constexpr on BITREVERSE builtin intrinsics (PR47249) 2020-08-22 14:43:22 +01:00
SemaCUDA recommit 4fc752b30b [CUDA][HIP] Always defer diagnostics for wrong-sided reference 2020-07-17 09:14:39 -04:00
SemaCXX [AST][RecoveryExpr] Fix a bogus unused diagnostic when the type is preserved. 2020-08-21 15:48:59 +02:00
SemaObjC Explain why the array bound is non-constant in VLA diagnostics. 2020-08-19 15:45:51 -07:00
SemaObjCXX Clang crashed while checking for deletion of copy and move ctors 2020-07-07 14:40:37 -04: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 [SYCL][OpenMP] Implement thread-local storage restriction 2020-06-17 14:36:00 +03:00
SemaTemplate Explain why the array bound is non-constant in VLA diagnostics. 2020-08-19 15:45:51 -07:00
TableGen
Templight
Tooling [clang] Rework how and when APValues are dumped 2020-07-06 22:03:08 +01:00
Unit
VFS
clang-rename
utils/update_cc_test_checks [UpdateTestChecks] Match unnamed values like "@[0-9]+" and "![0-9]+" 2020-08-12 01:04:16 -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 Reland [Coverage] Add comment to skipped regions 2020-07-28 13:20:57 -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