llvm-project/compiler-rt/test/builtins/Unit
Oleg Ranevskyy 8a8b7b6df7 [compiler-rt][tests] cpu_model_test.c test fails to compile if X86 is not clang's default target
Summary:
test/builtins/Unit/cpu_model_test.c tests the X86 specific builtin `__builtin_cpu_supports`.
It fails if the clang's default target is not X86.

The proposed patch adds an additional requirement for the X86 target to the test, making lit ignore the test if the target is different.

Reviewers: asbirlea

Subscribers: dberris, llvm-commits

Differential Revision: https://reviews.llvm.org/D23633

llvm-svn: 279071
2016-08-18 14:39:39 +00:00
..
arm Implement __aeabi_c{d,f}{cmpeq,cmple,rcmple}. 2015-08-21 00:25:37 +00:00
ppc Add COMPILER_RT_ABI attribute to declarations of builtin functions in unittests 2015-04-24 15:45:57 +00:00
absvdi2_test.c Add COMPILER_RT_ABI attribute to declarations of builtin functions in unittests 2015-04-24 15:45:57 +00:00
absvsi2_test.c Add COMPILER_RT_ABI attribute to declarations of builtin functions in unittests 2015-04-24 15:45:57 +00:00
absvti2_test.c Add COMPILER_RT_ABI attribute to declarations of builtin functions in unittests 2015-04-24 15:45:57 +00:00
adddf3vfp_test.c Add COMPILER_RT_ABI attribute to declarations of builtin functions in unittests 2015-04-24 15:45:57 +00:00
addsf3vfp_test.c Add COMPILER_RT_ABI attribute to declarations of builtin functions in unittests 2015-04-24 15:45:57 +00:00
addtf3_test.c Add COMPILER_RT_ABI attribute to declarations of builtin functions in unittests 2015-04-24 15:45:57 +00:00
addvdi3_test.c Add COMPILER_RT_ABI attribute to declarations of builtin functions in unittests 2015-04-24 15:45:57 +00:00
addvsi3_test.c Add COMPILER_RT_ABI attribute to declarations of builtin functions in unittests 2015-04-24 15:45:57 +00:00
addvti3_test.c Add COMPILER_RT_ABI attribute to declarations of builtin functions in unittests 2015-04-24 15:45:57 +00:00
ashldi3_test.c Add COMPILER_RT_ABI attribute to declarations of builtin functions in unittests 2015-04-24 15:45:57 +00:00
ashlti3_test.c Add COMPILER_RT_ABI attribute to declarations of builtin functions in unittests 2015-04-24 15:45:57 +00:00
ashrdi3_test.c Add COMPILER_RT_ABI attribute to declarations of builtin functions in unittests 2015-04-24 15:45:57 +00:00
ashrti3_test.c Add COMPILER_RT_ABI attribute to declarations of builtin functions in unittests 2015-04-24 15:45:57 +00:00
bswapdi2_test.c
bswapsi2_test.c
clear_cache_test.c tests: correct builtins test if built under -mthumb on ARM 2015-01-05 21:54:50 +00:00
clzdi2_test.c Add COMPILER_RT_ABI attribute to declarations of builtin functions in unittests 2015-04-24 15:45:57 +00:00
clzsi2_test.c Add COMPILER_RT_ABI attribute to declarations of builtin functions in unittests 2015-04-24 15:45:57 +00:00
clzti2_test.c Add COMPILER_RT_ABI attribute to declarations of builtin functions in unittests 2015-04-24 15:45:57 +00:00
cmpdi2_test.c Add COMPILER_RT_ABI attribute to declarations of builtin functions in unittests 2015-04-24 15:45:57 +00:00
cmpti2_test.c Add COMPILER_RT_ABI attribute to declarations of builtin functions in unittests 2015-04-24 15:45:57 +00:00
comparedf2_test.c
comparesf2_test.c
cpu_model_test.c [compiler-rt][tests] cpu_model_test.c test fails to compile if X86 is not clang's default target 2016-08-18 14:39:39 +00:00
ctzdi2_test.c Add COMPILER_RT_ABI attribute to declarations of builtin functions in unittests 2015-04-24 15:45:57 +00:00
ctzsi2_test.c Add COMPILER_RT_ABI attribute to declarations of builtin functions in unittests 2015-04-24 15:45:57 +00:00
ctzti2_test.c Add COMPILER_RT_ABI attribute to declarations of builtin functions in unittests 2015-04-24 15:45:57 +00:00
divdc3_test.c Add COMPILER_RT_ABI attribute to declarations of builtin functions in unittests 2015-04-24 15:45:57 +00:00
divdf3vfp_test.c Add COMPILER_RT_ABI attribute to declarations of builtin functions in unittests 2015-04-24 15:45:57 +00:00
divdi3_test.c Add COMPILER_RT_ABI attribute to declarations of builtin functions in unittests 2015-04-24 15:45:57 +00:00
divmodsi4_test.c Add COMPILER_RT_ABI attribute to declarations of builtin functions in unittests 2015-04-24 15:45:57 +00:00
divsc3_test.c Add COMPILER_RT_ABI attribute to declarations of builtin functions in unittests 2015-04-24 15:45:57 +00:00
divsf3vfp_test.c Add COMPILER_RT_ABI attribute to declarations of builtin functions in unittests 2015-04-24 15:45:57 +00:00
divsi3_test.c Add COMPILER_RT_ABI attribute to declarations of builtin functions in unittests 2015-04-24 15:45:57 +00:00
divtc3_test.c Add a generic version of __divtc3.c for long double complex division. 2015-11-22 19:13:49 +00:00
divtf3_test.c Add COMPILER_RT_ABI attribute to declarations of builtin functions in unittests 2015-04-24 15:45:57 +00:00
divti3_test.c Add COMPILER_RT_ABI attribute to declarations of builtin functions in unittests 2015-04-24 15:45:57 +00:00
divxc3_test.c Add COMPILER_RT_ABI attribute to declarations of builtin functions in unittests 2015-04-24 15:45:57 +00:00
enable_execute_stack_test.c tests: correct builtins test if built under -mthumb on ARM 2015-01-05 21:54:50 +00:00
endianness.h
eqdf2vfp_test.c
eqsf2vfp_test.c
eqtf2_test.c Add support for IEEE754 quad precision comparison functions. 2014-04-01 13:42:56 +00:00
extebdsfdf2vfp_test.c Add COMPILER_RT_ABI attribute to declarations of builtin functions in unittests 2015-04-24 15:45:57 +00:00
extenddftf2_test.c Add COMPILER_RT_ABI attribute to declarations of builtin functions in unittests 2015-04-24 15:45:57 +00:00
extendhfsf2_test.c [Builtins] Implement half-precision conversions. 2015-05-12 18:33:42 +00:00
extendsftf2_test.c Add COMPILER_RT_ABI attribute to declarations of builtin functions in unittests 2015-04-24 15:45:57 +00:00
ffsdi2_test.c Add COMPILER_RT_ABI attribute to declarations of builtin functions in unittests 2015-04-24 15:45:57 +00:00
ffsti2_test.c Add COMPILER_RT_ABI attribute to declarations of builtin functions in unittests 2015-04-24 15:45:57 +00:00
fixdfdi_test.c Add COMPILER_RT_ABI attribute to declarations of builtin functions in unittests 2015-04-24 15:45:57 +00:00
fixdfsivfp_test.c
fixdfti_test.c Add COMPILER_RT_ABI attribute to declarations of builtin functions in unittests 2015-04-24 15:45:57 +00:00
fixsfdi_test.c Add COMPILER_RT_ABI attribute to declarations of builtin functions in unittests 2015-04-24 15:45:57 +00:00
fixsfsivfp_test.c
fixsfti_test.c Add COMPILER_RT_ABI attribute to declarations of builtin functions in unittests 2015-04-24 15:45:57 +00:00
fixtfdi_test.c [compiler-rt][aarch64] New tests for 128-bit floating-point builtins, fixes of tests and __fixuint 2015-11-05 18:36:42 +00:00
fixtfsi_test.c [compiler-rt][aarch64] New tests for 128-bit floating-point builtins, fixes of tests and __fixuint 2015-11-05 18:36:42 +00:00
fixtfti_test.c [compiler-rt][aarch64] New tests for 128-bit floating-point builtins, fixes of tests and __fixuint 2015-11-05 18:36:42 +00:00
fixunsdfdi_test.c [compiler-rt][aarch64] New tests for 128-bit floating-point builtins, fixes of tests and __fixuint 2015-11-05 18:36:42 +00:00
fixunsdfsi_test.c [compiler-rt][aarch64] New tests for 128-bit floating-point builtins, fixes of tests and __fixuint 2015-11-05 18:36:42 +00:00
fixunsdfsivfp_test.c Add COMPILER_RT_ABI attribute to declarations of builtin functions in unittests 2015-04-24 15:45:57 +00:00
fixunsdfti_test.c [compiler-rt][aarch64] New tests for 128-bit floating-point builtins, fixes of tests and __fixuint 2015-11-05 18:36:42 +00:00
fixunssfdi_test.c [compiler-rt][aarch64] New tests for 128-bit floating-point builtins, fixes of tests and __fixuint 2015-11-05 18:36:42 +00:00
fixunssfsi_test.c [compiler-rt][aarch64] New tests for 128-bit floating-point builtins, fixes of tests and __fixuint 2015-11-05 18:36:42 +00:00
fixunssfsivfp_test.c
fixunssfti_test.c Add COMPILER_RT_ABI attribute to declarations of builtin functions in unittests 2015-04-24 15:45:57 +00:00
fixunstfdi_test.c [compiler-rt][aarch64] New tests for 128-bit floating-point builtins, fixes of tests and __fixuint 2015-11-05 18:36:42 +00:00
fixunstfsi_test.c [compiler-rt][aarch64] New tests for 128-bit floating-point builtins, fixes of tests and __fixuint 2015-11-05 18:36:42 +00:00
fixunstfti_test.c [compiler-rt][aarch64] New tests for 128-bit floating-point builtins, fixes of tests and __fixuint 2015-11-05 18:36:42 +00:00
fixunsxfdi_test.c Add COMPILER_RT_ABI attribute to declarations of builtin functions in unittests 2015-04-24 15:45:57 +00:00
fixunsxfsi_test.c Add COMPILER_RT_ABI attribute to declarations of builtin functions in unittests 2015-04-24 15:45:57 +00:00
fixunsxfti_test.c Add COMPILER_RT_ABI attribute to declarations of builtin functions in unittests 2015-04-24 15:45:57 +00:00
fixxfdi_test.c Add COMPILER_RT_ABI attribute to declarations of builtin functions in unittests 2015-04-24 15:45:57 +00:00
fixxfti_test.c Add COMPILER_RT_ABI attribute to declarations of builtin functions in unittests 2015-04-24 15:45:57 +00:00
floatdidf_test.c Add COMPILER_RT_ABI attribute to declarations of builtin functions in unittests 2015-04-24 15:45:57 +00:00
floatdisf_test.c Add COMPILER_RT_ABI attribute to declarations of builtin functions in unittests 2015-04-24 15:45:57 +00:00
floatditf_test.c [compiler-rt] Add AArch64 to CMake configuration and several missing builtins 2015-08-18 13:43:37 +00:00
floatdixf_test.c Add COMPILER_RT_ABI attribute to declarations of builtin functions in unittests 2015-04-24 15:45:57 +00:00
floatsidfvfp_test.c Add COMPILER_RT_ABI attribute to declarations of builtin functions in unittests 2015-04-24 15:45:57 +00:00
floatsisfvfp_test.c Add COMPILER_RT_ABI attribute to declarations of builtin functions in unittests 2015-04-24 15:45:57 +00:00
floatsitf_test.c Fix __floatsitf() for negative input 2015-07-31 13:32:09 +00:00
floattidf_test.c Add COMPILER_RT_ABI attribute to declarations of builtin functions in unittests 2015-04-24 15:45:57 +00:00
floattisf_test.c Add COMPILER_RT_ABI attribute to declarations of builtin functions in unittests 2015-04-24 15:45:57 +00:00
floattixf_test.c Add COMPILER_RT_ABI attribute to declarations of builtin functions in unittests 2015-04-24 15:45:57 +00:00
floatundidf_test.c Add COMPILER_RT_ABI attribute to declarations of builtin functions in unittests 2015-04-24 15:45:57 +00:00
floatundisf_test.c Add COMPILER_RT_ABI attribute to declarations of builtin functions in unittests 2015-04-24 15:45:57 +00:00
floatunditf_test.c [compiler-rt] Add AArch64 to CMake configuration and several missing builtins 2015-08-18 13:43:37 +00:00
floatundixf_test.c Add COMPILER_RT_ABI attribute to declarations of builtin functions in unittests 2015-04-24 15:45:57 +00:00
floatunsitf_test.c Add COMPILER_RT_ABI attribute to declarations of builtin functions in unittests 2015-04-24 15:45:57 +00:00
floatunssidfvfp_test.c Add COMPILER_RT_ABI attribute to declarations of builtin functions in unittests 2015-04-24 15:45:57 +00:00
floatunssisfvfp_test.c Add COMPILER_RT_ABI attribute to declarations of builtin functions in unittests 2015-04-24 15:45:57 +00:00
floatuntidf_test.c Add COMPILER_RT_ABI attribute to declarations of builtin functions in unittests 2015-04-24 15:45:57 +00:00
floatuntisf_test.c Add COMPILER_RT_ABI attribute to declarations of builtin functions in unittests 2015-04-24 15:45:57 +00:00
floatuntixf_test.c Add COMPILER_RT_ABI attribute to declarations of builtin functions in unittests 2015-04-24 15:45:57 +00:00
fp_test.h Fix incorrect truncation at the overflow boundary 2015-06-23 20:24:53 +00:00
gcc_personality_test.c
gcc_personality_test_helper.cxx
gedf2vfp_test.c
gesf2vfp_test.c
getf2_test.c Add support for IEEE754 quad precision comparison functions. 2014-04-01 13:42:56 +00:00
gtdf2vfp_test.c
gtsf2vfp_test.c
gttf2_test.c Add support for IEEE754 quad precision comparison functions. 2014-04-01 13:42:56 +00:00
ledf2vfp_test.c
lesf2vfp_test.c
letf2_test.c Add support for IEEE754 quad precision comparison functions. 2014-04-01 13:42:56 +00:00
lshrdi3_test.c Add COMPILER_RT_ABI attribute to declarations of builtin functions in unittests 2015-04-24 15:45:57 +00:00
lshrti3_test.c Add COMPILER_RT_ABI attribute to declarations of builtin functions in unittests 2015-04-24 15:45:57 +00:00
ltdf2vfp_test.c
ltsf2vfp_test.c
lttf2_test.c Add support for IEEE754 quad precision comparison functions. 2014-04-01 13:42:56 +00:00
moddi3_test.c Add COMPILER_RT_ABI attribute to declarations of builtin functions in unittests 2015-04-24 15:45:57 +00:00
modsi3_test.c Add COMPILER_RT_ABI attribute to declarations of builtin functions in unittests 2015-04-24 15:45:57 +00:00
modti3_test.c Add COMPILER_RT_ABI attribute to declarations of builtin functions in unittests 2015-04-24 15:45:57 +00:00
muldc3_test.c Add COMPILER_RT_ABI attribute to declarations of builtin functions in unittests 2015-04-24 15:45:57 +00:00
muldf3vfp_test.c Add COMPILER_RT_ABI attribute to declarations of builtin functions in unittests 2015-04-24 15:45:57 +00:00
muldi3_test.c Add COMPILER_RT_ABI attribute to declarations of builtin functions in unittests 2015-04-24 15:45:57 +00:00
mulodi4_test.c Add COMPILER_RT_ABI attribute to declarations of builtin functions in unittests 2015-04-24 15:45:57 +00:00
mulosi4_test.c Add COMPILER_RT_ABI attribute to declarations of builtin functions in unittests 2015-04-24 15:45:57 +00:00
muloti4_test.c Add COMPILER_RT_ABI attribute to declarations of builtin functions in unittests 2015-04-24 15:45:57 +00:00
mulsc3_test.c Add COMPILER_RT_ABI attribute to declarations of builtin functions in unittests 2015-04-24 15:45:57 +00:00
mulsf3vfp_test.c Add COMPILER_RT_ABI attribute to declarations of builtin functions in unittests 2015-04-24 15:45:57 +00:00
multc3_test.c [compiler-rt] Add AArch64 to CMake configuration and several missing builtins 2015-08-18 13:43:37 +00:00
multf3_test.c [compiler-rt][aarch64] New tests for 128-bit floating-point builtins, fixes of tests and __fixuint 2015-11-05 18:36:42 +00:00
multi3_test.c Add COMPILER_RT_ABI attribute to declarations of builtin functions in unittests 2015-04-24 15:45:57 +00:00
mulvdi3_test.c Add COMPILER_RT_ABI attribute to declarations of builtin functions in unittests 2015-04-24 15:45:57 +00:00
mulvsi3_test.c Add COMPILER_RT_ABI attribute to declarations of builtin functions in unittests 2015-04-24 15:45:57 +00:00
mulvti3_test.c Add COMPILER_RT_ABI attribute to declarations of builtin functions in unittests 2015-04-24 15:45:57 +00:00
mulxc3_test.c Add COMPILER_RT_ABI attribute to declarations of builtin functions in unittests 2015-04-24 15:45:57 +00:00
nedf2vfp_test.c
negdf2vfp_test.c Add COMPILER_RT_ABI attribute to declarations of builtin functions in unittests 2015-04-24 15:45:57 +00:00
negdi2_test.c Add COMPILER_RT_ABI attribute to declarations of builtin functions in unittests 2015-04-24 15:45:57 +00:00
negsf2vfp_test.c Add COMPILER_RT_ABI attribute to declarations of builtin functions in unittests 2015-04-24 15:45:57 +00:00
negti2_test.c Add COMPILER_RT_ABI attribute to declarations of builtin functions in unittests 2015-04-24 15:45:57 +00:00
negvdi2_test.c Add COMPILER_RT_ABI attribute to declarations of builtin functions in unittests 2015-04-24 15:45:57 +00:00
negvsi2_test.c Add COMPILER_RT_ABI attribute to declarations of builtin functions in unittests 2015-04-24 15:45:57 +00:00
negvti2_test.c Add COMPILER_RT_ABI attribute to declarations of builtin functions in unittests 2015-04-24 15:45:57 +00:00
nesf2vfp_test.c
netf2_test.c Add support for IEEE754 quad precision comparison functions. 2014-04-01 13:42:56 +00:00
paritydi2_test.c Add COMPILER_RT_ABI attribute to declarations of builtin functions in unittests 2015-04-24 15:45:57 +00:00
paritysi2_test.c Add COMPILER_RT_ABI attribute to declarations of builtin functions in unittests 2015-04-24 15:45:57 +00:00
parityti2_test.c Add COMPILER_RT_ABI attribute to declarations of builtin functions in unittests 2015-04-24 15:45:57 +00:00
popcountdi2_test.c Add COMPILER_RT_ABI attribute to declarations of builtin functions in unittests 2015-04-24 15:45:57 +00:00
popcountsi2_test.c Add COMPILER_RT_ABI attribute to declarations of builtin functions in unittests 2015-04-24 15:45:57 +00:00
popcountti2_test.c Add COMPILER_RT_ABI attribute to declarations of builtin functions in unittests 2015-04-24 15:45:57 +00:00
powidf2_test.c Add COMPILER_RT_ABI attribute to declarations of builtin functions in unittests 2015-04-24 15:45:57 +00:00
powisf2_test.c Add COMPILER_RT_ABI attribute to declarations of builtin functions in unittests 2015-04-24 15:45:57 +00:00
powitf2_test.c Add COMPILER_RT_ABI attribute to declarations of builtin functions in unittests 2015-04-24 15:45:57 +00:00
powixf2_test.c Add COMPILER_RT_ABI attribute to declarations of builtin functions in unittests 2015-04-24 15:45:57 +00:00
subdf3vfp_test.c Add COMPILER_RT_ABI attribute to declarations of builtin functions in unittests 2015-04-24 15:45:57 +00:00
subsf3vfp_test.c Add COMPILER_RT_ABI attribute to declarations of builtin functions in unittests 2015-04-24 15:45:57 +00:00
subtf3_test.c Add COMPILER_RT_ABI attribute to declarations of builtin functions in unittests 2015-04-24 15:45:57 +00:00
subvdi3_test.c Add COMPILER_RT_ABI attribute to declarations of builtin functions in unittests 2015-04-24 15:45:57 +00:00
subvsi3_test.c Add COMPILER_RT_ABI attribute to declarations of builtin functions in unittests 2015-04-24 15:45:57 +00:00
subvti3_test.c Add COMPILER_RT_ABI attribute to declarations of builtin functions in unittests 2015-04-24 15:45:57 +00:00
test
trampoline_setup_test.c
truncdfhf2_test.c Fix incorrect truncation at the overflow boundary 2015-06-23 20:24:53 +00:00
truncdfsf2_test.c Fix incorrect truncation at the overflow boundary 2015-06-23 20:24:53 +00:00
truncdfsf2vfp_test.c Add COMPILER_RT_ABI attribute to declarations of builtin functions in unittests 2015-04-24 15:45:57 +00:00
truncsfhf2_test.c Fix incorrect truncation at the overflow boundary 2015-06-23 20:24:53 +00:00
trunctfdf2_test.c Add COMPILER_RT_ABI attribute to declarations of builtin functions in unittests 2015-04-24 15:45:57 +00:00
trunctfsf2_test.c Add COMPILER_RT_ABI attribute to declarations of builtin functions in unittests 2015-04-24 15:45:57 +00:00
ucmpdi2_test.c Add COMPILER_RT_ABI attribute to declarations of builtin functions in unittests 2015-04-24 15:45:57 +00:00
ucmpti2_test.c Add COMPILER_RT_ABI attribute to declarations of builtin functions in unittests 2015-04-24 15:45:57 +00:00
udivdi3_test.c Add COMPILER_RT_ABI attribute to declarations of builtin functions in unittests 2015-04-24 15:45:57 +00:00
udivmoddi4_test.c Add COMPILER_RT_ABI attribute to declarations of builtin functions in unittests 2015-04-24 15:45:57 +00:00
udivmodsi4_test.c Add COMPILER_RT_ABI attribute to declarations of builtin functions in unittests 2015-04-24 15:45:57 +00:00
udivmodti4_test.c Add COMPILER_RT_ABI attribute to declarations of builtin functions in unittests 2015-04-24 15:45:57 +00:00
udivsi3_test.c Add COMPILER_RT_ABI attribute to declarations of builtin functions in unittests 2015-04-24 15:45:57 +00:00
udivti3_test.c Add COMPILER_RT_ABI attribute to declarations of builtin functions in unittests 2015-04-24 15:45:57 +00:00
umoddi3_test.c Add COMPILER_RT_ABI attribute to declarations of builtin functions in unittests 2015-04-24 15:45:57 +00:00
umodsi3_test.c Add COMPILER_RT_ABI attribute to declarations of builtin functions in unittests 2015-04-24 15:45:57 +00:00
umodti3_test.c Add COMPILER_RT_ABI attribute to declarations of builtin functions in unittests 2015-04-24 15:45:57 +00:00
unorddf2vfp_test.c
unordsf2vfp_test.c
unordtf2_test.c Add support for IEEE754 quad precision comparison functions. 2014-04-01 13:42:56 +00:00