forked from OSchip/llvm-project
[Builtins] Provide a mechanism to selectively disable tests based on whether an implementation is provided by a builtin library.
Summary: If a platform removes some builtin implementations (e.g. via the Darwin-excludes mechanism) then this can lead to test failures because the test expects an implementation to be available. To solve this lit features are added for each configuration based on which sources are included in the builtin library. The features are of the form `librt_has_<name>` where `<name>` is the name of the source file with the file extension removed. This handles C and assembly sources. With the lit features in place it is possible to make certain tests require them. Example: ``` REQUIRES: librt_has_comparedf2 ``` All top-level tests in `test/builtins/Unit` (i.e. not under `arm`, `ppc`, and `riscv`) have been annotated with the appropriate `REQUIRES: librt_has_*` statement. rdar://problem/55520987 Reviewers: beanz, steven_wu, arphaman, dexonsmith, phosek, thakis Subscribers: mgorny, #sanitizers, llvm-commits Tags: #llvm, #sanitizers Differential Revision: https://reviews.llvm.org/D68064 llvm-svn: 375150
This commit is contained in:
parent
48993d5ab9
commit
5be7eb3ab4
|
@ -44,6 +44,33 @@ foreach(arch ${BUILTIN_TEST_ARCH})
|
|||
string(REPLACE ";" " " BUILTINS_TEST_TARGET_CFLAGS "${BUILTINS_TEST_TARGET_CFLAGS}")
|
||||
endif()
|
||||
|
||||
# Compute builtins available in library and add them as lit features.
|
||||
if(APPLE)
|
||||
# TODO: Support other Apple platforms.
|
||||
set(BUILTIN_LIB_TARGET_NAME "clang_rt.builtins_${arch}_osx")
|
||||
else()
|
||||
set(BUILTIN_LIB_TARGET_NAME "clang_rt.builtins-${arch}")
|
||||
endif()
|
||||
if (NOT TARGET "${BUILTIN_LIB_TARGET_NAME}")
|
||||
message(FATAL_ERROR "Target ${BUILTIN_LIB_TARGET_NAME} does not exist")
|
||||
endif()
|
||||
get_target_property(BUILTIN_LIB_SOURCES "${BUILTIN_LIB_TARGET_NAME}" SOURCES)
|
||||
list(LENGTH BUILTIN_LIB_SOURCES BUILTIN_LIB_SOURCES_LENGTH)
|
||||
if (BUILTIN_LIB_SOURCES_LENGTH EQUAL 0)
|
||||
message(FATAL_ERROR "Failed to find source files for ${arch} builtin library")
|
||||
endif()
|
||||
set(BUILTINS_LIT_SOURCE_FEATURES "")
|
||||
foreach (file_name ${BUILTIN_LIB_SOURCES})
|
||||
# Strip off any directories and file extensions. This approach means we add
|
||||
# add a single feature if there is a C source file or assembly override
|
||||
# present in the builtin library.
|
||||
# E.g.
|
||||
# "hexagon/udivsi3.S" => "udivsi3"
|
||||
# "udivsi3.c" => "udivsi3"
|
||||
get_filename_component(FILE_NAME_FILTERED "${file_name}" NAME_WE)
|
||||
list(APPEND BUILTINS_LIT_SOURCE_FEATURES "librt_has_${FILE_NAME_FILTERED}")
|
||||
endforeach()
|
||||
|
||||
string(TOUPPER ${arch} ARCH_UPPER_CASE)
|
||||
set(CONFIG_NAME ${ARCH_UPPER_CASE}${OS_NAME}Config)
|
||||
configure_lit_site_cfg(
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
// RUN: %clang_builtins %s %librt -o %t && %run %t
|
||||
// REQUIRES: librt_has_absvdi2
|
||||
//===-- absvdi2_test.c - Test __absvdi2 -----------------------------------===//
|
||||
//
|
||||
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
// RUN: %clang_builtins %s %librt -o %t && %run %t
|
||||
// REQUIRES: librt_has_absvsi2
|
||||
//===-- absvsi2_test.c - Test __absvsi2 -----------------------------------===//
|
||||
//
|
||||
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
// RUN: %clang_builtins %s %librt -o %t && %run %t
|
||||
// REQUIRES: librt_has_absvti2
|
||||
// REQUIRES: int128
|
||||
//===-- absvti2_test.c - Test __absvti2 -----------------------------------===//
|
||||
//
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
// RUN: %clang_builtins %s %librt -o %t && %run %t
|
||||
// REQUIRES: librt_has_adddf3vfp
|
||||
//===-- adddf3vfp_test.c - Test __adddf3vfp -------------------------------===//
|
||||
//
|
||||
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
// RUN: %clang_builtins %s %librt -o %t && %run %t
|
||||
// REQUIRES: librt_has_addsf3vfp
|
||||
//===-- addsf3vfp_test.c - Test __addsf3vfp -------------------------------===//
|
||||
//
|
||||
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
// RUN: %clang_builtins %s %librt -o %t && %run %t
|
||||
// REQUIRES: librt_has_addtf3
|
||||
//===--------------- addtf3_test.c - Test __addtf3 ------------------------===//
|
||||
//
|
||||
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
// RUN: %clang_builtins %s %librt -o %t && %run %t
|
||||
// REQUIRES: librt_has_addvdi3
|
||||
//===-- addvdi3_test.c - Test __addvdi3 -----------------------------------===//
|
||||
//
|
||||
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
// RUN: %clang_builtins %s %librt -o %t && %run %t
|
||||
// REQUIRES: librt_has_addvsi3
|
||||
//===-- addvsi3_test.c - Test __addvsi3 -----------------------------------===//
|
||||
//
|
||||
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
// RUN: %clang_builtins %s %librt -o %t && %run %t
|
||||
// REQUIRES: librt_has_addvti3
|
||||
// REQUIRES: int128
|
||||
//===-- addvti3_test.c - Test __addvti3 -----------------------------------===//
|
||||
//
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
// RUN: %clang_builtins %s %librt -o %t && %run %t
|
||||
// REQUIRES: librt_has_ashldi3
|
||||
//===-- ashldi3_test.c - Test __ashldi3 -----------------------------------===//
|
||||
//
|
||||
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
// RUN: %clang_builtins %s %librt -o %t && %run %t
|
||||
// REQUIRES: librt_has_ashlti3
|
||||
// REQUIRES: int128
|
||||
//===-- ashlti3_test.c - Test __ashlti3 -----------------------------------===//
|
||||
//
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
// RUN: %clang_builtins %s %librt -o %t && %run %t
|
||||
// REQUIRES: librt_has_ashrdi3
|
||||
//===-- ashrdi3_test.c - Test __ashrdi3 -----------------------------------===//
|
||||
//
|
||||
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
// RUN: %clang_builtins %s %librt -o %t && %run %t
|
||||
// REQUIRES: librt_has_ashrti3
|
||||
// REQUIRES: int128
|
||||
//===-- ashrti3_test.c - Test __ashrti3 -----------------------------------===//
|
||||
//
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
// UNSUPPORTED: armv6m-target-arch
|
||||
// RUN: %clang_builtins %s %librt -o %t && %run %t
|
||||
// REQUIRES: librt_has_bswapdi2
|
||||
//===-- bswapdi2_test.c - Test __bswapdi2 ---------------------------------===//
|
||||
//
|
||||
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
// UNSUPPORTED: armv6m-target-arch
|
||||
// RUN: %clang_builtins %s %librt -o %t && %run %t
|
||||
// REQUIRES: librt_has_bswapsi2
|
||||
//===-- bswapsi2_test.c - Test __bswapsi2 ---------------------------------===//
|
||||
//
|
||||
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
// REQUIRES: native-run
|
||||
// UNSUPPORTED: arm, aarch64
|
||||
// RUN: %clang_builtins %s %librt -o %t && %run %t
|
||||
// REQUIRES: librt_has_clear_cache
|
||||
//===-- clear_cache_test.c - Test clear_cache -----------------------------===//
|
||||
//
|
||||
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
// RUN: %clang_builtins %s %librt -o %t && %run %t
|
||||
// REQUIRES: librt_has_clzdi2
|
||||
//===-- clzdi2_test.c - Test __clzdi2 -------------------------------------===//
|
||||
//
|
||||
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
// RUN: %clang_builtins %s %librt -o %t && %run %t
|
||||
// REQUIRES: librt_has_clzsi2
|
||||
//===-- clzsi2_test.c - Test __clzsi2 -------------------------------------===//
|
||||
//
|
||||
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
// RUN: %clang_builtins %s %librt -o %t && %run %t
|
||||
// REQUIRES: librt_has_clzti2
|
||||
// REQUIRES: int128
|
||||
//===-- clzti2_test.c - Test __clzti2 -------------------------------------===//
|
||||
//
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
// RUN: %clang_builtins %s %librt -o %t && %run %t
|
||||
// REQUIRES: librt_has_cmpdi2
|
||||
//===-- cmpdi2_test.c - Test __cmpdi2 -------------------------------------===//
|
||||
//
|
||||
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
// RUN: %clang_builtins %s %librt -o %t && %run %t
|
||||
// REQUIRES: librt_has_cmpti2
|
||||
// REQUIRES: int128
|
||||
//===-- cmpti2_test.c - Test __cmpti2 -------------------------------------===//
|
||||
//
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
// RUN: %clang_builtins %s %librt -o %t && %run %t
|
||||
// REQUIRES: librt_has_comparedf2
|
||||
|
||||
//===-- cmpdf2_test.c - Test __cmpdf2 -------------------------------------===//
|
||||
//
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
// RUN: %clang_builtins %s %librt -o %t && %run %t
|
||||
// REQUIRES: librt_has_comparesf2
|
||||
|
||||
//===-- cmpsf2_test.c - Test __cmpsf2 -------------------------------------===//
|
||||
//
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
// XFAIL: *
|
||||
// REQUIRES: x86-target-arch
|
||||
// RUN: %clang_builtins %s %librt -o %t && %run %t
|
||||
// REQUIRES: librt_has_cpu_model
|
||||
//===-- cpu_model_test.c - Test __builtin_cpu_supports --------------------===//
|
||||
//
|
||||
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
// RUN: %clang_builtins %s %librt -o %t && %run %t
|
||||
// REQUIRES: librt_has_ctzdi2
|
||||
//===-- ctzdi2_test.c - Test __ctzdi2 -------------------------------------===//
|
||||
//
|
||||
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
// RUN: %clang_builtins %s %librt -o %t && %run %t
|
||||
// REQUIRES: librt_has_ctzsi2
|
||||
//===-- ctzsi2_test.c - Test __ctzsi2 -------------------------------------===//
|
||||
//
|
||||
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
// RUN: %clang_builtins %s %librt -o %t && %run %t
|
||||
// REQUIRES: librt_has_ctzti2
|
||||
// REQUIRES: int128
|
||||
//===-- ctzti2_test.c - Test __ctzti2 -------------------------------------===//
|
||||
//
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
// RUN: %clang_builtins %s %librt -o %t && %run %t
|
||||
// REQUIRES: librt_has_divdc3
|
||||
//===-- divdc3_test.c - Test __divdc3 -------------------------------------===//
|
||||
//
|
||||
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
// RUN: %clang_builtins %s %librt -o %t && %run %t
|
||||
// REQUIRES: librt_has_divdf3
|
||||
//===--------------- divdf3_test.c - Test __divdf3 ------------------------===//
|
||||
//
|
||||
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
// RUN: %clang_builtins %s %librt -o %t && %run %t
|
||||
// REQUIRES: librt_has_divdf3vfp
|
||||
//===-- divdf3vfp_test.c - Test __divdf3vfp -------------------------------===//
|
||||
//
|
||||
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
// RUN: %clang_builtins %s %librt -o %t && %run %t
|
||||
// REQUIRES: librt_has_divdi3
|
||||
//===-- divdi3_test.c - Test __divdi3 -------------------------------------===//
|
||||
//
|
||||
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
// RUN: %clang_builtins %s %librt -o %t && %run %t
|
||||
// REQUIRES: librt_has_divmodsi4
|
||||
//===-- divmodsi4_test.c - Test __divmodsi4 -------------------------------===//
|
||||
//
|
||||
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
// RUN: %clang_builtins %s %librt -lm -o %t && %run %t
|
||||
// REQUIRES: librt_has_divsc3
|
||||
//===-- divsc3_test.c - Test __divsc3 -------------------------------------===//
|
||||
//
|
||||
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
// RUN: %clang_builtins %s %librt -o %t && %run %t
|
||||
// REQUIRES: librt_has_divsf3
|
||||
//===--------------- divsf3_test.c - Test __divsf3 ------------------------===//
|
||||
//
|
||||
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
// RUN: %clang_builtins %s %librt -o %t && %run %t
|
||||
// REQUIRES: librt_has_divsf3vfp
|
||||
//===-- divsf3vfp_test.c - Test __divsf3vfp -------------------------------===//
|
||||
//
|
||||
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
// RUN: %clang_builtins %s %librt -o %t && %run %t
|
||||
// REQUIRES: librt_has_divsi3
|
||||
//===-- divsi3_test.c - Test __divsi3 -------------------------------------===//
|
||||
//
|
||||
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
// RUN: %clang_builtins %s %librt -lm -o %t && %run %t
|
||||
// REQUIRES: librt_has_divtc3
|
||||
//
|
||||
// 32-bit: Bug 42493, 64-bit: Bug 42496
|
||||
// XFAIL: sparc
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
// RUN: %clang_builtins %s %librt -o %t && %run %t
|
||||
// REQUIRES: librt_has_divtf3
|
||||
//===--------------- divtf3_test.c - Test __divtf3 ------------------------===//
|
||||
//
|
||||
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
// RUN: %clang_builtins %s %librt -o %t && %run %t
|
||||
// REQUIRES: librt_has_divti3
|
||||
// REQUIRES: int128
|
||||
//===-- divti3_test.c - Test __divti3 -------------------------------------===//
|
||||
//
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
// RUN: %clang_builtins %s %librt -lm -o %t && %run %t
|
||||
// REQUIRES: librt_has_divxc3
|
||||
// REQUIRES: x86-target-arch
|
||||
// UNSUPPORTED: powerpc64
|
||||
//===-- divxc3_test.c - Test __divxc3 -------------------------------------===//
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
// REQUIRES: native-run
|
||||
// RUN: %clang_builtins %s %librt -o %t && %run %t
|
||||
// REQUIRES: librt_has_enable_execute_stack
|
||||
//===-- enable_execute_stack_test.c - Test __enable_execute_stack ----------===//
|
||||
//
|
||||
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
// RUN: %clang_builtins %s %librt -o %t && %run %t
|
||||
// REQUIRES: librt_has_eqdf2vfp
|
||||
|
||||
//===-- eqdf2vfp_test.c - Test __eqdf2vfp ---------------------------------===//
|
||||
//
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
// RUN: %clang_builtins %s %librt -o %t && %run %t
|
||||
// REQUIRES: librt_has_eqsf2vfp
|
||||
|
||||
//===-- eqsf2vfp_test.c - Test __eqsf2vfp ---------------------------------===//
|
||||
//
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
// RUN: %clang_builtins %s %librt -o %t && %run %t
|
||||
// REQUIRES: librt_has_comparetf2
|
||||
//===------------ eqtf2_test.c - Test __eqtf2------------------------------===//
|
||||
//
|
||||
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
// RUN: %clang_builtins %s %librt -o %t && %run %t
|
||||
// REQUIRES: librt_has_extenddftf2
|
||||
//===--------------- extenddftf2_test.c - Test __extenddftf2 --------------===//
|
||||
//
|
||||
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
// RUN: %clang_builtins %s %librt -o %t && %run %t
|
||||
// REQUIRES: librt_has_extendhfsf2
|
||||
//===--------------- extendhfsf2_test.c - Test __extendhfsf2 --------------===//
|
||||
//
|
||||
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
// RUN: %clang_builtins %s %librt -o %t && %run %t
|
||||
// REQUIRES: librt_has_extendsfdf2vfp
|
||||
//===-- extendsfdf2vfp_test.c - Test __extendsfdf2vfp ---------------------===//
|
||||
//
|
||||
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
|
@ -1,4 +1,5 @@
|
|||
// RUN: %clang_builtins %s %librt -o %t && %run %t
|
||||
// REQUIRES: librt_has_extendsftf2
|
||||
//===--------------- extendsftf2_test.c - Test __extendsftf2 --------------===//
|
||||
//
|
||||
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
// RUN: %clang_builtins %s %librt -o %t && %run %t
|
||||
// REQUIRES: librt_has_ffsdi2
|
||||
//===-- ffsdi2_test.c - Test __ffsdi2 -------------------------------------===//
|
||||
//
|
||||
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
// RUN: %clang_builtins %s %librt -o %t && %run %t
|
||||
// REQUIRES: librt_has_ffssi2
|
||||
//===-- ffssi2_test.c - Test __ffssi2 -------------------------------------===//
|
||||
//
|
||||
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
// RUN: %clang_builtins %s %librt -o %t && %run %t
|
||||
// REQUIRES: librt_has_ffsti2
|
||||
// REQUIRES: int128
|
||||
//===-- ffsti2_test.c - Test __ffsti2 -------------------------------------===//
|
||||
//
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
// RUN: %clang_builtins %s %librt -o %t && %run %t
|
||||
// REQUIRES: librt_has_fixdfdi
|
||||
//===-- fixdfdi_test.c - Test __fixdfdi -----------------------------------===//
|
||||
//
|
||||
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
// RUN: %clang_builtins %s %librt -o %t && %run %t
|
||||
// REQUIRES: librt_has_fixdfsivfp
|
||||
|
||||
//===-- fixdfsivfp_test.c - Test __fixdfsivfp -----------------------------===//
|
||||
//
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
// RUN: %clang_builtins %s %librt -o %t && %run %t
|
||||
// REQUIRES: librt_has_fixdfti
|
||||
// REQUIRES: int128
|
||||
//===-- fixdfti_test.c - Test __fixdfti -----------------------------------===//
|
||||
//
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
// RUN: %clang_builtins %s %librt -o %t && %run %t
|
||||
// REQUIRES: librt_has_fixsfdi
|
||||
//===-- fixsfdi_test.c - Test __fixsfdi -----------------------------------===//
|
||||
//
|
||||
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
// RUN: %clang_builtins %s %librt -o %t && %run %t
|
||||
// REQUIRES: librt_has_fixsfsivfp
|
||||
|
||||
//===-- fixsfsivfp_test.c - Test __fixsfsivfp -----------------------------===//
|
||||
//
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
// RUN: %clang_builtins %s %librt -o %t && %run %t
|
||||
// REQUIRES: librt_has_fixsfti
|
||||
// REQUIRES: int128
|
||||
//===-- fixsfti_test.c - Test __fixsfti -----------------------------------===//
|
||||
//
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
// RUN: %clang_builtins %s %librt -o %t && %run %t
|
||||
// REQUIRES: librt_has_fixtfdi
|
||||
//===--------------- fixtfdi_test.c - Test __fixtfdi ----------------------===//
|
||||
//
|
||||
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
// RUN: %clang_builtins %s %librt -o %t && %run %t
|
||||
// REQUIRES: librt_has_fixtfsi
|
||||
//===--------------- fixtfsi_test.c - Test __fixtfsi ----------------------===//
|
||||
//
|
||||
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
// RUN: %clang_builtins %s %librt -o %t && %run %t
|
||||
// REQUIRES: librt_has_fixtfti
|
||||
//===--------------- fixtfti_test.c - Test __fixtfti ----------------------===//
|
||||
//
|
||||
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
// RUN: %clang_builtins %s %librt -o %t && %run %t
|
||||
// REQUIRES: librt_has_fixunsdfdi
|
||||
//===-- fixunsdfdi_test.c - Test __fixunsdfdi -----------------------------===//
|
||||
//
|
||||
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
// RUN: %clang_builtins %s %librt -o %t && %run %t
|
||||
// REQUIRES: librt_has_fixunsdfsi
|
||||
//===-- fixunsdfsi_test.c - Test __fixunsdfsi -----------------------------===//
|
||||
//
|
||||
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
// RUN: %clang_builtins %s %librt -o %t && %run %t
|
||||
// REQUIRES: librt_has_fixunsdfsivfp
|
||||
//===-- fixunsdfsivfp_test.c - Test __fixunsdfsivfp -----------------------===//
|
||||
//
|
||||
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
// RUN: %clang_builtins %s %librt -o %t && %run %t
|
||||
// REQUIRES: librt_has_fixunsdfti
|
||||
// REQUIRES: int128
|
||||
//===-- fixunsdfti_test.c - Test __fixunsdfti -----------------------------===//
|
||||
//
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
// RUN: %clang_builtins %s %librt -o %t && %run %t
|
||||
// REQUIRES: librt_has_fixunssfdi
|
||||
//===-- fixunssfdi_test.c - Test __fixunssfdi -----------------------------===//
|
||||
//
|
||||
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
// RUN: %clang_builtins %s %librt -o %t && %run %t
|
||||
// REQUIRES: librt_has_fixunssfsi
|
||||
//===-- fixunssfsi_test.c - Test __fixunssfsi -----------------------------===//
|
||||
//
|
||||
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
// RUN: %clang_builtins %s %librt -o %t && %run %t
|
||||
// REQUIRES: librt_has_fixunssfsivfp
|
||||
|
||||
//===-- fixunssfsivfp_test.c - Test __fixunssfsivfp -----------------------===//
|
||||
//
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
// RUN: %clang_builtins %s %librt -o %t && %run %t
|
||||
// REQUIRES: librt_has_fixunssfti
|
||||
// REQUIRES: int128
|
||||
//===-- fixunssfti_test.c - Test __fixunssfti -----------------------------===//
|
||||
//
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
// RUN: %clang_builtins %s %librt -o %t && %run %t
|
||||
// REQUIRES: librt_has_fixunstfdi
|
||||
//===-- fixunstfdi_test.c - Test __fixunstfdi -----------------------------===//
|
||||
//
|
||||
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
// RUN: %clang_builtins %s %librt -o %t && %run %t
|
||||
// REQUIRES: librt_has_fixunstfsi
|
||||
//===--------------- fixunstfsi_test.c - Test __fixunstfsi ----------------===//
|
||||
//
|
||||
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
// RUN: %clang_builtins %s %librt -o %t && %run %t
|
||||
// REQUIRES: librt_has_fixunstfti
|
||||
//===-- fixunstfti_test.c - Test __fixunstfti -----------------------------===//
|
||||
//
|
||||
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
// RUN: %clang_builtins %s %librt -o %t && %run %t
|
||||
// REQUIRES: librt_has_fixunsxfdi
|
||||
//===-- fixunsxfdi_test.c - Test __fixunsxfdi -----------------------------===//
|
||||
//
|
||||
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
// RUN: %clang_builtins %s %librt -o %t && %run %t
|
||||
// REQUIRES: librt_has_fixunsxfsi
|
||||
//===-- fixunsxfsi_test.c - Test __fixunsxfsi -----------------------------===//
|
||||
//
|
||||
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
// RUN: %clang_builtins %s %librt -o %t && %run %t
|
||||
// REQUIRES: librt_has_fixunsxfti
|
||||
// REQUIRES: x86-target-arch
|
||||
|
||||
//===-- fixunsxfti_test.c - Test __fixunsxfti -----------------------------===//
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
// RUN: %clang_builtins %s %librt -o %t && %run %t
|
||||
// REQUIRES: librt_has_fixxfdi
|
||||
//===-- fixxfdi_test.c - Test __fixxfdi -----------------------------------===//
|
||||
//
|
||||
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
// RUN: %clang_builtins %s %librt -o %t && %run %t
|
||||
// REQUIRES: librt_has_fixxfti
|
||||
// REQUIRES: x86-target-arch
|
||||
|
||||
//===-- fixxfti_test.c - Test __fixxfti -----------------------------------===//
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
// RUN: %clang_builtins %s %librt -o %t && %run %t
|
||||
// REQUIRES: librt_has_floatdidf
|
||||
//===-- floatdidf.c - Test __floatdidf ------------------------------------===//
|
||||
//
|
||||
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
// RUN: %clang_builtins %s %librt -o %t && %run %t
|
||||
// REQUIRES: librt_has_floatdisf
|
||||
//===-- floatdisf_test.c - Test __floatdisf -------------------------------===//
|
||||
//
|
||||
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
// RUN: %clang_builtins %s %librt -o %t && %run %t
|
||||
// REQUIRES: librt_has_floatditf
|
||||
//===-- floatditf_test.c - Test __floatditf -------------------------------===//
|
||||
//
|
||||
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
// RUN: %clang_builtins %s %librt -o %t && %run %t
|
||||
// REQUIRES: librt_has_floatdixf
|
||||
//===-- floatdixf_test.c - Test __floatdixf -------------------------------===//
|
||||
//
|
||||
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
// RUN: %clang_builtins %s %librt -o %t && %run %t
|
||||
// REQUIRES: librt_has_floatsidfvfp
|
||||
//===-- floatsidfvfp_test.c - Test __floatsidfvfp -------------------------===//
|
||||
//
|
||||
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
// RUN: %clang_builtins %s %librt -o %t && %run %t
|
||||
// REQUIRES: librt_has_floatsisfvfp
|
||||
//===-- floatsisfvfp_test.c - Test __floatsisfvfp -------------------------===//
|
||||
//
|
||||
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
// RUN: %clang_builtins %s %librt -o %t && %run %t
|
||||
// REQUIRES: librt_has_floatsitf
|
||||
//===--------------- floatsitf_test.c - Test __floatsitf ------------------===//
|
||||
//
|
||||
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
// RUN: %clang_builtins %s %librt -o %t && %run %t
|
||||
// REQUIRES: librt_has_floattidf
|
||||
// REQUIRES: int128
|
||||
//===-- floattidf.c - Test __floattidf ------------------------------------===//
|
||||
//
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
// RUN: %clang_builtins %s %librt -o %t && %run %t
|
||||
// REQUIRES: librt_has_floattisf
|
||||
// REQUIRES: int128
|
||||
//===-- floattisf_test.c - Test __floattisf -------------------------------===//
|
||||
//
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
// RUN: %clang_builtins %s %librt -o %t && %run %t
|
||||
// REQUIRES: librt_has_floattitf
|
||||
//===-- floattitf.c - Test __floattitf ------------------------------------===//
|
||||
//
|
||||
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
// RUN: %clang_builtins %s %librt -o %t && %run %t
|
||||
// REQUIRES: librt_has_floattixf
|
||||
// REQUIRES: x86-target-arch
|
||||
|
||||
//===-- floattixf.c - Test __floattixf ------------------------------------===//
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
// RUN: %clang_builtins %s %librt -o %t && %run %t
|
||||
// REQUIRES: librt_has_floatundidf
|
||||
//===-- floatundidf_test.c - Test __floatundidf ---------------------------===//
|
||||
//
|
||||
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
// RUN: %clang_builtins %s %librt -o %t && %run %t
|
||||
// REQUIRES: librt_has_floatundisf
|
||||
//===-- floatundisf_test.c - Test __floatundisf ---------------------------===//
|
||||
//
|
||||
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
// RUN: %clang_builtins %s %librt -o %t && %run %t
|
||||
// REQUIRES: librt_has_floatunditf
|
||||
//===-- floatunditf_test.c - Test __floatunditf ---------------------------===//
|
||||
//
|
||||
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
// RUN: %clang_builtins %s %librt -o %t && %run %t
|
||||
// REQUIRES: librt_has_floatundixf
|
||||
//===-- floatundixf_test.c - Test __floatundixf ---------------------------===//
|
||||
//
|
||||
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
// RUN: %clang_builtins %s %librt -o %t && %run %t
|
||||
// REQUIRES: librt_has_floatunsitf
|
||||
//===--------------- floatunsitf_test.c - Test __floatunsitf --------------===//
|
||||
//
|
||||
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
// RUN: %clang_builtins %s %librt -o %t && %run %t
|
||||
// REQUIRES: librt_has_floatunssidfvfp
|
||||
//===-- floatunssidfvfp_test.c - Test __floatunssidfvfp -------------------===//
|
||||
//
|
||||
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
// RUN: %clang_builtins %s %librt -o %t && %run %t
|
||||
// REQUIRES: librt_has_floatunssisfvfp
|
||||
//===-- floatunssisfvfp_test.c - Test __floatunssisfvfp -------------------===//
|
||||
//
|
||||
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
// RUN: %clang_builtins %s %librt -o %t && %run %t
|
||||
// REQUIRES: librt_has_floatuntidf
|
||||
// REQUIRES: int128
|
||||
//===-- floatuntidf.c - Test __floatuntidf --------------------------------===//
|
||||
//
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
// RUN: %clang_builtins %s %librt -o %t && %run %t
|
||||
// REQUIRES: librt_has_floatuntisf
|
||||
//===-- floatuntisf.c - Test __floatuntisf --------------------------------===//
|
||||
//
|
||||
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
// RUN: %clang_builtins %s %librt -o %t && %run %t
|
||||
// REQUIRES: librt_has_floatuntitf
|
||||
//===-- floatuntitf.c - Test __floatuntitf --------------------------------===//
|
||||
//
|
||||
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
// RUN: %clang_builtins %s %librt -o %t && %run %t
|
||||
// REQUIRES: librt_has_floatuntixf
|
||||
// REQUIRES: x86-target-arch
|
||||
|
||||
//===-- floatuntixf.c - Test __floatuntixf --------------------------------===//
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
// RUN: %clang_builtins %s %librt -o %t && %run %t
|
||||
// REQUIRES: librt_has_gedf2vfp
|
||||
|
||||
//===-- gedf2vfp_test.c - Test __gedf2vfp ---------------------------------===//
|
||||
//
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue