Skip to content

Commit f97cdc0

Browse files
committed
Revert "Add support for clang-cl's option -fexcess-precision."
This reverts commit 4707468. Had to revert it that since it's breaking tests on MacOS. See https://reviews.llvm.org/D141929 comments from @Thakis.
1 parent b561c5c commit f97cdc0

File tree

2 files changed

+0
-34
lines changed

2 files changed

+0
-34
lines changed

clang/include/clang/Driver/Options.td

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1579,7 +1579,6 @@ def fignore_exceptions : Flag<["-"], "fignore-exceptions">, Group<f_Group>, Flag
15791579
HelpText<"Enable support for ignoring exception handling constructs">,
15801580
MarshallingInfoFlag<LangOpts<"IgnoreExceptions">>;
15811581
def fexcess_precision_EQ : Joined<["-"], "fexcess-precision=">, Group<f_Group>,
1582-
Flags<[CoreOption]>,
15831582
HelpText<"Allows control over excess precision on targets where native "
15841583
"support for the precision types is not available. By default, excess "
15851584
"precision is used to calculate intermediate results following the "

clang/test/Driver/fexcess-precision.c

Lines changed: 0 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,62 +1,29 @@
11
// RUN: %clang -### -target i386 -fexcess-precision=fast -c %s 2>&1 \
22
// RUN: | FileCheck --check-prefix=CHECK-FAST %s
3-
// RUN: %clang_cl -### -target i386 -fexcess-precision=fast -c %s 2>&1 \
4-
// RUN: | FileCheck --check-prefix=CHECK-FAST %s
5-
63
// RUN: %clang -### -target i386 -fexcess-precision=standard -c %s 2>&1 \
74
// RUN: | FileCheck --check-prefix=CHECK-STD %s
8-
// RUN: %clang_cl -### -target i386 -fexcess-precision=standard -c %s 2>&1 \
9-
// RUN: | FileCheck --check-prefix=CHECK-STD %s
10-
115
// RUN: %clang -### -target i386 -fexcess-precision=16 -c %s 2>&1 \
126
// RUN: | FileCheck --check-prefix=CHECK-NONE %s
13-
// RUN: %clang_cl -### -target i386 -fexcess-precision=16 -c %s 2>&1 \
14-
// RUN: | FileCheck --check-prefix=CHECK-NONE %s
15-
167
// RUN: %clang -### -target i386 -fexcess-precision=none -c %s 2>&1 \
178
// RUN: | FileCheck --check-prefix=CHECK-ERR-NONE %s
18-
// RUN: %clang_cl -### -target i386 -fexcess-precision=none -c %s 2>&1 \
19-
// RUN: | FileCheck --check-prefix=CHECK-ERR-NONE %s
209

2110
// RUN: %clang -### -target x86_64 -fexcess-precision=fast -c %s 2>&1 \
2211
// RUN: | FileCheck --check-prefix=CHECK-FAST %s
23-
// RUN: %clang_cl -### -target x86_64 -fexcess-precision=fast -c %s 2>&1 \
24-
// RUN: | FileCheck --check-prefix=CHECK-FAST %s
25-
2612
// RUN: %clang -### -target x86_64 -fexcess-precision=standard -c %s 2>&1 \
2713
// RUN: | FileCheck --check-prefix=CHECK-STD %s
28-
// RUN: %clang_cl -### -target x86_64 -fexcess-precision=standard -c %s 2>&1 \
29-
// RUN: | FileCheck --check-prefix=CHECK-STD %s
30-
3114
// RUN: %clang -### -target x86_64 -fexcess-precision=16 -c %s 2>&1 \
3215
// RUN: | FileCheck --check-prefix=CHECK-NONE %s
33-
// RUN: %clang_cl -### -target x86_64 -fexcess-precision=16 -c %s 2>&1 \
34-
// RUN: | FileCheck --check-prefix=CHECK-NONE %s
35-
3616
// RUN: %clang -### -target x86_64 -fexcess-precision=none -c %s 2>&1 \
3717
// RUN: | FileCheck --check-prefixes=CHECK-ERR-NONE %s
38-
// RUN: %clang_cl -### -target x86_64 -fexcess-precision=none -c %s 2>&1 \
39-
// RUN: | FileCheck --check-prefixes=CHECK-ERR-NONE %s
4018

4119
// RUN: %clang -### -target aarch64 -fexcess-precision=fast -c %s 2>&1 \
4220
// RUN: | FileCheck --check-prefix=CHECK %s
43-
// RUN: %clang_cl -### -target aarch64 -fexcess-precision=fast -c %s 2>&1 \
44-
// RUN: | FileCheck --check-prefix=CHECK %s
45-
4621
// RUN: %clang -### -target aarch64 -fexcess-precision=standard -c %s 2>&1 \
4722
// RUN: | FileCheck --check-prefix=CHECK %s
48-
// RUN: %clang_cl -### -target aarch64 -fexcess-precision=standard -c %s 2>&1 \
49-
// RUN: | FileCheck --check-prefix=CHECK %s
50-
5123
// RUN: %clang -### -target aarch64 -fexcess-precision=16 -c %s 2>&1 \
5224
// RUN: | FileCheck --check-prefix=CHECK-ERR-16 %s
53-
// RUN: %clang_cl -### -target aarch64 -fexcess-precision=16 -c %s 2>&1 \
54-
// RUN: | FileCheck --check-prefix=CHECK-ERR-16 %s
55-
5625
// RUN: %clang -### -target aarch64 -fexcess-precision=none -c %s 2>&1 \
5726
// RUN: | FileCheck --check-prefix=CHECK-ERR-NONE %s
58-
// RUN: %clang_cl -### -target aarch64 -fexcess-precision=none -c %s 2>&1 \
59-
// RUN: | FileCheck --check-prefix=CHECK-ERR-NONE %s
6027

6128
// CHECK-FAST: "-ffloat16-excess-precision=fast"
6229
// CHECK-STD: "-ffloat16-excess-precision=standard"

0 commit comments

Comments
 (0)