llvm-project/clang/unittests
Melanie Blower bc5b5ea037 [clang][patch][FPEnv] Make initialization of C++ globals strictfp aware
@kpn pointed out that the global variable initialization functions didn't
have the "strictfp" metadata set correctly, and @rjmccall said that there
was buggy code in SetFPModel and StartFunction, this patch is to solve
those problems. When Sema creates a FunctionDecl, it sets the
FunctionDeclBits.UsesFPIntrin to "true" if the lexical FP settings
(i.e. a combination of command line options and #pragma float_control
settings) correspond to ConstrainedFP mode. That bit is used when CodeGen
starts codegen for a llvm function, and it translates into the
"strictfp" function attribute. See bugs.llvm.org/show_bug.cgi?id=44571

Reviewed By: Aaron Ballman

Differential Revision: https://reviews.llvm.org/D102343
2021-07-29 12:02:37 -04:00
..
AST [clang][AST] Add support for DecompositionDecl to ASTImporter. 2021-07-22 13:09:42 +02:00
ASTMatchers [ASTMatchers] Fix bug in `hasUnaryOperand` 2021-06-16 20:17:56 +00:00
Analysis Bump googletest to 1.10.0 2021-05-14 19:16:31 +02:00
Basic [clang] Fix the capitalization of the DarwinSDKInfoTest unittest filename to avoid case-sensitive FS build errors 2021-07-20 14:53:08 -07:00
CodeGen [clang-repl] Recommit "Land initial infrastructure for incremental parsing" 2021-05-13 06:30:29 +00:00
CrossTU [analyzer][CTU] API for CTU macro expansions 2021-02-22 11:12:22 +01:00
DirectoryWatcher Revert "Re-Revert "DirectoryWatcher: add an implementation for Windows"" 2021-06-19 09:19:52 -07:00
Driver [clang][driver] NFC: Expose InputInfo in Job instead of plain filenames 2021-07-27 09:18:58 +02:00
Format [clang-format] Fix aligning with linebreaks #2 2021-07-29 08:43:41 +02:00
Frontend PR51018: Remove explicit conversions from SmallString to StringRef to future-proof against C++23 2021-07-08 13:37:57 -07:00
Index [index] Improve macro indexing support 2021-04-06 09:12:14 -07:00
Interpreter Reland "[clang-repl] Implement partial translation units and error recovery." 2021-07-12 15:21:22 +00:00
Introspection [AST] Fix DeclarationNameInfo introspection 2021-04-26 18:49:13 +01:00
Lex [Lexer] Fix bug in `makeFileCharRange` called on split tokens. 2021-07-14 14:36:31 +00:00
Rename Bump googletest to 1.10.0 2021-05-14 19:16:31 +02:00
Rewrite [Rewrite][NFC] Add FIXMEs and tests for RemoveLineIfEmpty bug 2019-08-15 21:17:48 +00:00
Sema [clang][patch][FPEnv] Make initialization of C++ globals strictfp aware 2021-07-29 12:02:37 -04:00
Serialization [Frontend] Only compile modules if not already finalized 2021-07-15 18:27:08 -07:00
StaticAnalyzer [clang][Analyzer] Add symbol uninterestingness to bug report. 2021-07-15 10:02:18 +02:00
Tooling [clang][tooling] Link LLVMOption to ToolingTests 2021-07-27 11:48:44 +02:00
libclang [libclang] Add CXRewriter to libclang API 2020-09-04 14:17:03 -07:00
CMakeLists.txt [clang-repl] Recommit "Land initial infrastructure for incremental parsing" 2021-05-13 06:30:29 +00:00