File tree Expand file tree Collapse file tree 2 files changed +32
-26
lines changed Expand file tree Collapse file tree 2 files changed +32
-26
lines changed Original file line number Diff line number Diff line change @@ -207,7 +207,9 @@ set(TARGET_LIBC_ENTRYPOINTS
207
207
libc.src.stdio.asprintf
208
208
libc.src.stdio.vasprintf
209
209
libc.src.stdio.scanf
210
+ libc.src.stdio.vscanf
210
211
libc.src.stdio.fscanf
212
+ libc.src.stdio.vfscanf
211
213
libc.src.stdio.sscanf
212
214
libc.src.stdio.vsscanf
213
215
libc.src.stdio.feof
Original file line number Diff line number Diff line change @@ -272,33 +272,37 @@ if(LLVM_LIBC_FULL_BUILD)
272
272
)
273
273
endif ()
274
274
275
- add_libc_test(
276
- fscanf_test
277
- SUITE
278
- libc_stdio_unittests
279
- SRCS
280
- fscanf_test.cpp
281
- DEPENDS
282
- libc.src.stdio.fscanf
283
- ${fscanf_test_deps}
284
- libc.src.__support.CPP.string_view
285
- COMPILE_OPTIONS
286
- ${use_system_file}
287
- )
275
+ # FIXME: These tests currently fail on AMDGPU due to an optimization bug in the
276
+ # `amdgpu-attributor` pass. Disable until that's fixed.
277
+ if (NOT LIBC_TARGET_ARCHITECTURE_IS_AMDGPU)
278
+ add_libc_test(
279
+ fscanf_test
280
+ SUITE
281
+ libc_stdio_unittests
282
+ SRCS
283
+ fscanf_test.cpp
284
+ DEPENDS
285
+ libc.src.stdio.fscanf
286
+ ${fscanf_test_deps}
287
+ libc.src.__support.CPP.string_view
288
+ COMPILE_OPTIONS
289
+ ${use_system_file}
290
+ )
288
291
289
- add_libc_test(
290
- vfscanf_test
291
- SUITE
292
- libc_stdio_unittests
293
- SRCS
294
- vfscanf_test.cpp
295
- DEPENDS
296
- libc.src.stdio.vfscanf
297
- ${fscanf_test_deps}
298
- libc.src.__support.CPP.string_view
299
- COMPILE_OPTIONS
300
- ${use_system_file}
301
- )
292
+ add_libc_test(
293
+ vfscanf_test
294
+ SUITE
295
+ libc_stdio_unittests
296
+ SRCS
297
+ vfscanf_test.cpp
298
+ DEPENDS
299
+ libc.src.stdio.vfscanf
300
+ ${fscanf_test_deps}
301
+ libc.src.__support.CPP.string_view
302
+ COMPILE_OPTIONS
303
+ ${use_system_file}
304
+ )
305
+ endif ()
302
306
303
307
if (LIBC_CONF_SCANF_DISABLE_FLOAT)
304
308
list (APPEND sscanf_test_copts "-DLIBC_COPT_SCANF_DISABLE_FLOAT" )
You can’t perform that action at this time.
0 commit comments