llvm-project/clang/lib
Jim Lin cefac9dfaa Remove implicit conversion that promotes half to other larger precision types for fp classification builtins
Summary:
It shouldn't promote half to double or any larger precision types for fp classification builtins.
Because fp classification builtins would get incorrect result with promoted argument.
For example, __builtin_isnormal with a subnormal half value should return false, but it is not.
That the subnormal half value is promoted to a normal double value.

Reviewers: aaron.ballman

Reviewed By: aaron.ballman

Subscribers: cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D71049
2019-12-10 13:24:21 +08:00
..
ARCMigrate Removed some questionable default arguments from setters 2019-09-12 12:16:43 +00:00
AST [c++20] Fix handling of unqualified lookups from a defaulted comparison 2019-12-09 17:40:36 -08:00
ASTMatchers Make it possible control matcher traversal kind with ASTContext 2019-12-06 23:11:32 +00:00
Analysis Remove Expr.h include from ASTContext.h, NFC 2019-12-06 15:30:49 -08:00
Basic Revert "[Sema][X86] Consider target attribute into the checks in validateOutputSize and validateInputSize." 2019-12-06 15:42:14 -08:00
CodeGen Revert "[ARM][MVE] Add intrinsics for immediate shifts." 2019-12-09 16:47:38 -08:00
CrossTU [CrossTU] Fix problem with CrossTU AST load limit and progress messages. 2019-08-12 07:15:29 +00:00
DirectoryWatcher [Clang] Migrate llvm::make_unique to std::make_unique 2019-08-14 23:04:18 +00:00
Driver [Remarks][Driver] Error on -foptimization-record-file with multiple -arch options 2019-12-09 20:39:26 -08:00
Edit [C++2a] Add __builtin_bit_cast, used to implement std::bit_cast 2019-07-02 18:28:13 +00:00
Format Fix warning on extra ';'. NFC. 2019-12-03 16:02:55 -05:00
Frontend [Frontend] Allow OpenMP offloading to aarch64 2019-12-08 14:45:16 -05:00
FrontendTool [analyzer] Don't run the analyzer for -analyzer-list-enabled-checkers 2019-09-12 18:53:48 +00:00
Headers [X86] Remove forward declaration of _invpcid from intrin.h. Rely on inline version from immintrin.h 2019-11-25 16:27:39 -08:00
Index Remove Expr.h include from ASTContext.h, NFC 2019-12-06 15:30:49 -08:00
Lex [clang-scan-deps] do not skip empty #if/#elif in the minimizer to avoid missing `__has_include` dependencies 2019-12-02 18:47:22 -08:00
Parse [Parser] Don't crash on MS assembly if target desc/asm parser isn't linked in. 2019-12-09 14:34:31 +01:00
Rewrite [Rewrite][NFC] Add FIXMEs and tests for RemoveLineIfEmpty bug 2019-08-15 21:17:48 +00:00
Sema Remove implicit conversion that promotes half to other larger precision types for fp classification builtins 2019-12-10 13:24:21 +08:00
Serialization [c++20] Fix handling of unqualified lookups from a defaulted comparison 2019-12-09 17:40:36 -08:00
StaticAnalyzer Remove Expr.h include from ASTContext.h, NFC 2019-12-06 15:30:49 -08:00
Tooling [clang][Tooling] Fix potential UB in ExpandResponseFilesCompilationDatabase 2019-12-09 12:24:23 +01:00
CMakeLists.txt Reland [clang] DirectoryWatcher 2019-07-12 20:34:10 +00:00