llvm-project/clang/test
KAWASHIMA Takahiro 3a95d7d098 [clang] Fix -fp-model={strict|precise} to disable -fapprox-func
`-fapprox-func` should be disabled by `-fp-model={strict|precise}`,
as well as other fast-math flags. See the last changes in
`clang/test/Driver/fp-model.c`.

Probably this route (`case options::OPT_ffp_model_EQ`) was forgot
to update in D106191 and D114564. There is no appropriate reason not
to disable the flag.

This commit also updates other regression tests, which are not directly
related to this bug, for consistency with other fast-math flags.

Differential Revision: https://reviews.llvm.org/D138109
2022-11-22 13:04:26 +09:00
..
APINotes
ARCMT
AST [clang] Missed rounding mode use in constant evaluation 2022-11-17 12:05:28 +07:00
ASTMerge
Analysis Refactor StaticAnalyzer to use `clang::SarifDocumentWriter` 2022-11-17 14:47:02 -05:00
C Add more tests for C DRs and update the status page 2022-11-18 14:15:41 -05:00
CXX [C++20] [Modules] Remove unmaintained Header Module 2022-11-18 10:39:33 +08:00
ClangScanDeps [clang][deps] Remove checks that were just for exhaustiveness 2022-11-15 14:22:23 -08:00
CodeCompletion [clang][DR2621] using enum NAME lookup fix 2022-09-28 08:50:27 -07:00
CodeGen [clang] Fix -fp-model={strict|precise} to disable -fapprox-func 2022-11-22 13:04:26 +09:00
CodeGenCUDA [clang][cuda/hip] Allow `__noinline__` lambdas 2022-11-04 07:33:31 +00:00
CodeGenCUDASPIRV
CodeGenCXX pr59000: Clarify packed-non-pod warning that it's pod-for-the-purposes-of-layout 2022-11-22 00:02:09 +00:00
CodeGenCoroutines [Test] Fix CHECK typo. 2022-11-04 10:18:04 -07:00
CodeGenHIP
CodeGenHLSL [HLSL] add sin library function 2022-11-16 18:29:50 -08:00
CodeGenObjC [IR] Switch everything to use memory attribute 2022-11-04 10:21:38 +01:00
CodeGenObjCXX [Clang] Change AnonStructIds in MangleContext to per-function based 2022-10-23 22:33:52 -07:00
CodeGenOpenCL [clang][test] Avoid UB in overload.cl 2022-11-13 14:02:24 -08:00
CodeGenOpenCLCXX
CodeGenSYCL Fix incorrect cast in VisitSYCLUniqueStableNameExpr 2022-11-19 11:43:17 +00:00
Coverage
CoverageMapping [InstrProfiling] No runtime hook for unused funcs 2022-09-16 02:05:09 +00:00
Driver [clang] Fix -fp-model={strict|precise} to disable -fapprox-func 2022-11-22 13:04:26 +09:00
ExtractAPI Revert "Only add targetFallback if target is not in defined in current product" 2022-11-07 13:33:59 +00:00
FixIt [C++2a] P0634r3: Down with typename! 2022-09-28 09:50:19 -07:00
Format [test] Use host platform specific error message substitution 2022-09-16 15:13:45 -04:00
Frontend Refactor StaticAnalyzer to use `clang::SarifDocumentWriter` 2022-11-17 14:47:02 -05:00
Headers [Hexagon] Add checks for immediate arguments for remaining builtins 2022-11-18 11:09:41 -08:00
Import
Index Add clang_CXXMethod_isMoveAssignmentOperator to libclang 2022-11-14 15:21:36 +01:00
Integration
InterfaceStubs [clang] [test] Use %clang_cc1 substitution consistently 2022-09-29 20:59:00 +02:00
Interpreter
Layout [Sema] Reject array element types whose sizes aren't a multiple of their 2022-09-21 09:15:03 -07:00
Lexer When we run out of source locations, try to produce useful information 2022-11-16 14:36:16 -08:00
LibClang
Misc [Hexagon] Add clang flags for v71, v71t, v73 2022-11-18 09:39:47 -08:00
Modules [C++20] [Modules] Don't emit macro definitions with named module 2022-11-18 11:11:17 +08:00
OpenMP [OPENMP5.1] Initial support for message clause. 2022-11-18 17:59:23 -08:00
PCH Revert "Implement CWG2631" 2022-11-04 22:10:50 +01:00
Parser parse: process GNU and standard attributes on top-level decls 2022-11-21 22:34:50 +00:00
ParserHLSL [HLSL] Add groupshare address space. 2022-10-20 09:29:09 -07:00
ParserSYCL
Preprocessor [Hexagon] Add clang flags for v71, v71t, v73 2022-11-18 09:39:47 -08:00
Profile [PGO] Consider parent context when weighing branches with likelyhood. 2022-10-08 23:49:27 +02:00
Refactor
Rewriter
Sema [Clang] Extend the number of case Sema::CheckForIntOverflow covers 2022-11-15 12:07:03 -08:00
SemaCUDA [CUDA, NVPTX] Added basic __bf16 support for NVPTX. 2022-10-25 11:08:06 -07:00
SemaCXX parse: process GNU and standard attributes on top-level decls 2022-11-21 22:34:50 +00:00
SemaHLSL [HLSL] Disable integer promotion to avoid int16_t being promoted to int for HLSL. 2022-10-20 16:06:25 -07:00
SemaObjC [Sema] Use the value category of the base expression when creating an 2022-11-15 17:14:48 -08:00
SemaObjCXX [ObjC] Fix an assertion failure in EvaluateLValue 2022-11-15 14:41:28 -08:00
SemaOpenCL [HLSL] Add groupshare address space. 2022-10-20 09:29:09 -07:00
SemaOpenCLCXX [OpenCL] Fix diagnostics with templates in kernel args. 2022-11-10 18:55:12 +00:00
SemaSYCL
SemaTemplate [Concepts] Fix friend-checking to include NTTPs 2022-11-16 07:33:15 -08:00
TableGen Revert "Revert "[clang-tblgen][NFC] renames Diagnostic.Text to Diagnostic.Summary"" 2022-11-21 04:55:19 +00:00
Templight Properly print unnamed TagDecl objects in diagnostics 2022-10-14 08:18:28 -04:00
Tooling
Unit [llvm,polly,clang] Stop setting config.enable_shared in most places 2022-11-21 08:54:14 -05:00
VFS
clang-rename
utils/update_cc_test_checks Revert "[OpenMP] Codegen aggregate for outlined function captures" 2022-09-15 03:08:46 +00:00
.clang-format
CMakeLists.txt [clang] Remove CLANG_ENABLE_OPAQUE_POINTERS cmake option 2022-10-06 09:46:04 +02:00
TestRunner.sh
lit.cfg.py [LIT] Add AArch64/Windows to LP64 feature 2022-10-24 11:40:52 +05:00
lit.site.cfg.py.in [CMake] Remove CLANG_DEFAULT_STD_C/CLANG_DEFAULT_STD_CXX 2022-10-16 13:15:44 -07:00