llvm-project/clang/lib
Qiu Chaofan 88ff4d2ca1 [PowerPC] Fix STRICT_FRINT/STRICT_FNEARBYINT lowering
In standard C library, both rint and nearbyint returns rounding result
in current rounding mode. But nearbyint never raises inexact exception.
On PowerPC, x(v|s)r(d|s)pic may modify FPSCR XX, raising inexact
exception. So we can't select constrained fnearbyint into xvrdpic.

One exception here is xsrqpi, which will not raise inexact exception, so
fnearbyint f128 is okay here.

Reviewed By: uweigand

Differential Revision: https://reviews.llvm.org/D87220
2020-09-09 22:40:58 +08:00
..
ARCMigrate With MSVC, file needs to be compiled with /BIGOBJ 2020-07-17 09:43:06 -07:00
AST [Ignore Expressions] Fix performance regression by inlining `Ignore*SingleStep` 2020-09-09 07:32:40 +00:00
ASTMatchers [clang] Add a matcher for template template parameters. 2020-08-11 16:01:36 +01:00
Analysis Temporairly revert "Thread safety analysis: Consider global variables in scope" & followup 2020-09-09 12:15:56 +03:00
Basic [HIP] Add gfx1031 and gfx1030 2020-09-08 16:38:34 -04:00
CodeGen [PowerPC] Fix STRICT_FRINT/STRICT_FNEARBYINT lowering 2020-09-09 22:40:58 +08:00
CrossTU [analyzer] Add CTUImportCppThreshold for C++ files 2020-07-09 15:36:33 +02:00
DirectoryWatcher [DirectoryWatcher] Do not use FSEvents on non-macOS platforms 2020-04-23 10:22:28 -07:00
Driver [Sparc] Select the UltraSPARC instruction set with the external assembler 2020-09-07 02:49:05 -04:00
Edit [C++2a] Add __builtin_bit_cast, used to implement std::bit_cast 2019-07-02 18:28:13 +00:00
Format [clang-format] Handle shifts within conditions 2020-09-08 16:40:04 +01:00
Frontend Revert "[ARM] Follow AACPS standard for volatile bit-fields access width" 2020-09-08 18:46:27 +01:00
FrontendTool [NFC] Refactor Registry loops to range for 2020-06-19 00:40:10 +01:00
Headers [PowerPC] Implement Vector Expand Mask builtins in LLVM/Clang 2020-09-06 17:13:21 -05:00
Index [clang] Do not consider the template arguments of bases to be bases themselves 2020-09-01 19:18:03 -04:00
IndexSerialization [index-while-building] Fix build with -DBUILD_SHARED_LIBS=True 2020-08-20 15:12:56 +01:00
Lex [clang] consistently use getLangOpts() 2020-09-01 15:56:53 -07:00
Parse [FPEnv] Partially implement #pragma STDC FENV_ROUND 2020-09-04 16:47:10 +07:00
Rewrite [Rewrite][NFC] Add FIXMEs and tests for RemoveLineIfEmpty bug 2019-08-15 21:17:48 +00:00
Sema Sema: extract a check for `isCFError` (NFC) 2020-09-08 20:07:47 +00:00
Serialization Set InvalidDecl directly when deserializing a Decl 2020-09-05 14:26:43 +02:00
StaticAnalyzer [analyzer] [NFC] Introduce refactoring of PthreadLockChecker 2020-09-08 16:04:19 +03:00
Testing Fix MSVC "not all control paths return a value" warning. NFC. 2020-06-05 10:45:59 +01:00
Tooling [SyntaxTree] Fix crash on functions with default arguments. 2020-09-08 09:49:30 +00:00
CMakeLists.txt [index-while-building] PathIndexer 2020-08-19 11:25:21 -07:00