[compiler-rt] r297566 - [Builtin] Implement lit-test support
Weiming Zhao via llvm-commits
llvm-commits at lists.llvm.org
Sat Mar 11 11:40:26 PST 2017
Author: weimingz
Date: Sat Mar 11 13:40:24 2017
New Revision: 297566
URL: http://llvm.org/viewvc/llvm-project?rev=297566&view=rev
Log:
[Builtin] Implement lit-test support
Summary:
This patch implements a initial support of lit test for builtins.
Unit/arm/call_apsr.S is updated to support thumb1.
It also fixes a bug in arm/aeabi_uldivmod_test.c
gcc_personality_test is XFAILED as the framework cannot handle it so far.
cpu_model_test is also XFAILED for now as it is expected to return non-zero.
Reviewers: rengolin, compnerd, jroelofs, erik.pilkington, arphaman
Reviewed By: jroelofs
Subscribers: jroelofs, aemerson, srhines, nemanjai, llvm-commits, mgorny
Differential Revision: https://reviews.llvm.org/D30802
Added:
compiler-rt/trunk/test/builtins/Unit/lit.cfg
compiler-rt/trunk/test/builtins/Unit/lit.site.cfg.in
Modified:
compiler-rt/trunk/test/builtins/CMakeLists.txt
compiler-rt/trunk/test/builtins/Unit/absvdi2_test.c
compiler-rt/trunk/test/builtins/Unit/absvsi2_test.c
compiler-rt/trunk/test/builtins/Unit/absvti2_test.c
compiler-rt/trunk/test/builtins/Unit/adddf3vfp_test.c
compiler-rt/trunk/test/builtins/Unit/addsf3vfp_test.c
compiler-rt/trunk/test/builtins/Unit/addtf3_test.c
compiler-rt/trunk/test/builtins/Unit/addvdi3_test.c
compiler-rt/trunk/test/builtins/Unit/addvsi3_test.c
compiler-rt/trunk/test/builtins/Unit/addvti3_test.c
compiler-rt/trunk/test/builtins/Unit/arm/aeabi_cdcmpeq_test.c
compiler-rt/trunk/test/builtins/Unit/arm/aeabi_cdcmple_test.c
compiler-rt/trunk/test/builtins/Unit/arm/aeabi_cfcmpeq_test.c
compiler-rt/trunk/test/builtins/Unit/arm/aeabi_cfcmple_test.c
compiler-rt/trunk/test/builtins/Unit/arm/aeabi_drsub_test.c
compiler-rt/trunk/test/builtins/Unit/arm/aeabi_frsub_test.c
compiler-rt/trunk/test/builtins/Unit/arm/aeabi_idivmod_test.c
compiler-rt/trunk/test/builtins/Unit/arm/aeabi_uidivmod_test.c
compiler-rt/trunk/test/builtins/Unit/arm/aeabi_uldivmod_test.c
compiler-rt/trunk/test/builtins/Unit/arm/call_apsr.S
compiler-rt/trunk/test/builtins/Unit/ashldi3_test.c
compiler-rt/trunk/test/builtins/Unit/ashlti3_test.c
compiler-rt/trunk/test/builtins/Unit/ashrdi3_test.c
compiler-rt/trunk/test/builtins/Unit/ashrti3_test.c
compiler-rt/trunk/test/builtins/Unit/bswapdi2_test.c
compiler-rt/trunk/test/builtins/Unit/bswapsi2_test.c
compiler-rt/trunk/test/builtins/Unit/clear_cache_test.c
compiler-rt/trunk/test/builtins/Unit/clzdi2_test.c
compiler-rt/trunk/test/builtins/Unit/clzsi2_test.c
compiler-rt/trunk/test/builtins/Unit/clzti2_test.c
compiler-rt/trunk/test/builtins/Unit/cmpdi2_test.c
compiler-rt/trunk/test/builtins/Unit/cmpti2_test.c
compiler-rt/trunk/test/builtins/Unit/comparedf2_test.c
compiler-rt/trunk/test/builtins/Unit/comparesf2_test.c
compiler-rt/trunk/test/builtins/Unit/cpu_model_test.c
compiler-rt/trunk/test/builtins/Unit/ctzdi2_test.c
compiler-rt/trunk/test/builtins/Unit/ctzsi2_test.c
compiler-rt/trunk/test/builtins/Unit/ctzti2_test.c
compiler-rt/trunk/test/builtins/Unit/divdc3_test.c
compiler-rt/trunk/test/builtins/Unit/divdf3vfp_test.c
compiler-rt/trunk/test/builtins/Unit/divdi3_test.c
compiler-rt/trunk/test/builtins/Unit/divmodsi4_test.c
compiler-rt/trunk/test/builtins/Unit/divsc3_test.c
compiler-rt/trunk/test/builtins/Unit/divsf3vfp_test.c
compiler-rt/trunk/test/builtins/Unit/divsi3_test.c
compiler-rt/trunk/test/builtins/Unit/divtc3_test.c
compiler-rt/trunk/test/builtins/Unit/divtf3_test.c
compiler-rt/trunk/test/builtins/Unit/divti3_test.c
compiler-rt/trunk/test/builtins/Unit/divxc3_test.c
compiler-rt/trunk/test/builtins/Unit/enable_execute_stack_test.c
compiler-rt/trunk/test/builtins/Unit/eqdf2vfp_test.c
compiler-rt/trunk/test/builtins/Unit/eqsf2vfp_test.c
compiler-rt/trunk/test/builtins/Unit/eqtf2_test.c
compiler-rt/trunk/test/builtins/Unit/extebdsfdf2vfp_test.c
compiler-rt/trunk/test/builtins/Unit/extenddftf2_test.c
compiler-rt/trunk/test/builtins/Unit/extendhfsf2_test.c
compiler-rt/trunk/test/builtins/Unit/extendsftf2_test.c
compiler-rt/trunk/test/builtins/Unit/ffsdi2_test.c
compiler-rt/trunk/test/builtins/Unit/ffsti2_test.c
compiler-rt/trunk/test/builtins/Unit/fixdfdi_test.c
compiler-rt/trunk/test/builtins/Unit/fixdfsivfp_test.c
compiler-rt/trunk/test/builtins/Unit/fixdfti_test.c
compiler-rt/trunk/test/builtins/Unit/fixsfdi_test.c
compiler-rt/trunk/test/builtins/Unit/fixsfsivfp_test.c
compiler-rt/trunk/test/builtins/Unit/fixsfti_test.c
compiler-rt/trunk/test/builtins/Unit/fixtfdi_test.c
compiler-rt/trunk/test/builtins/Unit/fixtfsi_test.c
compiler-rt/trunk/test/builtins/Unit/fixtfti_test.c
compiler-rt/trunk/test/builtins/Unit/fixunsdfdi_test.c
compiler-rt/trunk/test/builtins/Unit/fixunsdfsi_test.c
compiler-rt/trunk/test/builtins/Unit/fixunsdfsivfp_test.c
compiler-rt/trunk/test/builtins/Unit/fixunsdfti_test.c
compiler-rt/trunk/test/builtins/Unit/fixunssfdi_test.c
compiler-rt/trunk/test/builtins/Unit/fixunssfsi_test.c
compiler-rt/trunk/test/builtins/Unit/fixunssfsivfp_test.c
compiler-rt/trunk/test/builtins/Unit/fixunssfti_test.c
compiler-rt/trunk/test/builtins/Unit/fixunstfdi_test.c
compiler-rt/trunk/test/builtins/Unit/fixunstfsi_test.c
compiler-rt/trunk/test/builtins/Unit/fixunstfti_test.c
compiler-rt/trunk/test/builtins/Unit/fixunsxfdi_test.c
compiler-rt/trunk/test/builtins/Unit/fixunsxfsi_test.c
compiler-rt/trunk/test/builtins/Unit/fixunsxfti_test.c
compiler-rt/trunk/test/builtins/Unit/fixxfdi_test.c
compiler-rt/trunk/test/builtins/Unit/fixxfti_test.c
compiler-rt/trunk/test/builtins/Unit/floatdidf_test.c
compiler-rt/trunk/test/builtins/Unit/floatdisf_test.c
compiler-rt/trunk/test/builtins/Unit/floatditf_test.c
compiler-rt/trunk/test/builtins/Unit/floatdixf_test.c
compiler-rt/trunk/test/builtins/Unit/floatsidfvfp_test.c
compiler-rt/trunk/test/builtins/Unit/floatsisfvfp_test.c
compiler-rt/trunk/test/builtins/Unit/floatsitf_test.c
compiler-rt/trunk/test/builtins/Unit/floattidf_test.c
compiler-rt/trunk/test/builtins/Unit/floattisf_test.c
compiler-rt/trunk/test/builtins/Unit/floattitf_test.c
compiler-rt/trunk/test/builtins/Unit/floattixf_test.c
compiler-rt/trunk/test/builtins/Unit/floatundidf_test.c
compiler-rt/trunk/test/builtins/Unit/floatundisf_test.c
compiler-rt/trunk/test/builtins/Unit/floatunditf_test.c
compiler-rt/trunk/test/builtins/Unit/floatundixf_test.c
compiler-rt/trunk/test/builtins/Unit/floatunsitf_test.c
compiler-rt/trunk/test/builtins/Unit/floatunssidfvfp_test.c
compiler-rt/trunk/test/builtins/Unit/floatunssisfvfp_test.c
compiler-rt/trunk/test/builtins/Unit/floatuntidf_test.c
compiler-rt/trunk/test/builtins/Unit/floatuntisf_test.c
compiler-rt/trunk/test/builtins/Unit/floatuntitf_test.c
compiler-rt/trunk/test/builtins/Unit/floatuntixf_test.c
compiler-rt/trunk/test/builtins/Unit/gcc_personality_test.c
compiler-rt/trunk/test/builtins/Unit/gedf2vfp_test.c
compiler-rt/trunk/test/builtins/Unit/gesf2vfp_test.c
compiler-rt/trunk/test/builtins/Unit/getf2_test.c
compiler-rt/trunk/test/builtins/Unit/gtdf2vfp_test.c
compiler-rt/trunk/test/builtins/Unit/gtsf2vfp_test.c
compiler-rt/trunk/test/builtins/Unit/gttf2_test.c
compiler-rt/trunk/test/builtins/Unit/ledf2vfp_test.c
compiler-rt/trunk/test/builtins/Unit/lesf2vfp_test.c
compiler-rt/trunk/test/builtins/Unit/letf2_test.c
compiler-rt/trunk/test/builtins/Unit/lshrdi3_test.c
compiler-rt/trunk/test/builtins/Unit/lshrti3_test.c
compiler-rt/trunk/test/builtins/Unit/ltdf2vfp_test.c
compiler-rt/trunk/test/builtins/Unit/ltsf2vfp_test.c
compiler-rt/trunk/test/builtins/Unit/lttf2_test.c
compiler-rt/trunk/test/builtins/Unit/moddi3_test.c
compiler-rt/trunk/test/builtins/Unit/modsi3_test.c
compiler-rt/trunk/test/builtins/Unit/modti3_test.c
compiler-rt/trunk/test/builtins/Unit/muldc3_test.c
compiler-rt/trunk/test/builtins/Unit/muldf3vfp_test.c
compiler-rt/trunk/test/builtins/Unit/muldi3_test.c
compiler-rt/trunk/test/builtins/Unit/mulodi4_test.c
compiler-rt/trunk/test/builtins/Unit/mulosi4_test.c
compiler-rt/trunk/test/builtins/Unit/muloti4_test.c
compiler-rt/trunk/test/builtins/Unit/mulsc3_test.c
compiler-rt/trunk/test/builtins/Unit/mulsf3vfp_test.c
compiler-rt/trunk/test/builtins/Unit/multc3_test.c
compiler-rt/trunk/test/builtins/Unit/multf3_test.c
compiler-rt/trunk/test/builtins/Unit/multi3_test.c
compiler-rt/trunk/test/builtins/Unit/mulvdi3_test.c
compiler-rt/trunk/test/builtins/Unit/mulvsi3_test.c
compiler-rt/trunk/test/builtins/Unit/mulvti3_test.c
compiler-rt/trunk/test/builtins/Unit/mulxc3_test.c
compiler-rt/trunk/test/builtins/Unit/nedf2vfp_test.c
compiler-rt/trunk/test/builtins/Unit/negdf2vfp_test.c
compiler-rt/trunk/test/builtins/Unit/negdi2_test.c
compiler-rt/trunk/test/builtins/Unit/negsf2vfp_test.c
compiler-rt/trunk/test/builtins/Unit/negti2_test.c
compiler-rt/trunk/test/builtins/Unit/negvdi2_test.c
compiler-rt/trunk/test/builtins/Unit/negvsi2_test.c
compiler-rt/trunk/test/builtins/Unit/negvti2_test.c
compiler-rt/trunk/test/builtins/Unit/nesf2vfp_test.c
compiler-rt/trunk/test/builtins/Unit/netf2_test.c
compiler-rt/trunk/test/builtins/Unit/paritydi2_test.c
compiler-rt/trunk/test/builtins/Unit/paritysi2_test.c
compiler-rt/trunk/test/builtins/Unit/parityti2_test.c
compiler-rt/trunk/test/builtins/Unit/popcountdi2_test.c
compiler-rt/trunk/test/builtins/Unit/popcountsi2_test.c
compiler-rt/trunk/test/builtins/Unit/popcountti2_test.c
compiler-rt/trunk/test/builtins/Unit/powidf2_test.c
compiler-rt/trunk/test/builtins/Unit/powisf2_test.c
compiler-rt/trunk/test/builtins/Unit/powitf2_test.c
compiler-rt/trunk/test/builtins/Unit/powixf2_test.c
compiler-rt/trunk/test/builtins/Unit/ppc/fixtfdi_test.c
compiler-rt/trunk/test/builtins/Unit/ppc/floatditf_test.c
compiler-rt/trunk/test/builtins/Unit/ppc/floatunditf_test.c
compiler-rt/trunk/test/builtins/Unit/ppc/qadd_test.c
compiler-rt/trunk/test/builtins/Unit/ppc/qdiv_test.c
compiler-rt/trunk/test/builtins/Unit/ppc/qmul_test.c
compiler-rt/trunk/test/builtins/Unit/ppc/qsub_test.c
compiler-rt/trunk/test/builtins/Unit/subdf3vfp_test.c
compiler-rt/trunk/test/builtins/Unit/subsf3vfp_test.c
compiler-rt/trunk/test/builtins/Unit/subtf3_test.c
compiler-rt/trunk/test/builtins/Unit/subvdi3_test.c
compiler-rt/trunk/test/builtins/Unit/subvsi3_test.c
compiler-rt/trunk/test/builtins/Unit/subvti3_test.c
compiler-rt/trunk/test/builtins/Unit/trampoline_setup_test.c
compiler-rt/trunk/test/builtins/Unit/truncdfhf2_test.c
compiler-rt/trunk/test/builtins/Unit/truncdfsf2_test.c
compiler-rt/trunk/test/builtins/Unit/truncdfsf2vfp_test.c
compiler-rt/trunk/test/builtins/Unit/truncsfhf2_test.c
compiler-rt/trunk/test/builtins/Unit/trunctfdf2_test.c
compiler-rt/trunk/test/builtins/Unit/trunctfsf2_test.c
compiler-rt/trunk/test/builtins/Unit/ucmpdi2_test.c
compiler-rt/trunk/test/builtins/Unit/ucmpti2_test.c
compiler-rt/trunk/test/builtins/Unit/udivdi3_test.c
compiler-rt/trunk/test/builtins/Unit/udivmoddi4_test.c
compiler-rt/trunk/test/builtins/Unit/udivmodsi4_test.c
compiler-rt/trunk/test/builtins/Unit/udivmodti4_test.c
compiler-rt/trunk/test/builtins/Unit/udivsi3_test.c
compiler-rt/trunk/test/builtins/Unit/udivti3_test.c
compiler-rt/trunk/test/builtins/Unit/umoddi3_test.c
compiler-rt/trunk/test/builtins/Unit/umodsi3_test.c
compiler-rt/trunk/test/builtins/Unit/umodti3_test.c
compiler-rt/trunk/test/builtins/Unit/unorddf2vfp_test.c
compiler-rt/trunk/test/builtins/Unit/unordsf2vfp_test.c
compiler-rt/trunk/test/builtins/Unit/unordtf2_test.c
Modified: compiler-rt/trunk/test/builtins/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/CMakeLists.txt?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/CMakeLists.txt (original)
+++ compiler-rt/trunk/test/builtins/CMakeLists.txt Sat Mar 11 13:40:24 2017
@@ -9,6 +9,22 @@ configure_lit_site_cfg(
${CMAKE_CURRENT_BINARY_DIR}/lit.site.cfg
)
+#Unit tests.
+set(BUILTINS_TEST_ARCH ${COMPILER_RT_SUPPORTED_ARCH})
+
+foreach(arch ${BUILTINS_TEST_ARCH})
+ set(BUILTINS_TEST_TARGET_ARCH ${arch})
+ string(TOLOWER "-${arch}-${OS_NAME}" BUILTINS_TEST_CONFIG_SUFFIX)
+ get_test_cc_for_arch(${arch} BUILTINS_TEST_TARGET_CC BUILTINS_TEST_TARGET_CFLAGS)
+ string(TOUPPER ${arch} ARCH_UPPER_CASE)
+ set(CONFIG_NAME ${ARCH_UPPER_CASE}${OS_NAME}Config)
+ configure_lit_site_cfg(
+ ${CMAKE_CURRENT_SOURCE_DIR}/Unit/lit.site.cfg.in
+ ${CMAKE_CURRENT_BINARY_DIR}/Unit/${CONFIG_NAME}/lit.site.cfg
+ )
+ list(APPEND BUILTINS_TESTSUITES ${CMAKE_CURRENT_BINARY_DIR}/Unit/${CONFIG_NAME})
+endforeach()
+
add_lit_testsuite(check-builtins "Running the Builtins tests"
${BUILTINS_TESTSUITES}
DEPENDS ${BUILTINS_TEST_DEPS})
Modified: compiler-rt/trunk/test/builtins/Unit/absvdi2_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/absvdi2_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/absvdi2_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/absvdi2_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- absvdi2_test.c - Test __absvdi2 -----------------------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/absvsi2_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/absvsi2_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/absvsi2_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/absvsi2_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- absvsi2_test.c - Test __absvsi2 -----------------------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/absvti2_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/absvti2_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/absvti2_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/absvti2_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- absvti2_test.c - Test __absvti2 -----------------------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/adddf3vfp_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/adddf3vfp_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/adddf3vfp_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/adddf3vfp_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- adddf3vfp_test.c - Test __adddf3vfp -------------------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/addsf3vfp_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/addsf3vfp_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/addsf3vfp_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/addsf3vfp_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- addsf3vfp_test.c - Test __addsf3vfp -------------------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/addtf3_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/addtf3_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/addtf3_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/addtf3_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===--------------- addtf3_test.c - Test __addtf3 ------------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/addvdi3_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/addvdi3_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/addvdi3_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/addvdi3_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- addvdi3_test.c - Test __addvdi3 -----------------------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/addvsi3_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/addvsi3_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/addvsi3_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/addvsi3_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- addvsi3_test.c - Test __addvsi3 -----------------------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/addvti3_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/addvti3_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/addvti3_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/addvti3_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- addvti3_test.c - Test __addvti3 -----------------------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/arm/aeabi_cdcmpeq_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/arm/aeabi_cdcmpeq_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/arm/aeabi_cdcmpeq_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/arm/aeabi_cdcmpeq_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,6 @@
+// REQUIRES-ANY: arm-target-arch,armv6m-target-arch
+// RUN: %arm_call_apsr -o %t.aspr.o
+// RUN: %clang_builtins %s %t.aspr.o %librt -o %t && %run %t
//===-- aeabi_cdcmpeq.c - Test __aeabi_cdcmpeq ----------------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/arm/aeabi_cdcmple_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/arm/aeabi_cdcmple_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/arm/aeabi_cdcmple_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/arm/aeabi_cdcmple_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,7 @@
+// REQUIRES-ANY: arm-target-arch,armv6m-target-arch
+// RUN: %arm_call_apsr -o %t.aspr.o
+// RUN: %clang_builtins %s %t.aspr.o %librt -o %t && %run %t
+
//===-- aeabi_cdcmple.c - Test __aeabi_cdcmple and __aeabi_cdrcmple -------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/arm/aeabi_cfcmpeq_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/arm/aeabi_cfcmpeq_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/arm/aeabi_cfcmpeq_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/arm/aeabi_cfcmpeq_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,6 @@
+// REQUIRES-ANY: arm-target-arch,armv6m-target-arch
+// RUN: %arm_call_apsr -o %t.aspr.o
+// RUN: %clang_builtins %s %t.aspr.o %librt -o %t && %run %t
//===-- aeabi_cfcmpeq.c - Test __aeabi_cfcmpeq ----------------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/arm/aeabi_cfcmple_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/arm/aeabi_cfcmple_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/arm/aeabi_cfcmple_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/arm/aeabi_cfcmple_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,7 @@
+// REQUIRES-ANY: arm-target-arch,armv6m-target-arch
+// RUN: %arm_call_apsr -o %t.aspr.o
+// RUN: %clang_builtins %s %t.aspr.o %librt -o %t && %run %t
+
//===-- aeabi_cfcmple.c - Test __aeabi_cfcmple and __aeabi_cfrcmple -------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/arm/aeabi_drsub_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/arm/aeabi_drsub_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/arm/aeabi_drsub_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/arm/aeabi_drsub_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,5 @@
+// REQUIRES-ANY: arm-target-arch,armv6m-target-arch
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- aeabi_drsub.c - Test __aeabi_drsub --------------------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/arm/aeabi_frsub_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/arm/aeabi_frsub_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/arm/aeabi_frsub_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/arm/aeabi_frsub_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,5 @@
+// REQUIRES-ANY: arm-target-arch,armv6m-target-arch
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- aeabi_frsub.c - Test __aeabi_frsub --------------------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/arm/aeabi_idivmod_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/arm/aeabi_idivmod_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/arm/aeabi_idivmod_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/arm/aeabi_idivmod_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,5 @@
+// REQUIRES-ANY: arm-target-arch,armv6m-target-arch
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- aeabi_idivmod_test.c - Test __aeabi_idivmod -----------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/arm/aeabi_uidivmod_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/arm/aeabi_uidivmod_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/arm/aeabi_uidivmod_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/arm/aeabi_uidivmod_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,5 @@
+// REQUIRES-ANY: arm-target-arch,armv6m-target-arch
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- aeabi_uidivmod_test.c - Test __aeabi_uidivmod ---------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/arm/aeabi_uldivmod_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/arm/aeabi_uldivmod_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/arm/aeabi_uldivmod_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/arm/aeabi_uldivmod_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,5 @@
+// REQUIRES-ANY: arm-target-arch,armv6m-target-arch
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- aeabi_uldivmod_test.c - Test aeabi_uldivmod -----------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/arm/call_apsr.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/arm/call_apsr.S?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/arm/call_apsr.S (original)
+++ compiler-rt/trunk/test/builtins/Unit/arm/call_apsr.S Sat Mar 11 13:40:24 2017
@@ -22,11 +22,11 @@
// }
DEFINE_COMPILERRT_PRIVATE_FUNCTION(call_apsr_d)
- push {lr}
- ldr ip, [sp, #4]
- blx ip
+ push {r7, lr}
+ ldr r7, [sp, #8]
+ blx r7
mrs r0, apsr
- pop {pc}
+ pop {r7, pc}
END_COMPILERRT_FUNCTION(call_apsr_d)
// __attribute__((pcs("aapcs")))
Modified: compiler-rt/trunk/test/builtins/Unit/ashldi3_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/ashldi3_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/ashldi3_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/ashldi3_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- ashldi3_test.c - Test __ashldi3 -----------------------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/ashlti3_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/ashlti3_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/ashlti3_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/ashlti3_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- ashlti3_test.c - Test __ashlti3 -----------------------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/ashrdi3_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/ashrdi3_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/ashrdi3_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/ashrdi3_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- ashrdi3_test.c - Test __ashrdi3 -----------------------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/ashrti3_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/ashrti3_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/ashrti3_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/ashrti3_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- ashrti3_test.c - Test __ashrti3 -----------------------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/bswapdi2_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/bswapdi2_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/bswapdi2_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/bswapdi2_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,5 @@
+// UNSUPPORTED: armv6m-target-arch
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- bswapdi2_test.c - Test __bswapdi2 ---------------------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/bswapsi2_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/bswapsi2_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/bswapsi2_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/bswapsi2_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,5 @@
+// UNSUPPORTED: armv6m-target-arch
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- bswapsi2_test.c - Test __bswapsi2 ---------------------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/clear_cache_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/clear_cache_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/clear_cache_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/clear_cache_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,5 @@
+// REQUIRES: native-run
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- clear_cache_test.c - Test clear_cache -----------------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/clzdi2_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/clzdi2_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/clzdi2_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/clzdi2_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- clzdi2_test.c - Test __clzdi2 -------------------------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/clzsi2_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/clzsi2_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/clzsi2_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/clzsi2_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- clzsi2_test.c - Test __clzsi2 -------------------------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/clzti2_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/clzti2_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/clzti2_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/clzti2_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- clzti2_test.c - Test __clzti2 -------------------------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/cmpdi2_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/cmpdi2_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/cmpdi2_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/cmpdi2_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- cmpdi2_test.c - Test __cmpdi2 -------------------------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/cmpti2_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/cmpti2_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/cmpti2_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/cmpti2_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- cmpti2_test.c - Test __cmpti2 -------------------------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/comparedf2_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/comparedf2_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/comparedf2_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/comparedf2_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- cmpdf2_test.c - Test __cmpdf2 -------------------------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/comparesf2_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/comparesf2_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/comparesf2_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/comparesf2_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- cmpsf2_test.c - Test __cmpsf2 -------------------------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/cpu_model_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/cpu_model_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/cpu_model_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/cpu_model_test.c Sat Mar 11 13:40:24 2017
@@ -1,4 +1,8 @@
-//===-- cpu_model_test.c - Test __builtin_cpu_supports -------------------------------===//
+// FIXME: XFAIL the test because it is expected to return non-zero value.
+// XFAIL: *
+// REQUIRES: x86-target-arch
+// RUN: %clang_builtins %s %librt -o %t && %run %t
+//===-- cpu_model_test.c - Test __builtin_cpu_supports --------------------===//
//
// The LLVM Compiler Infrastructure
//
@@ -11,8 +15,6 @@
//
//===----------------------------------------------------------------------===//
-// REQUIRES: x86-target-arch
-
#include <stdio.h>
int main (void) {
Modified: compiler-rt/trunk/test/builtins/Unit/ctzdi2_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/ctzdi2_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/ctzdi2_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/ctzdi2_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- ctzdi2_test.c - Test __ctzdi2 -------------------------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/ctzsi2_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/ctzsi2_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/ctzsi2_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/ctzsi2_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- ctzsi2_test.c - Test __ctzsi2 -------------------------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/ctzti2_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/ctzti2_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/ctzti2_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/ctzti2_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- ctzti2_test.c - Test __ctzti2 -------------------------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/divdc3_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/divdc3_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/divdc3_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/divdc3_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- divdc3_test.c - Test __divdc3 -------------------------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/divdf3vfp_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/divdf3vfp_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/divdf3vfp_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/divdf3vfp_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- divdf3vfp_test.c - Test __divdf3vfp -------------------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/divdi3_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/divdi3_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/divdi3_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/divdi3_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- divdi3_test.c - Test __divdi3 -------------------------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/divmodsi4_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/divmodsi4_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/divmodsi4_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/divmodsi4_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- divmodsi4_test.c - Test __divmodsi4 -------------------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/divsc3_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/divsc3_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/divsc3_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/divsc3_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -lm -o %t && %run %t
//===-- divsc3_test.c - Test __divsc3 -------------------------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/divsf3vfp_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/divsf3vfp_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/divsf3vfp_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/divsf3vfp_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- divsf3vfp_test.c - Test __divsf3vfp -------------------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/divsi3_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/divsi3_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/divsi3_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/divsi3_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- divsi3_test.c - Test __divsi3 -------------------------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/divtc3_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/divtc3_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/divtc3_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/divtc3_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -lm -o %t && %run %t
//===-- divtc3_test.c - Test __divtc3 -------------------------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/divtf3_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/divtf3_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/divtf3_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/divtf3_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===--------------- divtf3_test.c - Test __divtf3 ------------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/divti3_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/divti3_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/divti3_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/divti3_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- divti3_test.c - Test __divti3 -------------------------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/divxc3_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/divxc3_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/divxc3_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/divxc3_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -lm -o %t && %run %t
//===-- divxc3_test.c - Test __divxc3 -------------------------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/enable_execute_stack_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/enable_execute_stack_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/enable_execute_stack_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/enable_execute_stack_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,5 @@
+// REQUIRES: native-run
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- enable_execute_stack_test.c - Test __enable_execute_stack ----------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/eqdf2vfp_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/eqdf2vfp_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/eqdf2vfp_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/eqdf2vfp_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- eqdf2vfp_test.c - Test __eqdf2vfp ---------------------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/eqsf2vfp_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/eqsf2vfp_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/eqsf2vfp_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/eqsf2vfp_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- eqsf2vfp_test.c - Test __eqsf2vfp ---------------------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/eqtf2_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/eqtf2_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/eqtf2_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/eqtf2_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===------------ eqtf2_test.c - Test __eqtf2------------------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/extebdsfdf2vfp_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/extebdsfdf2vfp_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/extebdsfdf2vfp_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/extebdsfdf2vfp_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- extendsfdf2vfp_test.c - Test __extendsfdf2vfp ---------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/extenddftf2_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/extenddftf2_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/extenddftf2_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/extenddftf2_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===--------------- extenddftf2_test.c - Test __extenddftf2 --------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/extendhfsf2_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/extendhfsf2_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/extendhfsf2_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/extendhfsf2_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===--------------- extendhfsf2_test.c - Test __extendhfsf2 --------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/extendsftf2_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/extendsftf2_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/extendsftf2_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/extendsftf2_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===--------------- extendsftf2_test.c - Test __extendsftf2 --------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/ffsdi2_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/ffsdi2_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/ffsdi2_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/ffsdi2_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- ffsdi2_test.c - Test __ffsdi2 -------------------------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/ffsti2_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/ffsti2_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/ffsti2_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/ffsti2_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- ffsti2_test.c - Test __ffsti2 -------------------------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/fixdfdi_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/fixdfdi_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/fixdfdi_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/fixdfdi_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- fixdfdi_test.c - Test __fixdfdi -----------------------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/fixdfsivfp_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/fixdfsivfp_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/fixdfsivfp_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/fixdfsivfp_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- fixdfsivfp_test.c - Test __fixdfsivfp -----------------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/fixdfti_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/fixdfti_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/fixdfti_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/fixdfti_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- fixdfti_test.c - Test __fixdfti -----------------------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/fixsfdi_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/fixsfdi_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/fixsfdi_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/fixsfdi_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- fixsfdi_test.c - Test __fixsfdi -----------------------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/fixsfsivfp_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/fixsfsivfp_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/fixsfsivfp_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/fixsfsivfp_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- fixsfsivfp_test.c - Test __fixsfsivfp -----------------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/fixsfti_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/fixsfti_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/fixsfti_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/fixsfti_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- fixsfti_test.c - Test __fixsfti -----------------------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/fixtfdi_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/fixtfdi_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/fixtfdi_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/fixtfdi_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===--------------- fixtfdi_test.c - Test __fixtfdi ----------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/fixtfsi_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/fixtfsi_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/fixtfsi_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/fixtfsi_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===--------------- fixtfsi_test.c - Test __fixtfsi ----------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/fixtfti_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/fixtfti_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/fixtfti_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/fixtfti_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===--------------- fixtfti_test.c - Test __fixtfti ----------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/fixunsdfdi_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/fixunsdfdi_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/fixunsdfdi_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/fixunsdfdi_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- fixunsdfdi_test.c - Test __fixunsdfdi -----------------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/fixunsdfsi_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/fixunsdfsi_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/fixunsdfsi_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/fixunsdfsi_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- fixunsdfsi_test.c - Test __fixunsdfsi -----------------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/fixunsdfsivfp_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/fixunsdfsivfp_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/fixunsdfsivfp_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/fixunsdfsivfp_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- fixunsdfsivfp_test.c - Test __fixunsdfsivfp -----------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/fixunsdfti_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/fixunsdfti_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/fixunsdfti_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/fixunsdfti_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- fixunsdfti_test.c - Test __fixunsdfti -----------------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/fixunssfdi_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/fixunssfdi_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/fixunssfdi_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/fixunssfdi_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- fixunssfdi_test.c - Test __fixunssfdi -----------------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/fixunssfsi_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/fixunssfsi_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/fixunssfsi_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/fixunssfsi_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- fixunssfsi_test.c - Test __fixunssfsi -----------------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/fixunssfsivfp_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/fixunssfsivfp_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/fixunssfsivfp_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/fixunssfsivfp_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- fixunssfsivfp_test.c - Test __fixunssfsivfp -----------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/fixunssfti_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/fixunssfti_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/fixunssfti_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/fixunssfti_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- fixunssfti_test.c - Test __fixunssfti -----------------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/fixunstfdi_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/fixunstfdi_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/fixunstfdi_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/fixunstfdi_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- fixunstfdi_test.c - Test __fixunstfdi -----------------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/fixunstfsi_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/fixunstfsi_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/fixunstfsi_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/fixunstfsi_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===--------------- fixunstfsi_test.c - Test __fixunstfsi ----------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/fixunstfti_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/fixunstfti_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/fixunstfti_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/fixunstfti_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- fixunstfti_test.c - Test __fixunstfti -----------------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/fixunsxfdi_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/fixunsxfdi_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/fixunsxfdi_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/fixunsxfdi_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- fixunsxfdi_test.c - Test __fixunsxfdi -----------------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/fixunsxfsi_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/fixunsxfsi_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/fixunsxfsi_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/fixunsxfsi_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- fixunsxfsi_test.c - Test __fixunsxfsi -----------------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/fixunsxfti_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/fixunsxfti_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/fixunsxfti_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/fixunsxfti_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- fixunsxfti_test.c - Test __fixunsxfti -----------------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/fixxfdi_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/fixxfdi_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/fixxfdi_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/fixxfdi_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- fixxfdi_test.c - Test __fixxfdi -----------------------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/fixxfti_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/fixxfti_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/fixxfti_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/fixxfti_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- fixxfti_test.c - Test __fixxfti -----------------------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/floatdidf_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/floatdidf_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/floatdidf_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/floatdidf_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- floatdidf.c - Test __floatdidf ------------------------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/floatdisf_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/floatdisf_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/floatdisf_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/floatdisf_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- floatdisf_test.c - Test __floatdisf -------------------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/floatditf_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/floatditf_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/floatditf_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/floatditf_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- floatditf_test.c - Test __floatditf -------------------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/floatdixf_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/floatdixf_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/floatdixf_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/floatdixf_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- floatdixf_test.c - Test __floatdixf -------------------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/floatsidfvfp_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/floatsidfvfp_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/floatsidfvfp_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/floatsidfvfp_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- floatsidfvfp_test.c - Test __floatsidfvfp -------------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/floatsisfvfp_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/floatsisfvfp_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/floatsisfvfp_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/floatsisfvfp_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- floatsisfvfp_test.c - Test __floatsisfvfp -------------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/floatsitf_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/floatsitf_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/floatsitf_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/floatsitf_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===--------------- floatsitf_test.c - Test __floatsitf ------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/floattidf_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/floattidf_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/floattidf_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/floattidf_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- floattidf.c - Test __floattidf ------------------------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/floattisf_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/floattisf_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/floattisf_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/floattisf_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- floattisf_test.c - Test __floattisf -------------------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/floattitf_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/floattitf_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/floattitf_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/floattitf_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- floattitf.c - Test __floattitf ------------------------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/floattixf_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/floattixf_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/floattixf_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/floattixf_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- floattixf.c - Test __floattixf ------------------------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/floatundidf_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/floatundidf_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/floatundidf_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/floatundidf_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- floatundidf_test.c - Test __floatundidf ---------------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/floatundisf_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/floatundisf_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/floatundisf_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/floatundisf_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- floatundisf_test.c - Test __floatundisf ---------------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/floatunditf_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/floatunditf_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/floatunditf_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/floatunditf_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- floatunditf_test.c - Test __floatunditf ---------------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/floatundixf_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/floatundixf_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/floatundixf_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/floatundixf_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- floatundixf_test.c - Test __floatundixf ---------------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/floatunsitf_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/floatunsitf_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/floatunsitf_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/floatunsitf_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===--------------- floatunsitf_test.c - Test __floatunsitf --------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/floatunssidfvfp_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/floatunssidfvfp_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/floatunssidfvfp_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/floatunssidfvfp_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- floatunssidfvfp_test.c - Test __floatunssidfvfp -------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/floatunssisfvfp_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/floatunssisfvfp_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/floatunssisfvfp_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/floatunssisfvfp_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- floatunssisfvfp_test.c - Test __floatunssisfvfp -------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/floatuntidf_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/floatuntidf_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/floatuntidf_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/floatuntidf_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- floatuntidf.c - Test __floatuntidf --------------------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/floatuntisf_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/floatuntisf_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/floatuntisf_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/floatuntisf_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- floatuntisf.c - Test __floatuntisf --------------------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/floatuntitf_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/floatuntitf_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/floatuntitf_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/floatuntitf_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- floatuntitf.c - Test __floatuntitf --------------------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/floatuntixf_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/floatuntixf_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/floatuntixf_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/floatuntixf_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- floatuntixf.c - Test __floatuntixf --------------------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/gcc_personality_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/gcc_personality_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/gcc_personality_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/gcc_personality_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,6 @@
+// FIXME: XFAIL as currently it cannot be built by lit properly.
+// XFAIL: *
+// RUN: %clangxx_builtins %s %librt -o %t && %run %t
/* ===-- gcc_personality_test.c - Tests __gcc_personality_v0 -------------===
*
* The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/gedf2vfp_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/gedf2vfp_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/gedf2vfp_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/gedf2vfp_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- gedf2vfp_test.c - Test __gedf2vfp ---------------------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/gesf2vfp_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/gesf2vfp_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/gesf2vfp_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/gesf2vfp_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- gesf2vfp_test.c - Test __gesf2vfp ---------------------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/getf2_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/getf2_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/getf2_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/getf2_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===------------ getf2_test.c - Test __getf2------------------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/gtdf2vfp_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/gtdf2vfp_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/gtdf2vfp_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/gtdf2vfp_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- gtdf2vfp_test.c - Test __gtdf2vfp ---------------------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/gtsf2vfp_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/gtsf2vfp_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/gtsf2vfp_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/gtsf2vfp_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- gtsf2vfp_test.c - Test __gtsf2vfp ---------------------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/gttf2_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/gttf2_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/gttf2_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/gttf2_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===------------ gttf2_test.c - Test __gttf2------------------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/ledf2vfp_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/ledf2vfp_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/ledf2vfp_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/ledf2vfp_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- ledf2vfp_test.c - Test __ledf2vfp ---------------------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/lesf2vfp_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/lesf2vfp_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/lesf2vfp_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/lesf2vfp_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- lesf2vfp_test.c - Test __lesf2vfp ---------------------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/letf2_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/letf2_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/letf2_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/letf2_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===------------ letf2_test.c - Test __letf2------------------------------===//
//
// The LLVM Compiler Infrastructure
Added: compiler-rt/trunk/test/builtins/Unit/lit.cfg
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/lit.cfg?rev=297566&view=auto
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/lit.cfg (added)
+++ compiler-rt/trunk/test/builtins/Unit/lit.cfg Sat Mar 11 13:40:24 2017
@@ -0,0 +1,80 @@
+# -*- Python -*-
+
+import os
+import platform
+
+import lit.formats
+
+def get_required_attr(config, attr_name):
+ attr_value = getattr(config, attr_name, None)
+ if attr_value == None:
+ lit_config.fatal(
+ "No attribute %r in test configuration! You may need to run "
+ "tests from your build directory or add this attribute "
+ "to lit.site.cfg " % attr_name)
+ return attr_value
+
+# Setup config name.
+config.name = 'Builtins' + config.name_suffix
+
+# Platform-specific default Builtins_OPTIONS for lit tests.
+default_builtins_opts = ''
+
+# Setup source root.
+config.test_source_root = os.path.dirname(__file__)
+
+# Path to the static library
+base_lib = os.path.join(config.compiler_rt_libdir, "libclang_rt.builtins-%s.a "
+ % config.target_arch)
+
+builtins_source_dir = os.path.join(
+ get_required_attr(config, "compiler_rt_src_root"), "lib", "builtins")
+builtins_lit_source_dir = get_required_attr(config, "builtins_lit_source_dir")
+
+extra_link_flags = ["-nodefaultlibs"]
+config.substitutions.append( ("%librt ", base_lib + ' -lc -lm ') )
+
+target_cflags = [get_required_attr(config, "target_cflags")]
+target_cflags += ['-fno-builtin', '-I', builtins_source_dir]
+target_cflags += extra_link_flags
+target_cxxflags = config.cxx_mode_flags + target_cflags
+clang_builtins_static_cflags = ([""] +
+ config.debug_info_flags + target_cflags)
+clang_builtins_static_cxxflags = config.cxx_mode_flags + \
+ clang_builtins_static_cflags
+
+clang_builtins_cflags = clang_builtins_static_cflags
+clang_builtins_cxxflags = clang_builtins_static_cxxflags
+
+
+config.available_features.add('not-android')
+clang_wrapper = ""
+
+def build_invocation(compile_flags):
+ return " " + " ".join([clang_wrapper, config.clang] + compile_flags) + " "
+
+
+target_arch = config.target_arch
+if (target_arch == "arm"):
+ target_arch = "armv7"
+
+config.substitutions.append( ("%clang ", build_invocation(target_cflags)) )
+config.substitutions.append( ("%clangxx ", build_invocation(target_cxxflags)) )
+config.substitutions.append( ("%clang_builtins ", \
+ build_invocation(clang_builtins_cflags)))
+config.substitutions.append( ("%clangxx_builtins ", \
+ build_invocation(clang_builtins_cxxflags)))
+
+# FIXME: move the call_apsr.s into call_apsr.h as inline-asm.
+# some ARM tests needs call_apsr.s
+call_apsr_source = os.path.join(builtins_lit_source_dir, 'arm', 'call_apsr.S')
+march_flag = '-march=' + target_arch
+call_apsr_flags = ['-c', march_flag, call_apsr_source]
+config.substitutions.append( ("%arm_call_apsr ", \
+ build_invocation(call_apsr_flags)) )
+
+# Default test suffixes.
+config.suffixes = ['.c', '.cc', '.cpp']
+
+if not config.emulator:
+ config.available_features.add('native-run')
Added: compiler-rt/trunk/test/builtins/Unit/lit.site.cfg.in
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/lit.site.cfg.in?rev=297566&view=auto
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/lit.site.cfg.in (added)
+++ compiler-rt/trunk/test/builtins/Unit/lit.site.cfg.in Sat Mar 11 13:40:24 2017
@@ -0,0 +1,12 @@
+ at LIT_SITE_CFG_IN_HEADER@
+
+config.name_suffix = "@BUILTINS_TEST_CONFIG_SUFFIX@"
+config.builtins_lit_source_dir = "@BUILTINS_LIT_SOURCE_DIR@/Unit"
+config.target_cflags = "@BUILTINS_TEST_TARGET_CFLAGS@"
+config.target_arch = "@BUILTINS_TEST_TARGET_ARCH@"
+
+# Load common config for all compiler-rt lit tests.
+lit_config.load_config(config, "@COMPILER_RT_BINARY_DIR@/test/lit.common.configured")
+
+# Load tool-specific config that would do the real work.
+lit_config.load_config(config, "@BUILTINS_LIT_SOURCE_DIR@/Unit/lit.cfg")
Modified: compiler-rt/trunk/test/builtins/Unit/lshrdi3_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/lshrdi3_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/lshrdi3_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/lshrdi3_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- lshrdi3_test.c - Test __lshrdi3 -----------------------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/lshrti3_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/lshrti3_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/lshrti3_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/lshrti3_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- lshrti3_test.c - Test __lshrti3 -----------------------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/ltdf2vfp_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/ltdf2vfp_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/ltdf2vfp_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/ltdf2vfp_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- ltdf2vfp_test.c - Test __ltdf2vfp ---------------------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/ltsf2vfp_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/ltsf2vfp_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/ltsf2vfp_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/ltsf2vfp_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- ltsf2vfp_test.c - Test __ltsf2vfp ---------------------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/lttf2_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/lttf2_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/lttf2_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/lttf2_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===------------ lttf2_test.c - Test __lttf2------------------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/moddi3_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/moddi3_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/moddi3_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/moddi3_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- moddi3_test.c - Test __moddi3 -------------------------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/modsi3_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/modsi3_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/modsi3_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/modsi3_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
/* ===-- modsi3_test.c - Test __modsi3 -------------------------------------===
*
* The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/modti3_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/modti3_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/modti3_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/modti3_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- modti3_test.c - Test __modti3 -------------------------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/muldc3_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/muldc3_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/muldc3_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/muldc3_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -lm -o %t && %run %t
//===-- muldc3_test.c - Test __muldc3 -------------------------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/muldf3vfp_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/muldf3vfp_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/muldf3vfp_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/muldf3vfp_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- muldf3vfp_test.c - Test __muldf3vfp -------------------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/muldi3_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/muldi3_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/muldi3_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/muldi3_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- muldi3_test.c - Test __muldi3 -------------------------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/mulodi4_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/mulodi4_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/mulodi4_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/mulodi4_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- mulodi4_test.c - Test __mulodi4 -----------------------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/mulosi4_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/mulosi4_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/mulosi4_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/mulosi4_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- mulosi4_test.c - Test __mulosi4 -----------------------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/muloti4_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/muloti4_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/muloti4_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/muloti4_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- muloti4_test.c - Test __muloti4 -----------------------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/mulsc3_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/mulsc3_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/mulsc3_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/mulsc3_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -lm -o %t && %run %t
//===-- mulsc3_test.c - Test __mulsc3 -------------------------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/mulsf3vfp_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/mulsf3vfp_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/mulsf3vfp_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/mulsf3vfp_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- mulsf3vfp_test.c - Test __mulsf3vfp -------------------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/multc3_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/multc3_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/multc3_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/multc3_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- multc3_test.c - Test __multc3 -------------------------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/multf3_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/multf3_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/multf3_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/multf3_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===--------------- multf3_test.c - Test __multf3 ------------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/multi3_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/multi3_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/multi3_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/multi3_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- multi3_test.c - Test __multi3 -------------------------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/mulvdi3_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/mulvdi3_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/mulvdi3_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/mulvdi3_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- mulvdi3_test.c - Test __mulvdi3 -----------------------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/mulvsi3_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/mulvsi3_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/mulvsi3_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/mulvsi3_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- mulvsi3_test.c - Test __mulvsi3 -----------------------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/mulvti3_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/mulvti3_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/mulvti3_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/mulvti3_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- mulvti3_test.c - Test __mulvti3 -----------------------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/mulxc3_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/mulxc3_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/mulxc3_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/mulxc3_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -lm -o %t && %run %t
//===-- mulxc3_test.c - Test __mulxc3 -------------------------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/nedf2vfp_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/nedf2vfp_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/nedf2vfp_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/nedf2vfp_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- nedf2vfp_test.c - Test __nedf2vfp ---------------------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/negdf2vfp_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/negdf2vfp_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/negdf2vfp_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/negdf2vfp_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- negdf2vfp_test.c - Test __negdf2vfp -------------------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/negdi2_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/negdi2_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/negdi2_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/negdi2_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- negdi2_test.c - Test __negdi2 -------------------------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/negsf2vfp_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/negsf2vfp_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/negsf2vfp_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/negsf2vfp_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- negsf2vfp_test.c - Test __negsf2vfp -------------------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/negti2_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/negti2_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/negti2_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/negti2_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- negti2_test.c - Test __negti2 -------------------------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/negvdi2_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/negvdi2_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/negvdi2_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/negvdi2_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- negvdi2_test.c - Test __negvdi2 -----------------------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/negvsi2_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/negvsi2_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/negvsi2_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/negvsi2_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- negvsi2_test.c - Test __negvsi2 -----------------------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/negvti2_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/negvti2_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/negvti2_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/negvti2_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- negvti2_test.c - Test __negvti2 -----------------------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/nesf2vfp_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/nesf2vfp_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/nesf2vfp_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/nesf2vfp_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- nesf2vfp_test.c - Test __nesf2vfp ---------------------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/netf2_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/netf2_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/netf2_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/netf2_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===------------ netf2_test.c - Test __netf2------------------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/paritydi2_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/paritydi2_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/paritydi2_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/paritydi2_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- paritydi2_test.c - Test __paritydi2 -------------------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/paritysi2_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/paritysi2_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/paritysi2_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/paritysi2_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- paritysi2_test.c - Test __paritysi2 -------------------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/parityti2_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/parityti2_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/parityti2_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/parityti2_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- parityti2_test.c - Test __parityti2 -------------------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/popcountdi2_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/popcountdi2_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/popcountdi2_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/popcountdi2_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- popcountdi2_test.c - Test __popcountdi2 ----------------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/popcountsi2_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/popcountsi2_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/popcountsi2_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/popcountsi2_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- popcountsi2_test.c - Test __popcountsi2 ---------------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/popcountti2_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/popcountti2_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/popcountti2_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/popcountti2_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- popcountti2_test.c - Test __popcountti2 ----------------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/powidf2_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/powidf2_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/powidf2_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/powidf2_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- powidf2_test.cpp - Test __powidf2 ---------------------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/powisf2_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/powisf2_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/powisf2_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/powisf2_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- powisf2_test.cpp - Test __powisf2 ---------------------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/powitf2_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/powitf2_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/powitf2_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/powitf2_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- powitf2_test.cpp - Test __powitf2 ---------------------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/powixf2_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/powixf2_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/powixf2_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/powixf2_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- powixf2_test.cpp - Test __powixf2 ---------------------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/ppc/fixtfdi_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/ppc/fixtfdi_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/ppc/fixtfdi_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/ppc/fixtfdi_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,5 @@
+// REQUIRES: powerpc-registered-target
+// RUN: %clang_builtins %s -o %t && %run %t
#include <stdio.h>
#include <limits.h>
#include <stdint.h>
Modified: compiler-rt/trunk/test/builtins/Unit/ppc/floatditf_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/ppc/floatditf_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/ppc/floatditf_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/ppc/floatditf_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,5 @@
+// REQUIRES: powerpc-registered-target
+// RUN: %clang_builtins %s -o %t && %run %t
#include <stdint.h>
#include <stdio.h>
Modified: compiler-rt/trunk/test/builtins/Unit/ppc/floatunditf_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/ppc/floatunditf_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/ppc/floatunditf_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/ppc/floatunditf_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,5 @@
+// REQUIRES: powerpc-registered-target
+// RUN: %clang_builtins %s -o %t && %run %t
#include <stdint.h>
#include <stdio.h>
Modified: compiler-rt/trunk/test/builtins/Unit/ppc/qadd_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/ppc/qadd_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/ppc/qadd_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/ppc/qadd_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,5 @@
+// REQUIRES: powerpc-registered-target
+// RUN: %clang_builtins %s -o %t && %run %t
#include <stdio.h>
#include "DD.h"
Modified: compiler-rt/trunk/test/builtins/Unit/ppc/qdiv_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/ppc/qdiv_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/ppc/qdiv_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/ppc/qdiv_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,5 @@
+// REQUIRES: powerpc-registered-target
+// RUN: %clang_builtins %s -o %t && %run %t
#include <stdio.h>
#include "DD.h"
Modified: compiler-rt/trunk/test/builtins/Unit/ppc/qmul_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/ppc/qmul_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/ppc/qmul_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/ppc/qmul_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,5 @@
+// REQUIRES: powerpc-registered-target
+// RUN: %clang_builtins %s -o %t && %run %t
#include <stdio.h>
#include "DD.h"
Modified: compiler-rt/trunk/test/builtins/Unit/ppc/qsub_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/ppc/qsub_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/ppc/qsub_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/ppc/qsub_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,5 @@
+// REQUIRES: powerpc-registered-target
+// RUN: %clang_builtins %s -o %t && %run %t
#include <stdio.h>
#include "DD.h"
Modified: compiler-rt/trunk/test/builtins/Unit/subdf3vfp_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/subdf3vfp_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/subdf3vfp_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/subdf3vfp_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- subdf3vfp_test.c - Test __subdf3vfp -------------------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/subsf3vfp_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/subsf3vfp_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/subsf3vfp_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/subsf3vfp_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- subsf3vfp_test.c - Test __subsf3vfp -------------------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/subtf3_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/subtf3_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/subtf3_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/subtf3_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===--------------- subtf3_test.c - Test __subtf3 ------------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/subvdi3_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/subvdi3_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/subvdi3_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/subvdi3_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- subvdi3_test.c - Test __subvdi3 -----------------------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/subvsi3_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/subvsi3_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/subvsi3_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/subvsi3_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- subvsi3_test.c - Test __subvsi3 -----------------------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/subvti3_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/subvti3_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/subvti3_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/subvti3_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- subvti3_test.c - Test __subvti3 -----------------------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/trampoline_setup_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/trampoline_setup_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/trampoline_setup_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/trampoline_setup_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -fnested-functions -o %t && %run %t
/* ===-- trampoline_setup_test.c - Test __trampoline_setup -----------------===
*
* The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/truncdfhf2_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/truncdfhf2_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/truncdfhf2_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/truncdfhf2_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===--------------- truncdfhf2_test.c - Test __truncdfhf2 ----------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/truncdfsf2_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/truncdfsf2_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/truncdfsf2_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/truncdfsf2_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===--------------- truncdfsf2_test.c - Test __truncdfsf2 ----------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/truncdfsf2vfp_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/truncdfsf2vfp_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/truncdfsf2vfp_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/truncdfsf2vfp_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- truncdfsf2vfp_test.c - Test __truncdfsf2vfp -----------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/truncsfhf2_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/truncsfhf2_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/truncsfhf2_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/truncsfhf2_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===--------------- truncsfhf2_test.c - Test __truncsfhf2 ----------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/trunctfdf2_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/trunctfdf2_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/trunctfdf2_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/trunctfdf2_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-------------- trunctfdf2_test.c - Test __trunctfdf2 -----------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/trunctfsf2_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/trunctfsf2_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/trunctfsf2_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/trunctfsf2_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===--------------- trunctfsf2_test.c - Test __trunctfsf2 ----------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/ucmpdi2_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/ucmpdi2_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/ucmpdi2_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/ucmpdi2_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- ucmpdi2_test.c - Test __ucmpdi2 -----------------------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/ucmpti2_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/ucmpti2_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/ucmpti2_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/ucmpti2_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- ucmpti2_test.c - Test __ucmpti2 -----------------------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/udivdi3_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/udivdi3_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/udivdi3_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/udivdi3_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- udivdi3_test.c - Test __udivdi3 -----------------------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/udivmoddi4_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/udivmoddi4_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/udivmoddi4_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/udivmoddi4_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- udivmoddi4_test.c - Test __udivmoddi4 -----------------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/udivmodsi4_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/udivmodsi4_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/udivmodsi4_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/udivmodsi4_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- udivmodsi4_test.c - Test __udivmodsi4 -----------------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/udivmodti4_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/udivmodti4_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/udivmodti4_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/udivmodti4_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- udivmodti4_test.c - Test __udivmodti4 -----------------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/udivsi3_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/udivsi3_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/udivsi3_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/udivsi3_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- udivsi3_test.c - Test __udivsi3 -----------------------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/udivti3_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/udivti3_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/udivti3_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/udivti3_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- udivti3_test.c - Test __udivti3 -----------------------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/umoddi3_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/umoddi3_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/umoddi3_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/umoddi3_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- umoddi3_test.c - Test __umoddi3 -----------------------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/umodsi3_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/umodsi3_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/umodsi3_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/umodsi3_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- umodsi3_test.c - Test __umodsi3 -----------------------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/umodti3_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/umodti3_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/umodti3_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/umodti3_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- umodti3_test.c - Test __umodti3 -----------------------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/unorddf2vfp_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/unorddf2vfp_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/unorddf2vfp_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/unorddf2vfp_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- unorddf2vfp_test.c - Test __unorddf2vfp ---------------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/unordsf2vfp_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/unordsf2vfp_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/unordsf2vfp_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/unordsf2vfp_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- unordsf2vfp_test.c - Test __unordsf2vfp ---------------------------===//
//
// The LLVM Compiler Infrastructure
Modified: compiler-rt/trunk/test/builtins/Unit/unordtf2_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/Unit/unordtf2_test.c?rev=297566&r1=297565&r2=297566&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/Unit/unordtf2_test.c (original)
+++ compiler-rt/trunk/test/builtins/Unit/unordtf2_test.c Sat Mar 11 13:40:24 2017
@@ -1,3 +1,4 @@
+// RUN: %clang_builtins %s %librt -o %t && %run %t
//===------------ unordtf2_test.c - Test __unordtf2------------------------===//
//
// The LLVM Compiler Infrastructure
More information about the llvm-commits
mailing list