Skip to content

Commit 44555b1

Browse files
petrhosekjoaosaffran
authored andcommitted
[libc] Don't manually override the optimization level for math (llvm#126322)
This was originally done for testing purposes, but after llvm#126315 we now do testing through GitHub Actions and should be instead using the optimization setting chosen by the user.
1 parent 70cbb4b commit 44555b1

File tree

3 files changed

+0
-804
lines changed

3 files changed

+0
-804
lines changed

libc/src/complex/generic/CMakeLists.txt

Lines changed: 0 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ add_entrypoint_object(
44
cproj.cpp
55
HDRS
66
../cproj.h
7-
COMPILE_OPTIONS
8-
${libc_opt_high_flag}
97
DEPENDS
108
libc.src.__support.complex_basic_ops
119
)
@@ -16,8 +14,6 @@ add_entrypoint_object(
1614
cprojf.cpp
1715
HDRS
1816
../cprojf.h
19-
COMPILE_OPTIONS
20-
${libc_opt_high_flag}
2117
DEPENDS
2218
libc.src.__support.complex_basic_ops
2319
)
@@ -28,8 +24,6 @@ add_entrypoint_object(
2824
cprojl.cpp
2925
HDRS
3026
../cprojl.h
31-
COMPILE_OPTIONS
32-
${libc_opt_high_flag}
3327
DEPENDS
3428
libc.src.__support.complex_basic_ops
3529
)
@@ -40,8 +34,6 @@ add_entrypoint_object(
4034
cprojf16.cpp
4135
HDRS
4236
../cprojf16.h
43-
COMPILE_OPTIONS
44-
${libc_opt_high_flag}
4537
DEPENDS
4638
libc.src.__support.complex_basic_ops
4739
libc.src.__support.macros.properties.types
@@ -54,8 +46,6 @@ add_entrypoint_object(
5446
cprojf128.cpp
5547
HDRS
5648
../cprojf128.h
57-
COMPILE_OPTIONS
58-
${libc_opt_high_flag}
5949
DEPENDS
6050
libc.src.__support.complex_basic_ops
6151
libc.src.__support.macros.properties.types
@@ -68,8 +58,6 @@ add_entrypoint_object(
6858
conj.cpp
6959
HDRS
7060
../conj.h
71-
COMPILE_OPTIONS
72-
${libc_opt_high_flag}
7361
DEPENDS
7462
libc.src.__support.complex_basic_ops
7563
)
@@ -80,8 +68,6 @@ add_entrypoint_object(
8068
conjf.cpp
8169
HDRS
8270
../conjf.h
83-
COMPILE_OPTIONS
84-
${libc_opt_high_flag}
8571
DEPENDS
8672
libc.src.__support.complex_basic_ops
8773
)
@@ -92,8 +78,6 @@ add_entrypoint_object(
9278
conjl.cpp
9379
HDRS
9480
../conjl.h
95-
COMPILE_OPTIONS
96-
${libc_opt_high_flag}
9781
DEPENDS
9882
libc.src.__support.complex_basic_ops
9983
)
@@ -104,8 +88,6 @@ add_entrypoint_object(
10488
conjf16.cpp
10589
HDRS
10690
../conjf16.h
107-
COMPILE_OPTIONS
108-
${libc_opt_high_flag}
10991
DEPENDS
11092
libc.src.__support.complex_basic_ops
11193
libc.src.__support.macros.properties.types
@@ -118,8 +100,6 @@ add_entrypoint_object(
118100
conjf128.cpp
119101
HDRS
120102
../conjf128.h
121-
COMPILE_OPTIONS
122-
${libc_opt_high_flag}
123103
DEPENDS
124104
libc.src.__support.complex_basic_ops
125105
libc.src.__support.macros.properties.types
@@ -132,8 +112,6 @@ add_entrypoint_object(
132112
creal.cpp
133113
HDRS
134114
../creal.h
135-
COMPILE_OPTIONS
136-
${libc_opt_high_flag}
137115
DEPENDS
138116
libc.src.__support.CPP.bit
139117
libc.src.__support.complex_type
@@ -145,8 +123,6 @@ add_entrypoint_object(
145123
crealf.cpp
146124
HDRS
147125
../crealf.h
148-
COMPILE_OPTIONS
149-
${libc_opt_high_flag}
150126
DEPENDS
151127
libc.src.__support.CPP.bit
152128
libc.src.__support.complex_type
@@ -158,8 +134,6 @@ add_entrypoint_object(
158134
creall.cpp
159135
HDRS
160136
../creall.h
161-
COMPILE_OPTIONS
162-
${libc_opt_high_flag}
163137
DEPENDS
164138
libc.src.__support.CPP.bit
165139
libc.src.__support.complex_type
@@ -171,8 +145,6 @@ add_entrypoint_object(
171145
crealf16.cpp
172146
HDRS
173147
../crealf16.h
174-
COMPILE_OPTIONS
175-
${libc_opt_high_flag}
176148
DEPENDS
177149
libc.src.__support.CPP.bit
178150
libc.src.__support.complex_type
@@ -186,8 +158,6 @@ add_entrypoint_object(
186158
crealf128.cpp
187159
HDRS
188160
../crealf128.h
189-
COMPILE_OPTIONS
190-
${libc_opt_high_flag}
191161
DEPENDS
192162
libc.src.__support.CPP.bit
193163
libc.src.__support.complex_type
@@ -201,8 +171,6 @@ add_entrypoint_object(
201171
cimag.cpp
202172
HDRS
203173
../cimag.h
204-
COMPILE_OPTIONS
205-
${libc_opt_high_flag}
206174
DEPENDS
207175
libc.src.__support.CPP.bit
208176
libc.src.__support.complex_type
@@ -214,8 +182,6 @@ add_entrypoint_object(
214182
cimagf.cpp
215183
HDRS
216184
../cimagf.h
217-
COMPILE_OPTIONS
218-
${libc_opt_high_flag}
219185
DEPENDS
220186
libc.src.__support.CPP.bit
221187
libc.src.__support.complex_type
@@ -227,8 +193,6 @@ add_entrypoint_object(
227193
cimagl.cpp
228194
HDRS
229195
../cimagl.h
230-
COMPILE_OPTIONS
231-
${libc_opt_high_flag}
232196
DEPENDS
233197
libc.src.__support.CPP.bit
234198
libc.src.__support.complex_type
@@ -240,8 +204,6 @@ add_entrypoint_object(
240204
cimagf16.cpp
241205
HDRS
242206
../cimagf16.h
243-
COMPILE_OPTIONS
244-
${libc_opt_high_flag}
245207
DEPENDS
246208
libc.src.__support.CPP.bit
247209
libc.src.__support.complex_type
@@ -255,8 +217,6 @@ add_entrypoint_object(
255217
cimagf128.cpp
256218
HDRS
257219
../cimagf128.h
258-
COMPILE_OPTIONS
259-
${libc_opt_high_flag}
260220
DEPENDS
261221
libc.src.__support.CPP.bit
262222
libc.src.__support.complex_type

0 commit comments

Comments
 (0)