From 9b7bbeca48b10a0eb81708650777703ce41e67d7 Mon Sep 17 00:00:00 2001 From: Weiming Zhao Date: Tue, 21 Mar 2017 05:32:51 +0000 Subject: [PATCH] [Builtin] Implement lit-test support (part 1 of 2: test cases update) Original r297566 is splitted into two parts. This is part one, which adds "RUN" command for test cases. 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. TODO: A few tests are XFAILed for armhf and aarch64. We need further investigating. [1,2] Tracks the issue. [1] https://bugs.llvm.org//show_bug.cgi?id=32260 [2] https://bugs.llvm.org//show_bug.cgi?id=32261 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 llvm-svn: 298339 --- compiler-rt/test/builtins/Unit/absvdi2_test.c | 1 + compiler-rt/test/builtins/Unit/absvsi2_test.c | 1 + compiler-rt/test/builtins/Unit/absvti2_test.c | 1 + compiler-rt/test/builtins/Unit/adddf3vfp_test.c | 1 + compiler-rt/test/builtins/Unit/addsf3vfp_test.c | 1 + compiler-rt/test/builtins/Unit/addtf3_test.c | 1 + compiler-rt/test/builtins/Unit/addvdi3_test.c | 1 + compiler-rt/test/builtins/Unit/addvsi3_test.c | 1 + compiler-rt/test/builtins/Unit/addvti3_test.c | 1 + compiler-rt/test/builtins/Unit/arm/aeabi_cdcmpeq_test.c | 3 +++ compiler-rt/test/builtins/Unit/arm/aeabi_cdcmple_test.c | 4 ++++ compiler-rt/test/builtins/Unit/arm/aeabi_cfcmpeq_test.c | 3 +++ compiler-rt/test/builtins/Unit/arm/aeabi_cfcmple_test.c | 4 ++++ compiler-rt/test/builtins/Unit/arm/aeabi_drsub_test.c | 2 ++ compiler-rt/test/builtins/Unit/arm/aeabi_frsub_test.c | 2 ++ compiler-rt/test/builtins/Unit/arm/aeabi_idivmod_test.c | 2 ++ compiler-rt/test/builtins/Unit/arm/aeabi_uidivmod_test.c | 2 ++ compiler-rt/test/builtins/Unit/arm/aeabi_uldivmod_test.c | 2 ++ compiler-rt/test/builtins/Unit/arm/call_apsr.S | 8 ++++---- compiler-rt/test/builtins/Unit/ashldi3_test.c | 1 + compiler-rt/test/builtins/Unit/ashlti3_test.c | 1 + compiler-rt/test/builtins/Unit/ashrdi3_test.c | 1 + compiler-rt/test/builtins/Unit/ashrti3_test.c | 1 + compiler-rt/test/builtins/Unit/bswapdi2_test.c | 2 ++ compiler-rt/test/builtins/Unit/bswapsi2_test.c | 2 ++ compiler-rt/test/builtins/Unit/clear_cache_test.c | 3 +++ compiler-rt/test/builtins/Unit/clzdi2_test.c | 1 + compiler-rt/test/builtins/Unit/clzsi2_test.c | 1 + compiler-rt/test/builtins/Unit/clzti2_test.c | 1 + compiler-rt/test/builtins/Unit/cmpdi2_test.c | 1 + compiler-rt/test/builtins/Unit/cmpti2_test.c | 1 + compiler-rt/test/builtins/Unit/comparedf2_test.c | 4 ++++ compiler-rt/test/builtins/Unit/comparesf2_test.c | 4 ++++ compiler-rt/test/builtins/Unit/cpu_model_test.c | 8 +++++--- compiler-rt/test/builtins/Unit/ctzdi2_test.c | 1 + compiler-rt/test/builtins/Unit/ctzsi2_test.c | 1 + compiler-rt/test/builtins/Unit/ctzti2_test.c | 1 + compiler-rt/test/builtins/Unit/divdc3_test.c | 1 + compiler-rt/test/builtins/Unit/divdf3vfp_test.c | 1 + compiler-rt/test/builtins/Unit/divdi3_test.c | 1 + compiler-rt/test/builtins/Unit/divmodsi4_test.c | 1 + compiler-rt/test/builtins/Unit/divsc3_test.c | 1 + compiler-rt/test/builtins/Unit/divsf3vfp_test.c | 1 + compiler-rt/test/builtins/Unit/divsi3_test.c | 1 + compiler-rt/test/builtins/Unit/divtc3_test.c | 1 + compiler-rt/test/builtins/Unit/divtf3_test.c | 1 + compiler-rt/test/builtins/Unit/divti3_test.c | 1 + compiler-rt/test/builtins/Unit/divxc3_test.c | 1 + compiler-rt/test/builtins/Unit/enable_execute_stack_test.c | 2 ++ compiler-rt/test/builtins/Unit/eqdf2vfp_test.c | 4 ++++ compiler-rt/test/builtins/Unit/eqsf2vfp_test.c | 4 ++++ compiler-rt/test/builtins/Unit/eqtf2_test.c | 1 + compiler-rt/test/builtins/Unit/extebdsfdf2vfp_test.c | 1 + compiler-rt/test/builtins/Unit/extenddftf2_test.c | 1 + compiler-rt/test/builtins/Unit/extendhfsf2_test.c | 1 + compiler-rt/test/builtins/Unit/extendsftf2_test.c | 1 + compiler-rt/test/builtins/Unit/ffsdi2_test.c | 1 + compiler-rt/test/builtins/Unit/ffsti2_test.c | 1 + compiler-rt/test/builtins/Unit/fixdfdi_test.c | 1 + compiler-rt/test/builtins/Unit/fixdfsivfp_test.c | 4 ++++ compiler-rt/test/builtins/Unit/fixdfti_test.c | 1 + compiler-rt/test/builtins/Unit/fixsfdi_test.c | 1 + compiler-rt/test/builtins/Unit/fixsfsivfp_test.c | 4 ++++ compiler-rt/test/builtins/Unit/fixsfti_test.c | 1 + compiler-rt/test/builtins/Unit/fixtfdi_test.c | 1 + compiler-rt/test/builtins/Unit/fixtfsi_test.c | 1 + compiler-rt/test/builtins/Unit/fixtfti_test.c | 1 + compiler-rt/test/builtins/Unit/fixunsdfdi_test.c | 1 + compiler-rt/test/builtins/Unit/fixunsdfsi_test.c | 1 + compiler-rt/test/builtins/Unit/fixunsdfsivfp_test.c | 1 + compiler-rt/test/builtins/Unit/fixunsdfti_test.c | 1 + compiler-rt/test/builtins/Unit/fixunssfdi_test.c | 1 + compiler-rt/test/builtins/Unit/fixunssfsi_test.c | 1 + compiler-rt/test/builtins/Unit/fixunssfsivfp_test.c | 4 ++++ compiler-rt/test/builtins/Unit/fixunssfti_test.c | 1 + compiler-rt/test/builtins/Unit/fixunstfdi_test.c | 1 + compiler-rt/test/builtins/Unit/fixunstfsi_test.c | 1 + compiler-rt/test/builtins/Unit/fixunstfti_test.c | 1 + compiler-rt/test/builtins/Unit/fixunsxfdi_test.c | 1 + compiler-rt/test/builtins/Unit/fixunsxfsi_test.c | 1 + compiler-rt/test/builtins/Unit/fixunsxfti_test.c | 4 ++++ compiler-rt/test/builtins/Unit/fixxfdi_test.c | 1 + compiler-rt/test/builtins/Unit/fixxfti_test.c | 4 ++++ compiler-rt/test/builtins/Unit/floatdidf_test.c | 1 + compiler-rt/test/builtins/Unit/floatdisf_test.c | 1 + compiler-rt/test/builtins/Unit/floatditf_test.c | 1 + compiler-rt/test/builtins/Unit/floatdixf_test.c | 1 + compiler-rt/test/builtins/Unit/floatsidfvfp_test.c | 1 + compiler-rt/test/builtins/Unit/floatsisfvfp_test.c | 1 + compiler-rt/test/builtins/Unit/floatsitf_test.c | 1 + compiler-rt/test/builtins/Unit/floattidf_test.c | 1 + compiler-rt/test/builtins/Unit/floattisf_test.c | 1 + compiler-rt/test/builtins/Unit/floattitf_test.c | 1 + compiler-rt/test/builtins/Unit/floattixf_test.c | 4 ++++ compiler-rt/test/builtins/Unit/floatundidf_test.c | 1 + compiler-rt/test/builtins/Unit/floatundisf_test.c | 1 + compiler-rt/test/builtins/Unit/floatunditf_test.c | 1 + compiler-rt/test/builtins/Unit/floatundixf_test.c | 1 + compiler-rt/test/builtins/Unit/floatunsitf_test.c | 1 + compiler-rt/test/builtins/Unit/floatunssidfvfp_test.c | 1 + compiler-rt/test/builtins/Unit/floatunssisfvfp_test.c | 1 + compiler-rt/test/builtins/Unit/floatuntidf_test.c | 1 + compiler-rt/test/builtins/Unit/floatuntisf_test.c | 1 + compiler-rt/test/builtins/Unit/floatuntitf_test.c | 1 + compiler-rt/test/builtins/Unit/floatuntixf_test.c | 4 ++++ compiler-rt/test/builtins/Unit/gcc_personality_test.c | 3 +++ compiler-rt/test/builtins/Unit/gedf2vfp_test.c | 4 ++++ compiler-rt/test/builtins/Unit/gesf2vfp_test.c | 4 ++++ compiler-rt/test/builtins/Unit/getf2_test.c | 1 + compiler-rt/test/builtins/Unit/gtdf2vfp_test.c | 4 ++++ compiler-rt/test/builtins/Unit/gtsf2vfp_test.c | 4 ++++ compiler-rt/test/builtins/Unit/gttf2_test.c | 1 + compiler-rt/test/builtins/Unit/ledf2vfp_test.c | 4 ++++ compiler-rt/test/builtins/Unit/lesf2vfp_test.c | 4 ++++ compiler-rt/test/builtins/Unit/letf2_test.c | 1 + compiler-rt/test/builtins/Unit/lshrdi3_test.c | 1 + compiler-rt/test/builtins/Unit/lshrti3_test.c | 1 + compiler-rt/test/builtins/Unit/ltdf2vfp_test.c | 4 ++++ compiler-rt/test/builtins/Unit/ltsf2vfp_test.c | 4 ++++ compiler-rt/test/builtins/Unit/lttf2_test.c | 1 + compiler-rt/test/builtins/Unit/moddi3_test.c | 1 + compiler-rt/test/builtins/Unit/modsi3_test.c | 1 + compiler-rt/test/builtins/Unit/modti3_test.c | 1 + compiler-rt/test/builtins/Unit/muldc3_test.c | 1 + compiler-rt/test/builtins/Unit/muldf3vfp_test.c | 1 + compiler-rt/test/builtins/Unit/muldi3_test.c | 1 + compiler-rt/test/builtins/Unit/mulodi4_test.c | 1 + compiler-rt/test/builtins/Unit/mulosi4_test.c | 1 + compiler-rt/test/builtins/Unit/muloti4_test.c | 1 + compiler-rt/test/builtins/Unit/mulsc3_test.c | 1 + compiler-rt/test/builtins/Unit/mulsf3vfp_test.c | 1 + compiler-rt/test/builtins/Unit/multc3_test.c | 1 + compiler-rt/test/builtins/Unit/multf3_test.c | 1 + compiler-rt/test/builtins/Unit/multi3_test.c | 1 + compiler-rt/test/builtins/Unit/mulvdi3_test.c | 1 + compiler-rt/test/builtins/Unit/mulvsi3_test.c | 1 + compiler-rt/test/builtins/Unit/mulvti3_test.c | 1 + compiler-rt/test/builtins/Unit/mulxc3_test.c | 1 + compiler-rt/test/builtins/Unit/nedf2vfp_test.c | 4 ++++ compiler-rt/test/builtins/Unit/negdf2vfp_test.c | 1 + compiler-rt/test/builtins/Unit/negdi2_test.c | 1 + compiler-rt/test/builtins/Unit/negsf2vfp_test.c | 1 + compiler-rt/test/builtins/Unit/negti2_test.c | 1 + compiler-rt/test/builtins/Unit/negvdi2_test.c | 1 + compiler-rt/test/builtins/Unit/negvsi2_test.c | 1 + compiler-rt/test/builtins/Unit/negvti2_test.c | 1 + compiler-rt/test/builtins/Unit/nesf2vfp_test.c | 4 ++++ compiler-rt/test/builtins/Unit/netf2_test.c | 1 + compiler-rt/test/builtins/Unit/paritydi2_test.c | 1 + compiler-rt/test/builtins/Unit/paritysi2_test.c | 1 + compiler-rt/test/builtins/Unit/parityti2_test.c | 1 + compiler-rt/test/builtins/Unit/popcountdi2_test.c | 1 + compiler-rt/test/builtins/Unit/popcountsi2_test.c | 1 + compiler-rt/test/builtins/Unit/popcountti2_test.c | 1 + compiler-rt/test/builtins/Unit/powidf2_test.c | 1 + compiler-rt/test/builtins/Unit/powisf2_test.c | 1 + compiler-rt/test/builtins/Unit/powitf2_test.c | 1 + compiler-rt/test/builtins/Unit/powixf2_test.c | 1 + compiler-rt/test/builtins/Unit/ppc/fixtfdi_test.c | 2 ++ compiler-rt/test/builtins/Unit/ppc/floatditf_test.c | 2 ++ compiler-rt/test/builtins/Unit/ppc/floatunditf_test.c | 2 ++ compiler-rt/test/builtins/Unit/ppc/qadd_test.c | 2 ++ compiler-rt/test/builtins/Unit/ppc/qdiv_test.c | 2 ++ compiler-rt/test/builtins/Unit/ppc/qmul_test.c | 2 ++ compiler-rt/test/builtins/Unit/ppc/qsub_test.c | 2 ++ compiler-rt/test/builtins/Unit/subdf3vfp_test.c | 1 + compiler-rt/test/builtins/Unit/subsf3vfp_test.c | 1 + compiler-rt/test/builtins/Unit/subtf3_test.c | 1 + compiler-rt/test/builtins/Unit/subvdi3_test.c | 1 + compiler-rt/test/builtins/Unit/subvsi3_test.c | 1 + compiler-rt/test/builtins/Unit/subvti3_test.c | 1 + compiler-rt/test/builtins/Unit/trampoline_setup_test.c | 1 + compiler-rt/test/builtins/Unit/truncdfhf2_test.c | 4 ++++ compiler-rt/test/builtins/Unit/truncdfsf2_test.c | 4 ++++ compiler-rt/test/builtins/Unit/truncdfsf2vfp_test.c | 1 + compiler-rt/test/builtins/Unit/truncsfhf2_test.c | 4 ++++ compiler-rt/test/builtins/Unit/trunctfdf2_test.c | 1 + compiler-rt/test/builtins/Unit/trunctfsf2_test.c | 1 + compiler-rt/test/builtins/Unit/ucmpdi2_test.c | 1 + compiler-rt/test/builtins/Unit/ucmpti2_test.c | 1 + compiler-rt/test/builtins/Unit/udivdi3_test.c | 1 + compiler-rt/test/builtins/Unit/udivmoddi4_test.c | 1 + compiler-rt/test/builtins/Unit/udivmodsi4_test.c | 1 + compiler-rt/test/builtins/Unit/udivmodti4_test.c | 1 + compiler-rt/test/builtins/Unit/udivsi3_test.c | 1 + compiler-rt/test/builtins/Unit/udivti3_test.c | 1 + compiler-rt/test/builtins/Unit/umoddi3_test.c | 1 + compiler-rt/test/builtins/Unit/umodsi3_test.c | 1 + compiler-rt/test/builtins/Unit/umodti3_test.c | 1 + compiler-rt/test/builtins/Unit/unorddf2vfp_test.c | 4 ++++ compiler-rt/test/builtins/Unit/unordsf2vfp_test.c | 4 ++++ compiler-rt/test/builtins/Unit/unordtf2_test.c | 1 + 192 files changed, 306 insertions(+), 7 deletions(-) diff --git a/compiler-rt/test/builtins/Unit/absvdi2_test.c b/compiler-rt/test/builtins/Unit/absvdi2_test.c index f69ae41..dd9dfd1 100644 --- a/compiler-rt/test/builtins/Unit/absvdi2_test.c +++ b/compiler-rt/test/builtins/Unit/absvdi2_test.c @@ -1,3 +1,4 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t //===-- absvdi2_test.c - Test __absvdi2 -----------------------------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/absvsi2_test.c b/compiler-rt/test/builtins/Unit/absvsi2_test.c index c395cca..bae306b 100644 --- a/compiler-rt/test/builtins/Unit/absvsi2_test.c +++ b/compiler-rt/test/builtins/Unit/absvsi2_test.c @@ -1,3 +1,4 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t //===-- absvsi2_test.c - Test __absvsi2 -----------------------------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/absvti2_test.c b/compiler-rt/test/builtins/Unit/absvti2_test.c index 6c626e9..0c0117d 100644 --- a/compiler-rt/test/builtins/Unit/absvti2_test.c +++ b/compiler-rt/test/builtins/Unit/absvti2_test.c @@ -1,3 +1,4 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t //===-- absvti2_test.c - Test __absvti2 -----------------------------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/adddf3vfp_test.c b/compiler-rt/test/builtins/Unit/adddf3vfp_test.c index c1b9884..e0da08b 100644 --- a/compiler-rt/test/builtins/Unit/adddf3vfp_test.c +++ b/compiler-rt/test/builtins/Unit/adddf3vfp_test.c @@ -1,3 +1,4 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t //===-- adddf3vfp_test.c - Test __adddf3vfp -------------------------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/addsf3vfp_test.c b/compiler-rt/test/builtins/Unit/addsf3vfp_test.c index 958865d..ed18de3 100644 --- a/compiler-rt/test/builtins/Unit/addsf3vfp_test.c +++ b/compiler-rt/test/builtins/Unit/addsf3vfp_test.c @@ -1,3 +1,4 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t //===-- addsf3vfp_test.c - Test __addsf3vfp -------------------------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/addtf3_test.c b/compiler-rt/test/builtins/Unit/addtf3_test.c index 7b92cce..57a4729 100644 --- a/compiler-rt/test/builtins/Unit/addtf3_test.c +++ b/compiler-rt/test/builtins/Unit/addtf3_test.c @@ -1,3 +1,4 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t //===--------------- addtf3_test.c - Test __addtf3 ------------------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/addvdi3_test.c b/compiler-rt/test/builtins/Unit/addvdi3_test.c index 5f8729a..99e7040 100644 --- a/compiler-rt/test/builtins/Unit/addvdi3_test.c +++ b/compiler-rt/test/builtins/Unit/addvdi3_test.c @@ -1,3 +1,4 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t //===-- addvdi3_test.c - Test __addvdi3 -----------------------------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/addvsi3_test.c b/compiler-rt/test/builtins/Unit/addvsi3_test.c index b5358d0..11fdbc3 100644 --- a/compiler-rt/test/builtins/Unit/addvsi3_test.c +++ b/compiler-rt/test/builtins/Unit/addvsi3_test.c @@ -1,3 +1,4 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t //===-- addvsi3_test.c - Test __addvsi3 -----------------------------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/addvti3_test.c b/compiler-rt/test/builtins/Unit/addvti3_test.c index e2f75cf..3ffcf4b 100644 --- a/compiler-rt/test/builtins/Unit/addvti3_test.c +++ b/compiler-rt/test/builtins/Unit/addvti3_test.c @@ -1,3 +1,4 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t //===-- addvti3_test.c - Test __addvti3 -----------------------------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/arm/aeabi_cdcmpeq_test.c b/compiler-rt/test/builtins/Unit/arm/aeabi_cdcmpeq_test.c index ce8b0a4..0d9e006 100644 --- a/compiler-rt/test/builtins/Unit/arm/aeabi_cdcmpeq_test.c +++ b/compiler-rt/test/builtins/Unit/arm/aeabi_cdcmpeq_test.c @@ -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 diff --git a/compiler-rt/test/builtins/Unit/arm/aeabi_cdcmple_test.c b/compiler-rt/test/builtins/Unit/arm/aeabi_cdcmple_test.c index afc7014..e499bf8 100644 --- a/compiler-rt/test/builtins/Unit/arm/aeabi_cdcmple_test.c +++ b/compiler-rt/test/builtins/Unit/arm/aeabi_cdcmple_test.c @@ -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 diff --git a/compiler-rt/test/builtins/Unit/arm/aeabi_cfcmpeq_test.c b/compiler-rt/test/builtins/Unit/arm/aeabi_cfcmpeq_test.c index fe01664..72a556c 100644 --- a/compiler-rt/test/builtins/Unit/arm/aeabi_cfcmpeq_test.c +++ b/compiler-rt/test/builtins/Unit/arm/aeabi_cfcmpeq_test.c @@ -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 diff --git a/compiler-rt/test/builtins/Unit/arm/aeabi_cfcmple_test.c b/compiler-rt/test/builtins/Unit/arm/aeabi_cfcmple_test.c index aebe425..a09aead 100644 --- a/compiler-rt/test/builtins/Unit/arm/aeabi_cfcmple_test.c +++ b/compiler-rt/test/builtins/Unit/arm/aeabi_cfcmple_test.c @@ -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 diff --git a/compiler-rt/test/builtins/Unit/arm/aeabi_drsub_test.c b/compiler-rt/test/builtins/Unit/arm/aeabi_drsub_test.c index 7d867ef..8bd04a9 100644 --- a/compiler-rt/test/builtins/Unit/arm/aeabi_drsub_test.c +++ b/compiler-rt/test/builtins/Unit/arm/aeabi_drsub_test.c @@ -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 diff --git a/compiler-rt/test/builtins/Unit/arm/aeabi_frsub_test.c b/compiler-rt/test/builtins/Unit/arm/aeabi_frsub_test.c index b8b21b9..3d30161 100644 --- a/compiler-rt/test/builtins/Unit/arm/aeabi_frsub_test.c +++ b/compiler-rt/test/builtins/Unit/arm/aeabi_frsub_test.c @@ -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 diff --git a/compiler-rt/test/builtins/Unit/arm/aeabi_idivmod_test.c b/compiler-rt/test/builtins/Unit/arm/aeabi_idivmod_test.c index c732e4b..ac18046 100644 --- a/compiler-rt/test/builtins/Unit/arm/aeabi_idivmod_test.c +++ b/compiler-rt/test/builtins/Unit/arm/aeabi_idivmod_test.c @@ -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 diff --git a/compiler-rt/test/builtins/Unit/arm/aeabi_uidivmod_test.c b/compiler-rt/test/builtins/Unit/arm/aeabi_uidivmod_test.c index 81d5e0e..9ac51da 100644 --- a/compiler-rt/test/builtins/Unit/arm/aeabi_uidivmod_test.c +++ b/compiler-rt/test/builtins/Unit/arm/aeabi_uidivmod_test.c @@ -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 diff --git a/compiler-rt/test/builtins/Unit/arm/aeabi_uldivmod_test.c b/compiler-rt/test/builtins/Unit/arm/aeabi_uldivmod_test.c index f629d6b..a40f006 100644 --- a/compiler-rt/test/builtins/Unit/arm/aeabi_uldivmod_test.c +++ b/compiler-rt/test/builtins/Unit/arm/aeabi_uldivmod_test.c @@ -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 diff --git a/compiler-rt/test/builtins/Unit/arm/call_apsr.S b/compiler-rt/test/builtins/Unit/arm/call_apsr.S index b5e154c..2656f8d 100644 --- a/compiler-rt/test/builtins/Unit/arm/call_apsr.S +++ b/compiler-rt/test/builtins/Unit/arm/call_apsr.S @@ -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"))) diff --git a/compiler-rt/test/builtins/Unit/ashldi3_test.c b/compiler-rt/test/builtins/Unit/ashldi3_test.c index 398fb69..f0984e0 100644 --- a/compiler-rt/test/builtins/Unit/ashldi3_test.c +++ b/compiler-rt/test/builtins/Unit/ashldi3_test.c @@ -1,3 +1,4 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t //===-- ashldi3_test.c - Test __ashldi3 -----------------------------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/ashlti3_test.c b/compiler-rt/test/builtins/Unit/ashlti3_test.c index 595e353..0618661 100644 --- a/compiler-rt/test/builtins/Unit/ashlti3_test.c +++ b/compiler-rt/test/builtins/Unit/ashlti3_test.c @@ -1,3 +1,4 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t //===-- ashlti3_test.c - Test __ashlti3 -----------------------------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/ashrdi3_test.c b/compiler-rt/test/builtins/Unit/ashrdi3_test.c index ee6409c..a987c95 100644 --- a/compiler-rt/test/builtins/Unit/ashrdi3_test.c +++ b/compiler-rt/test/builtins/Unit/ashrdi3_test.c @@ -1,3 +1,4 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t //===-- ashrdi3_test.c - Test __ashrdi3 -----------------------------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/ashrti3_test.c b/compiler-rt/test/builtins/Unit/ashrti3_test.c index 201582d..1f08653 100644 --- a/compiler-rt/test/builtins/Unit/ashrti3_test.c +++ b/compiler-rt/test/builtins/Unit/ashrti3_test.c @@ -1,3 +1,4 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t //===-- ashrti3_test.c - Test __ashrti3 -----------------------------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/bswapdi2_test.c b/compiler-rt/test/builtins/Unit/bswapdi2_test.c index 2d830cf..6881c80 100644 --- a/compiler-rt/test/builtins/Unit/bswapdi2_test.c +++ b/compiler-rt/test/builtins/Unit/bswapdi2_test.c @@ -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 diff --git a/compiler-rt/test/builtins/Unit/bswapsi2_test.c b/compiler-rt/test/builtins/Unit/bswapsi2_test.c index 4488a88..c32cbb4 100644 --- a/compiler-rt/test/builtins/Unit/bswapsi2_test.c +++ b/compiler-rt/test/builtins/Unit/bswapsi2_test.c @@ -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 diff --git a/compiler-rt/test/builtins/Unit/clear_cache_test.c b/compiler-rt/test/builtins/Unit/clear_cache_test.c index 0ef704f..590be7e 100644 --- a/compiler-rt/test/builtins/Unit/clear_cache_test.c +++ b/compiler-rt/test/builtins/Unit/clear_cache_test.c @@ -1,3 +1,6 @@ +// REQUIRES: native-run +// UNSUPPORTED: arm, aarch64 +// RUN: %clang_builtins %s %librt -o %t && %run %t //===-- clear_cache_test.c - Test clear_cache -----------------------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/clzdi2_test.c b/compiler-rt/test/builtins/Unit/clzdi2_test.c index 41e1209..a8c0e1b 100644 --- a/compiler-rt/test/builtins/Unit/clzdi2_test.c +++ b/compiler-rt/test/builtins/Unit/clzdi2_test.c @@ -1,3 +1,4 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t //===-- clzdi2_test.c - Test __clzdi2 -------------------------------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/clzsi2_test.c b/compiler-rt/test/builtins/Unit/clzsi2_test.c index 80b300f..f86e888 100644 --- a/compiler-rt/test/builtins/Unit/clzsi2_test.c +++ b/compiler-rt/test/builtins/Unit/clzsi2_test.c @@ -1,3 +1,4 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t //===-- clzsi2_test.c - Test __clzsi2 -------------------------------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/clzti2_test.c b/compiler-rt/test/builtins/Unit/clzti2_test.c index 3a2c6fa..157838b 100644 --- a/compiler-rt/test/builtins/Unit/clzti2_test.c +++ b/compiler-rt/test/builtins/Unit/clzti2_test.c @@ -1,3 +1,4 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t //===-- clzti2_test.c - Test __clzti2 -------------------------------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/cmpdi2_test.c b/compiler-rt/test/builtins/Unit/cmpdi2_test.c index 33a12a0..1420dc7 100644 --- a/compiler-rt/test/builtins/Unit/cmpdi2_test.c +++ b/compiler-rt/test/builtins/Unit/cmpdi2_test.c @@ -1,3 +1,4 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t //===-- cmpdi2_test.c - Test __cmpdi2 -------------------------------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/cmpti2_test.c b/compiler-rt/test/builtins/Unit/cmpti2_test.c index d951923..a2215f3 100644 --- a/compiler-rt/test/builtins/Unit/cmpti2_test.c +++ b/compiler-rt/test/builtins/Unit/cmpti2_test.c @@ -1,3 +1,4 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t //===-- cmpti2_test.c - Test __cmpti2 -------------------------------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/comparedf2_test.c b/compiler-rt/test/builtins/Unit/comparedf2_test.c index 6623722..a7db7a4 100644 --- a/compiler-rt/test/builtins/Unit/comparedf2_test.c +++ b/compiler-rt/test/builtins/Unit/comparedf2_test.c @@ -1,3 +1,7 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t +// XFAIL: armhf-target-arch +// This test fails for armhf (see pr32261) + //===-- cmpdf2_test.c - Test __cmpdf2 -------------------------------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/comparesf2_test.c b/compiler-rt/test/builtins/Unit/comparesf2_test.c index 026e900..9f42d97 100644 --- a/compiler-rt/test/builtins/Unit/comparesf2_test.c +++ b/compiler-rt/test/builtins/Unit/comparesf2_test.c @@ -1,3 +1,7 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t +// XFAIL: armhf-target-arch +// This test fails for armhf (see pr32261) + //===-- cmpsf2_test.c - Test __cmpsf2 -------------------------------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/cpu_model_test.c b/compiler-rt/test/builtins/Unit/cpu_model_test.c index ed484cd..6b47d14 100644 --- a/compiler-rt/test/builtins/Unit/cpu_model_test.c +++ b/compiler-rt/test/builtins/Unit/cpu_model_test.c @@ -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 int main (void) { diff --git a/compiler-rt/test/builtins/Unit/ctzdi2_test.c b/compiler-rt/test/builtins/Unit/ctzdi2_test.c index bde66b1..0515e20 100644 --- a/compiler-rt/test/builtins/Unit/ctzdi2_test.c +++ b/compiler-rt/test/builtins/Unit/ctzdi2_test.c @@ -1,3 +1,4 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t //===-- ctzdi2_test.c - Test __ctzdi2 -------------------------------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/ctzsi2_test.c b/compiler-rt/test/builtins/Unit/ctzsi2_test.c index cbc101f..bf8982b 100644 --- a/compiler-rt/test/builtins/Unit/ctzsi2_test.c +++ b/compiler-rt/test/builtins/Unit/ctzsi2_test.c @@ -1,3 +1,4 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t //===-- ctzsi2_test.c - Test __ctzsi2 -------------------------------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/ctzti2_test.c b/compiler-rt/test/builtins/Unit/ctzti2_test.c index 0ca1920..bef79b6 100644 --- a/compiler-rt/test/builtins/Unit/ctzti2_test.c +++ b/compiler-rt/test/builtins/Unit/ctzti2_test.c @@ -1,3 +1,4 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t //===-- ctzti2_test.c - Test __ctzti2 -------------------------------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/divdc3_test.c b/compiler-rt/test/builtins/Unit/divdc3_test.c index 80b9e86..3c69cf3 100644 --- a/compiler-rt/test/builtins/Unit/divdc3_test.c +++ b/compiler-rt/test/builtins/Unit/divdc3_test.c @@ -1,3 +1,4 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t //===-- divdc3_test.c - Test __divdc3 -------------------------------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/divdf3vfp_test.c b/compiler-rt/test/builtins/Unit/divdf3vfp_test.c index 8735f637..4f18409 100644 --- a/compiler-rt/test/builtins/Unit/divdf3vfp_test.c +++ b/compiler-rt/test/builtins/Unit/divdf3vfp_test.c @@ -1,3 +1,4 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t //===-- divdf3vfp_test.c - Test __divdf3vfp -------------------------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/divdi3_test.c b/compiler-rt/test/builtins/Unit/divdi3_test.c index 1d45980..4c8c922 100644 --- a/compiler-rt/test/builtins/Unit/divdi3_test.c +++ b/compiler-rt/test/builtins/Unit/divdi3_test.c @@ -1,3 +1,4 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t //===-- divdi3_test.c - Test __divdi3 -------------------------------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/divmodsi4_test.c b/compiler-rt/test/builtins/Unit/divmodsi4_test.c index 6fb1c98..e766aae 100644 --- a/compiler-rt/test/builtins/Unit/divmodsi4_test.c +++ b/compiler-rt/test/builtins/Unit/divmodsi4_test.c @@ -1,3 +1,4 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t //===-- divmodsi4_test.c - Test __divmodsi4 -------------------------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/divsc3_test.c b/compiler-rt/test/builtins/Unit/divsc3_test.c index 2d7c659..4243015 100644 --- a/compiler-rt/test/builtins/Unit/divsc3_test.c +++ b/compiler-rt/test/builtins/Unit/divsc3_test.c @@ -1,3 +1,4 @@ +// RUN: %clang_builtins %s %librt -lm -o %t && %run %t //===-- divsc3_test.c - Test __divsc3 -------------------------------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/divsf3vfp_test.c b/compiler-rt/test/builtins/Unit/divsf3vfp_test.c index 039fa7f..75b7eba 100644 --- a/compiler-rt/test/builtins/Unit/divsf3vfp_test.c +++ b/compiler-rt/test/builtins/Unit/divsf3vfp_test.c @@ -1,3 +1,4 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t //===-- divsf3vfp_test.c - Test __divsf3vfp -------------------------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/divsi3_test.c b/compiler-rt/test/builtins/Unit/divsi3_test.c index c523367..4c5d0fb 100644 --- a/compiler-rt/test/builtins/Unit/divsi3_test.c +++ b/compiler-rt/test/builtins/Unit/divsi3_test.c @@ -1,3 +1,4 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t //===-- divsi3_test.c - Test __divsi3 -------------------------------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/divtc3_test.c b/compiler-rt/test/builtins/Unit/divtc3_test.c index a1f0613..f561a96 100644 --- a/compiler-rt/test/builtins/Unit/divtc3_test.c +++ b/compiler-rt/test/builtins/Unit/divtc3_test.c @@ -1,3 +1,4 @@ +// RUN: %clang_builtins %s %librt -lm -o %t && %run %t //===-- divtc3_test.c - Test __divtc3 -------------------------------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/divtf3_test.c b/compiler-rt/test/builtins/Unit/divtf3_test.c index e0def45..12cb94a 100644 --- a/compiler-rt/test/builtins/Unit/divtf3_test.c +++ b/compiler-rt/test/builtins/Unit/divtf3_test.c @@ -1,3 +1,4 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t //===--------------- divtf3_test.c - Test __divtf3 ------------------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/divti3_test.c b/compiler-rt/test/builtins/Unit/divti3_test.c index 3a94dab..9a6bf17 100644 --- a/compiler-rt/test/builtins/Unit/divti3_test.c +++ b/compiler-rt/test/builtins/Unit/divti3_test.c @@ -1,3 +1,4 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t //===-- divti3_test.c - Test __divti3 -------------------------------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/divxc3_test.c b/compiler-rt/test/builtins/Unit/divxc3_test.c index 509b4b1..d71660b 100644 --- a/compiler-rt/test/builtins/Unit/divxc3_test.c +++ b/compiler-rt/test/builtins/Unit/divxc3_test.c @@ -1,3 +1,4 @@ +// RUN: %clang_builtins %s %librt -lm -o %t && %run %t //===-- divxc3_test.c - Test __divxc3 -------------------------------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/enable_execute_stack_test.c b/compiler-rt/test/builtins/Unit/enable_execute_stack_test.c index 38a142a..24165ed 100644 --- a/compiler-rt/test/builtins/Unit/enable_execute_stack_test.c +++ b/compiler-rt/test/builtins/Unit/enable_execute_stack_test.c @@ -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 diff --git a/compiler-rt/test/builtins/Unit/eqdf2vfp_test.c b/compiler-rt/test/builtins/Unit/eqdf2vfp_test.c index 4780d87..549c37e 100644 --- a/compiler-rt/test/builtins/Unit/eqdf2vfp_test.c +++ b/compiler-rt/test/builtins/Unit/eqdf2vfp_test.c @@ -1,3 +1,7 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t +// XFAIL: armhf-target-arch +// This test fails for armhf (see pr32261) + //===-- eqdf2vfp_test.c - Test __eqdf2vfp ---------------------------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/eqsf2vfp_test.c b/compiler-rt/test/builtins/Unit/eqsf2vfp_test.c index 7d6f581..628b0fd 100644 --- a/compiler-rt/test/builtins/Unit/eqsf2vfp_test.c +++ b/compiler-rt/test/builtins/Unit/eqsf2vfp_test.c @@ -1,3 +1,7 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t +// XFAIL: armhf-target-arch +// This test fails for armhf (see pr32261) + //===-- eqsf2vfp_test.c - Test __eqsf2vfp ---------------------------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/eqtf2_test.c b/compiler-rt/test/builtins/Unit/eqtf2_test.c index 0385835..91b35cf 100644 --- a/compiler-rt/test/builtins/Unit/eqtf2_test.c +++ b/compiler-rt/test/builtins/Unit/eqtf2_test.c @@ -1,3 +1,4 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t //===------------ eqtf2_test.c - Test __eqtf2------------------------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/extebdsfdf2vfp_test.c b/compiler-rt/test/builtins/Unit/extebdsfdf2vfp_test.c index ec27c4c..c350d93 100644 --- a/compiler-rt/test/builtins/Unit/extebdsfdf2vfp_test.c +++ b/compiler-rt/test/builtins/Unit/extebdsfdf2vfp_test.c @@ -1,3 +1,4 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t //===-- extendsfdf2vfp_test.c - Test __extendsfdf2vfp ---------------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/extenddftf2_test.c b/compiler-rt/test/builtins/Unit/extenddftf2_test.c index 2cfb32b..7254141 100644 --- a/compiler-rt/test/builtins/Unit/extenddftf2_test.c +++ b/compiler-rt/test/builtins/Unit/extenddftf2_test.c @@ -1,3 +1,4 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t //===--------------- extenddftf2_test.c - Test __extenddftf2 --------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/extendhfsf2_test.c b/compiler-rt/test/builtins/Unit/extendhfsf2_test.c index 5dd994c..d423e7b 100644 --- a/compiler-rt/test/builtins/Unit/extendhfsf2_test.c +++ b/compiler-rt/test/builtins/Unit/extendhfsf2_test.c @@ -1,3 +1,4 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t //===--------------- extendhfsf2_test.c - Test __extendhfsf2 --------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/extendsftf2_test.c b/compiler-rt/test/builtins/Unit/extendsftf2_test.c index 7dff5b6..4fad906 100644 --- a/compiler-rt/test/builtins/Unit/extendsftf2_test.c +++ b/compiler-rt/test/builtins/Unit/extendsftf2_test.c @@ -1,3 +1,4 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t //===--------------- extendsftf2_test.c - Test __extendsftf2 --------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/ffsdi2_test.c b/compiler-rt/test/builtins/Unit/ffsdi2_test.c index a27d154..80c0c08 100644 --- a/compiler-rt/test/builtins/Unit/ffsdi2_test.c +++ b/compiler-rt/test/builtins/Unit/ffsdi2_test.c @@ -1,3 +1,4 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t //===-- ffsdi2_test.c - Test __ffsdi2 -------------------------------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/ffsti2_test.c b/compiler-rt/test/builtins/Unit/ffsti2_test.c index 396269d..3b312c4 100644 --- a/compiler-rt/test/builtins/Unit/ffsti2_test.c +++ b/compiler-rt/test/builtins/Unit/ffsti2_test.c @@ -1,3 +1,4 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t //===-- ffsti2_test.c - Test __ffsti2 -------------------------------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/fixdfdi_test.c b/compiler-rt/test/builtins/Unit/fixdfdi_test.c index 4a7cfa3..d2ba7b1 100644 --- a/compiler-rt/test/builtins/Unit/fixdfdi_test.c +++ b/compiler-rt/test/builtins/Unit/fixdfdi_test.c @@ -1,3 +1,4 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t //===-- fixdfdi_test.c - Test __fixdfdi -----------------------------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/fixdfsivfp_test.c b/compiler-rt/test/builtins/Unit/fixdfsivfp_test.c index 73e4e58..3cd420a 100644 --- a/compiler-rt/test/builtins/Unit/fixdfsivfp_test.c +++ b/compiler-rt/test/builtins/Unit/fixdfsivfp_test.c @@ -1,3 +1,7 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t +// XFAIL: armhf-target-arch +// This test fails for armhf (see pr32261) + //===-- fixdfsivfp_test.c - Test __fixdfsivfp -----------------------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/fixdfti_test.c b/compiler-rt/test/builtins/Unit/fixdfti_test.c index b5da456..0abe187 100644 --- a/compiler-rt/test/builtins/Unit/fixdfti_test.c +++ b/compiler-rt/test/builtins/Unit/fixdfti_test.c @@ -1,3 +1,4 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t //===-- fixdfti_test.c - Test __fixdfti -----------------------------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/fixsfdi_test.c b/compiler-rt/test/builtins/Unit/fixsfdi_test.c index f37ecef..468299f 100644 --- a/compiler-rt/test/builtins/Unit/fixsfdi_test.c +++ b/compiler-rt/test/builtins/Unit/fixsfdi_test.c @@ -1,3 +1,4 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t //===-- fixsfdi_test.c - Test __fixsfdi -----------------------------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/fixsfsivfp_test.c b/compiler-rt/test/builtins/Unit/fixsfsivfp_test.c index 0ded952..0e233a5 100644 --- a/compiler-rt/test/builtins/Unit/fixsfsivfp_test.c +++ b/compiler-rt/test/builtins/Unit/fixsfsivfp_test.c @@ -1,3 +1,7 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t +// XFAIL: armhf-target-arch +// This test fails for armhf (see pr32261) + //===-- fixsfsivfp_test.c - Test __fixsfsivfp -----------------------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/fixsfti_test.c b/compiler-rt/test/builtins/Unit/fixsfti_test.c index 38748aab..ec4e8ddb 100644 --- a/compiler-rt/test/builtins/Unit/fixsfti_test.c +++ b/compiler-rt/test/builtins/Unit/fixsfti_test.c @@ -1,3 +1,4 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t //===-- fixsfti_test.c - Test __fixsfti -----------------------------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/fixtfdi_test.c b/compiler-rt/test/builtins/Unit/fixtfdi_test.c index cc25bec..3cd1ebf 100644 --- a/compiler-rt/test/builtins/Unit/fixtfdi_test.c +++ b/compiler-rt/test/builtins/Unit/fixtfdi_test.c @@ -1,3 +1,4 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t //===--------------- fixtfdi_test.c - Test __fixtfdi ----------------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/fixtfsi_test.c b/compiler-rt/test/builtins/Unit/fixtfsi_test.c index 1da516b..59e4352 100644 --- a/compiler-rt/test/builtins/Unit/fixtfsi_test.c +++ b/compiler-rt/test/builtins/Unit/fixtfsi_test.c @@ -1,3 +1,4 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t //===--------------- fixtfsi_test.c - Test __fixtfsi ----------------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/fixtfti_test.c b/compiler-rt/test/builtins/Unit/fixtfti_test.c index 52184ca..4d3b56c 100644 --- a/compiler-rt/test/builtins/Unit/fixtfti_test.c +++ b/compiler-rt/test/builtins/Unit/fixtfti_test.c @@ -1,3 +1,4 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t //===--------------- fixtfti_test.c - Test __fixtfti ----------------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/fixunsdfdi_test.c b/compiler-rt/test/builtins/Unit/fixunsdfdi_test.c index 3998482..ab09bd0 100644 --- a/compiler-rt/test/builtins/Unit/fixunsdfdi_test.c +++ b/compiler-rt/test/builtins/Unit/fixunsdfdi_test.c @@ -1,3 +1,4 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t //===-- fixunsdfdi_test.c - Test __fixunsdfdi -----------------------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/fixunsdfsi_test.c b/compiler-rt/test/builtins/Unit/fixunsdfsi_test.c index 8d3d630..7fbd9ee 100644 --- a/compiler-rt/test/builtins/Unit/fixunsdfsi_test.c +++ b/compiler-rt/test/builtins/Unit/fixunsdfsi_test.c @@ -1,3 +1,4 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t //===-- fixunsdfsi_test.c - Test __fixunsdfsi -----------------------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/fixunsdfsivfp_test.c b/compiler-rt/test/builtins/Unit/fixunsdfsivfp_test.c index 33cec81..b707992 100644 --- a/compiler-rt/test/builtins/Unit/fixunsdfsivfp_test.c +++ b/compiler-rt/test/builtins/Unit/fixunsdfsivfp_test.c @@ -1,3 +1,4 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t //===-- fixunsdfsivfp_test.c - Test __fixunsdfsivfp -----------------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/fixunsdfti_test.c b/compiler-rt/test/builtins/Unit/fixunsdfti_test.c index 0298fb9..249d8f8 100644 --- a/compiler-rt/test/builtins/Unit/fixunsdfti_test.c +++ b/compiler-rt/test/builtins/Unit/fixunsdfti_test.c @@ -1,3 +1,4 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t //===-- fixunsdfti_test.c - Test __fixunsdfti -----------------------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/fixunssfdi_test.c b/compiler-rt/test/builtins/Unit/fixunssfdi_test.c index 812457a..2d693eb 100644 --- a/compiler-rt/test/builtins/Unit/fixunssfdi_test.c +++ b/compiler-rt/test/builtins/Unit/fixunssfdi_test.c @@ -1,3 +1,4 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t //===-- fixunssfdi_test.c - Test __fixunssfdi -----------------------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/fixunssfsi_test.c b/compiler-rt/test/builtins/Unit/fixunssfsi_test.c index 17293e4..3974b53 100644 --- a/compiler-rt/test/builtins/Unit/fixunssfsi_test.c +++ b/compiler-rt/test/builtins/Unit/fixunssfsi_test.c @@ -1,3 +1,4 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t //===-- fixunssfsi_test.c - Test __fixunssfsi -----------------------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/fixunssfsivfp_test.c b/compiler-rt/test/builtins/Unit/fixunssfsivfp_test.c index 9c8194f..f745d6f 100644 --- a/compiler-rt/test/builtins/Unit/fixunssfsivfp_test.c +++ b/compiler-rt/test/builtins/Unit/fixunssfsivfp_test.c @@ -1,3 +1,7 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t +// XFAIL: armhf-target-arch +// This test fails for armhf (see pr32261) + //===-- fixunssfsivfp_test.c - Test __fixunssfsivfp -----------------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/fixunssfti_test.c b/compiler-rt/test/builtins/Unit/fixunssfti_test.c index 979d661..fd2d108 100644 --- a/compiler-rt/test/builtins/Unit/fixunssfti_test.c +++ b/compiler-rt/test/builtins/Unit/fixunssfti_test.c @@ -1,3 +1,4 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t //===-- fixunssfti_test.c - Test __fixunssfti -----------------------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/fixunstfdi_test.c b/compiler-rt/test/builtins/Unit/fixunstfdi_test.c index 817c59b..67fcc2f 100644 --- a/compiler-rt/test/builtins/Unit/fixunstfdi_test.c +++ b/compiler-rt/test/builtins/Unit/fixunstfdi_test.c @@ -1,3 +1,4 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t //===-- fixunstfdi_test.c - Test __fixunstfdi -----------------------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/fixunstfsi_test.c b/compiler-rt/test/builtins/Unit/fixunstfsi_test.c index 13ed779..edf5422 100644 --- a/compiler-rt/test/builtins/Unit/fixunstfsi_test.c +++ b/compiler-rt/test/builtins/Unit/fixunstfsi_test.c @@ -1,3 +1,4 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t //===--------------- fixunstfsi_test.c - Test __fixunstfsi ----------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/fixunstfti_test.c b/compiler-rt/test/builtins/Unit/fixunstfti_test.c index 60a0982..019b720 100644 --- a/compiler-rt/test/builtins/Unit/fixunstfti_test.c +++ b/compiler-rt/test/builtins/Unit/fixunstfti_test.c @@ -1,3 +1,4 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t //===-- fixunstfti_test.c - Test __fixunstfti -----------------------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/fixunsxfdi_test.c b/compiler-rt/test/builtins/Unit/fixunsxfdi_test.c index 6f42079..c5c27d3 100644 --- a/compiler-rt/test/builtins/Unit/fixunsxfdi_test.c +++ b/compiler-rt/test/builtins/Unit/fixunsxfdi_test.c @@ -1,3 +1,4 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t //===-- fixunsxfdi_test.c - Test __fixunsxfdi -----------------------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/fixunsxfsi_test.c b/compiler-rt/test/builtins/Unit/fixunsxfsi_test.c index 0d78dcb..e0bed7e 100644 --- a/compiler-rt/test/builtins/Unit/fixunsxfsi_test.c +++ b/compiler-rt/test/builtins/Unit/fixunsxfsi_test.c @@ -1,3 +1,4 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t //===-- fixunsxfsi_test.c - Test __fixunsxfsi -----------------------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/fixunsxfti_test.c b/compiler-rt/test/builtins/Unit/fixunsxfti_test.c index 94b5aeb..28a7e97 100644 --- a/compiler-rt/test/builtins/Unit/fixunsxfti_test.c +++ b/compiler-rt/test/builtins/Unit/fixunsxfti_test.c @@ -1,3 +1,7 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t +// XFAIL: aarch64 +// test fails for aarch64 (see pr32260) + //===-- fixunsxfti_test.c - Test __fixunsxfti -----------------------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/fixxfdi_test.c b/compiler-rt/test/builtins/Unit/fixxfdi_test.c index 0a90a56..40ad2b0 100644 --- a/compiler-rt/test/builtins/Unit/fixxfdi_test.c +++ b/compiler-rt/test/builtins/Unit/fixxfdi_test.c @@ -1,3 +1,4 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t //===-- fixxfdi_test.c - Test __fixxfdi -----------------------------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/fixxfti_test.c b/compiler-rt/test/builtins/Unit/fixxfti_test.c index b8573cc..c6d42c6 100644 --- a/compiler-rt/test/builtins/Unit/fixxfti_test.c +++ b/compiler-rt/test/builtins/Unit/fixxfti_test.c @@ -1,3 +1,7 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t +// XFAIL: aarch64 +// test fails for aarch64 (see pr32260) + //===-- fixxfti_test.c - Test __fixxfti -----------------------------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/floatdidf_test.c b/compiler-rt/test/builtins/Unit/floatdidf_test.c index 9bf2be97..77429173 100644 --- a/compiler-rt/test/builtins/Unit/floatdidf_test.c +++ b/compiler-rt/test/builtins/Unit/floatdidf_test.c @@ -1,3 +1,4 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t //===-- floatdidf.c - Test __floatdidf ------------------------------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/floatdisf_test.c b/compiler-rt/test/builtins/Unit/floatdisf_test.c index a55c6a9..8299bb1 100644 --- a/compiler-rt/test/builtins/Unit/floatdisf_test.c +++ b/compiler-rt/test/builtins/Unit/floatdisf_test.c @@ -1,3 +1,4 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t //===-- floatdisf_test.c - Test __floatdisf -------------------------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/floatditf_test.c b/compiler-rt/test/builtins/Unit/floatditf_test.c index 8cf8a08..bdfb7f9 100644 --- a/compiler-rt/test/builtins/Unit/floatditf_test.c +++ b/compiler-rt/test/builtins/Unit/floatditf_test.c @@ -1,3 +1,4 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t //===-- floatditf_test.c - Test __floatditf -------------------------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/floatdixf_test.c b/compiler-rt/test/builtins/Unit/floatdixf_test.c index f6ab5a4..0a4ca3a 100644 --- a/compiler-rt/test/builtins/Unit/floatdixf_test.c +++ b/compiler-rt/test/builtins/Unit/floatdixf_test.c @@ -1,3 +1,4 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t //===-- floatdixf_test.c - Test __floatdixf -------------------------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/floatsidfvfp_test.c b/compiler-rt/test/builtins/Unit/floatsidfvfp_test.c index 8404a7e..8a3c7fb 100644 --- a/compiler-rt/test/builtins/Unit/floatsidfvfp_test.c +++ b/compiler-rt/test/builtins/Unit/floatsidfvfp_test.c @@ -1,3 +1,4 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t //===-- floatsidfvfp_test.c - Test __floatsidfvfp -------------------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/floatsisfvfp_test.c b/compiler-rt/test/builtins/Unit/floatsisfvfp_test.c index c41cf9d..7c044b2 100644 --- a/compiler-rt/test/builtins/Unit/floatsisfvfp_test.c +++ b/compiler-rt/test/builtins/Unit/floatsisfvfp_test.c @@ -1,3 +1,4 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t //===-- floatsisfvfp_test.c - Test __floatsisfvfp -------------------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/floatsitf_test.c b/compiler-rt/test/builtins/Unit/floatsitf_test.c index 6f98721..f8d700b 100644 --- a/compiler-rt/test/builtins/Unit/floatsitf_test.c +++ b/compiler-rt/test/builtins/Unit/floatsitf_test.c @@ -1,3 +1,4 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t //===--------------- floatsitf_test.c - Test __floatsitf ------------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/floattidf_test.c b/compiler-rt/test/builtins/Unit/floattidf_test.c index 3af382a..9da8c5d 100644 --- a/compiler-rt/test/builtins/Unit/floattidf_test.c +++ b/compiler-rt/test/builtins/Unit/floattidf_test.c @@ -1,3 +1,4 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t //===-- floattidf.c - Test __floattidf ------------------------------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/floattisf_test.c b/compiler-rt/test/builtins/Unit/floattisf_test.c index 0f5dc54..9d7282c 100644 --- a/compiler-rt/test/builtins/Unit/floattisf_test.c +++ b/compiler-rt/test/builtins/Unit/floattisf_test.c @@ -1,3 +1,4 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t //===-- floattisf_test.c - Test __floattisf -------------------------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/floattitf_test.c b/compiler-rt/test/builtins/Unit/floattitf_test.c index 928b2e8..5aeb760 100644 --- a/compiler-rt/test/builtins/Unit/floattitf_test.c +++ b/compiler-rt/test/builtins/Unit/floattitf_test.c @@ -1,3 +1,4 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t //===-- floattitf.c - Test __floattitf ------------------------------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/floattixf_test.c b/compiler-rt/test/builtins/Unit/floattixf_test.c index d281deb..00644fa 100644 --- a/compiler-rt/test/builtins/Unit/floattixf_test.c +++ b/compiler-rt/test/builtins/Unit/floattixf_test.c @@ -1,3 +1,7 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t +// XFAIL: aarch64 +// test fails for aarch64 (see pr32260) + //===-- floattixf.c - Test __floattixf ------------------------------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/floatundidf_test.c b/compiler-rt/test/builtins/Unit/floatundidf_test.c index 97fb1e5..d5d7419 100644 --- a/compiler-rt/test/builtins/Unit/floatundidf_test.c +++ b/compiler-rt/test/builtins/Unit/floatundidf_test.c @@ -1,3 +1,4 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t //===-- floatundidf_test.c - Test __floatundidf ---------------------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/floatundisf_test.c b/compiler-rt/test/builtins/Unit/floatundisf_test.c index 40b6bcc..898d886 100644 --- a/compiler-rt/test/builtins/Unit/floatundisf_test.c +++ b/compiler-rt/test/builtins/Unit/floatundisf_test.c @@ -1,3 +1,4 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t //===-- floatundisf_test.c - Test __floatundisf ---------------------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/floatunditf_test.c b/compiler-rt/test/builtins/Unit/floatunditf_test.c index b66a174..342dc27 100644 --- a/compiler-rt/test/builtins/Unit/floatunditf_test.c +++ b/compiler-rt/test/builtins/Unit/floatunditf_test.c @@ -1,3 +1,4 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t //===-- floatunditf_test.c - Test __floatunditf ---------------------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/floatundixf_test.c b/compiler-rt/test/builtins/Unit/floatundixf_test.c index 690dce1..47b4316 100644 --- a/compiler-rt/test/builtins/Unit/floatundixf_test.c +++ b/compiler-rt/test/builtins/Unit/floatundixf_test.c @@ -1,3 +1,4 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t //===-- floatundixf_test.c - Test __floatundixf ---------------------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/floatunsitf_test.c b/compiler-rt/test/builtins/Unit/floatunsitf_test.c index c3d3fe9..966a4fd 100644 --- a/compiler-rt/test/builtins/Unit/floatunsitf_test.c +++ b/compiler-rt/test/builtins/Unit/floatunsitf_test.c @@ -1,3 +1,4 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t //===--------------- floatunsitf_test.c - Test __floatunsitf --------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/floatunssidfvfp_test.c b/compiler-rt/test/builtins/Unit/floatunssidfvfp_test.c index 1671c74..7337557 100644 --- a/compiler-rt/test/builtins/Unit/floatunssidfvfp_test.c +++ b/compiler-rt/test/builtins/Unit/floatunssidfvfp_test.c @@ -1,3 +1,4 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t //===-- floatunssidfvfp_test.c - Test __floatunssidfvfp -------------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/floatunssisfvfp_test.c b/compiler-rt/test/builtins/Unit/floatunssisfvfp_test.c index 506f3be..9d7fb65 100644 --- a/compiler-rt/test/builtins/Unit/floatunssisfvfp_test.c +++ b/compiler-rt/test/builtins/Unit/floatunssisfvfp_test.c @@ -1,3 +1,4 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t //===-- floatunssisfvfp_test.c - Test __floatunssisfvfp -------------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/floatuntidf_test.c b/compiler-rt/test/builtins/Unit/floatuntidf_test.c index 9855ff7..1bf19ba 100644 --- a/compiler-rt/test/builtins/Unit/floatuntidf_test.c +++ b/compiler-rt/test/builtins/Unit/floatuntidf_test.c @@ -1,3 +1,4 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t //===-- floatuntidf.c - Test __floatuntidf --------------------------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/floatuntisf_test.c b/compiler-rt/test/builtins/Unit/floatuntisf_test.c index 9b5ff79..c7c11ba 100644 --- a/compiler-rt/test/builtins/Unit/floatuntisf_test.c +++ b/compiler-rt/test/builtins/Unit/floatuntisf_test.c @@ -1,3 +1,4 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t //===-- floatuntisf.c - Test __floatuntisf --------------------------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/floatuntitf_test.c b/compiler-rt/test/builtins/Unit/floatuntitf_test.c index 495adcf..e81c30e 100644 --- a/compiler-rt/test/builtins/Unit/floatuntitf_test.c +++ b/compiler-rt/test/builtins/Unit/floatuntitf_test.c @@ -1,3 +1,4 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t //===-- floatuntitf.c - Test __floatuntitf --------------------------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/floatuntixf_test.c b/compiler-rt/test/builtins/Unit/floatuntixf_test.c index c58b55d..70ad5f3 100644 --- a/compiler-rt/test/builtins/Unit/floatuntixf_test.c +++ b/compiler-rt/test/builtins/Unit/floatuntixf_test.c @@ -1,3 +1,7 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t +// XFAIL: aarch64 +// test fails for aarch64 (see pr32260) + //===-- floatuntixf.c - Test __floatuntixf --------------------------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/gcc_personality_test.c b/compiler-rt/test/builtins/Unit/gcc_personality_test.c index f9598c6..b3345dd 100644 --- a/compiler-rt/test/builtins/Unit/gcc_personality_test.c +++ b/compiler-rt/test/builtins/Unit/gcc_personality_test.c @@ -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 diff --git a/compiler-rt/test/builtins/Unit/gedf2vfp_test.c b/compiler-rt/test/builtins/Unit/gedf2vfp_test.c index 341fd65..17cca9f2 100644 --- a/compiler-rt/test/builtins/Unit/gedf2vfp_test.c +++ b/compiler-rt/test/builtins/Unit/gedf2vfp_test.c @@ -1,3 +1,7 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t +// XFAIL: armhf-target-arch +// This test fails for armhf (see pr32261) + //===-- gedf2vfp_test.c - Test __gedf2vfp ---------------------------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/gesf2vfp_test.c b/compiler-rt/test/builtins/Unit/gesf2vfp_test.c index 607d988..240880a 100644 --- a/compiler-rt/test/builtins/Unit/gesf2vfp_test.c +++ b/compiler-rt/test/builtins/Unit/gesf2vfp_test.c @@ -1,3 +1,7 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t +// XFAIL: armhf-target-arch +// This test fails for armhf (see pr32261) + //===-- gesf2vfp_test.c - Test __gesf2vfp ---------------------------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/getf2_test.c b/compiler-rt/test/builtins/Unit/getf2_test.c index 9796b8a..115b630 100644 --- a/compiler-rt/test/builtins/Unit/getf2_test.c +++ b/compiler-rt/test/builtins/Unit/getf2_test.c @@ -1,3 +1,4 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t //===------------ getf2_test.c - Test __getf2------------------------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/gtdf2vfp_test.c b/compiler-rt/test/builtins/Unit/gtdf2vfp_test.c index 1bf68bf..9180ec2 100644 --- a/compiler-rt/test/builtins/Unit/gtdf2vfp_test.c +++ b/compiler-rt/test/builtins/Unit/gtdf2vfp_test.c @@ -1,3 +1,7 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t +// XFAIL: armhf-target-arch +// This test fails for armhf (see pr32261) + //===-- gtdf2vfp_test.c - Test __gtdf2vfp ---------------------------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/gtsf2vfp_test.c b/compiler-rt/test/builtins/Unit/gtsf2vfp_test.c index 8209647..52e77fe 100644 --- a/compiler-rt/test/builtins/Unit/gtsf2vfp_test.c +++ b/compiler-rt/test/builtins/Unit/gtsf2vfp_test.c @@ -1,3 +1,7 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t +// XFAIL: armhf-target-arch +// This test fails for armhf (see pr32261) + //===-- gtsf2vfp_test.c - Test __gtsf2vfp ---------------------------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/gttf2_test.c b/compiler-rt/test/builtins/Unit/gttf2_test.c index 6508d4b..81d68cb 100644 --- a/compiler-rt/test/builtins/Unit/gttf2_test.c +++ b/compiler-rt/test/builtins/Unit/gttf2_test.c @@ -1,3 +1,4 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t //===------------ gttf2_test.c - Test __gttf2------------------------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/ledf2vfp_test.c b/compiler-rt/test/builtins/Unit/ledf2vfp_test.c index 2e1daf0..b248323 100644 --- a/compiler-rt/test/builtins/Unit/ledf2vfp_test.c +++ b/compiler-rt/test/builtins/Unit/ledf2vfp_test.c @@ -1,3 +1,7 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t +// XFAIL: armhf-target-arch +// This test fails for armhf (see pr32261) + //===-- ledf2vfp_test.c - Test __ledf2vfp ---------------------------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/lesf2vfp_test.c b/compiler-rt/test/builtins/Unit/lesf2vfp_test.c index 0f89393..c8ca590 100644 --- a/compiler-rt/test/builtins/Unit/lesf2vfp_test.c +++ b/compiler-rt/test/builtins/Unit/lesf2vfp_test.c @@ -1,3 +1,7 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t +// XFAIL: armhf-target-arch +// This test fails for armhf (see pr32261) + //===-- lesf2vfp_test.c - Test __lesf2vfp ---------------------------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/letf2_test.c b/compiler-rt/test/builtins/Unit/letf2_test.c index 1842e3c..bb84525 100644 --- a/compiler-rt/test/builtins/Unit/letf2_test.c +++ b/compiler-rt/test/builtins/Unit/letf2_test.c @@ -1,3 +1,4 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t //===------------ letf2_test.c - Test __letf2------------------------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/lshrdi3_test.c b/compiler-rt/test/builtins/Unit/lshrdi3_test.c index d48ae4d..c5faa98 100644 --- a/compiler-rt/test/builtins/Unit/lshrdi3_test.c +++ b/compiler-rt/test/builtins/Unit/lshrdi3_test.c @@ -1,3 +1,4 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t //===-- lshrdi3_test.c - Test __lshrdi3 -----------------------------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/lshrti3_test.c b/compiler-rt/test/builtins/Unit/lshrti3_test.c index f5a0dd6..91356c8 100644 --- a/compiler-rt/test/builtins/Unit/lshrti3_test.c +++ b/compiler-rt/test/builtins/Unit/lshrti3_test.c @@ -1,3 +1,4 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t //===-- lshrti3_test.c - Test __lshrti3 -----------------------------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/ltdf2vfp_test.c b/compiler-rt/test/builtins/Unit/ltdf2vfp_test.c index fdbe9a1..238a6f0 100644 --- a/compiler-rt/test/builtins/Unit/ltdf2vfp_test.c +++ b/compiler-rt/test/builtins/Unit/ltdf2vfp_test.c @@ -1,3 +1,7 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t +// XFAIL: armhf-target-arch +// This test fails for armhf (see pr32261) + //===-- ltdf2vfp_test.c - Test __ltdf2vfp ---------------------------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/ltsf2vfp_test.c b/compiler-rt/test/builtins/Unit/ltsf2vfp_test.c index d4d65ba..837e0a8 100644 --- a/compiler-rt/test/builtins/Unit/ltsf2vfp_test.c +++ b/compiler-rt/test/builtins/Unit/ltsf2vfp_test.c @@ -1,3 +1,7 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t +// XFAIL: armhf-target-arch +// This test fails for armhf (see pr32261) + //===-- ltsf2vfp_test.c - Test __ltsf2vfp ---------------------------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/lttf2_test.c b/compiler-rt/test/builtins/Unit/lttf2_test.c index e8f9dc1..cfe1906 100644 --- a/compiler-rt/test/builtins/Unit/lttf2_test.c +++ b/compiler-rt/test/builtins/Unit/lttf2_test.c @@ -1,3 +1,4 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t //===------------ lttf2_test.c - Test __lttf2------------------------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/moddi3_test.c b/compiler-rt/test/builtins/Unit/moddi3_test.c index 62e8f22..8325ad7 100644 --- a/compiler-rt/test/builtins/Unit/moddi3_test.c +++ b/compiler-rt/test/builtins/Unit/moddi3_test.c @@ -1,3 +1,4 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t //===-- moddi3_test.c - Test __moddi3 -------------------------------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/modsi3_test.c b/compiler-rt/test/builtins/Unit/modsi3_test.c index 8c9f588..8075f51 100644 --- a/compiler-rt/test/builtins/Unit/modsi3_test.c +++ b/compiler-rt/test/builtins/Unit/modsi3_test.c @@ -1,3 +1,4 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t /* ===-- modsi3_test.c - Test __modsi3 -------------------------------------=== * * The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/modti3_test.c b/compiler-rt/test/builtins/Unit/modti3_test.c index 99413aa..53fbf5b 100644 --- a/compiler-rt/test/builtins/Unit/modti3_test.c +++ b/compiler-rt/test/builtins/Unit/modti3_test.c @@ -1,3 +1,4 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t //===-- modti3_test.c - Test __modti3 -------------------------------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/muldc3_test.c b/compiler-rt/test/builtins/Unit/muldc3_test.c index 6902ef3..add09f4 100644 --- a/compiler-rt/test/builtins/Unit/muldc3_test.c +++ b/compiler-rt/test/builtins/Unit/muldc3_test.c @@ -1,3 +1,4 @@ +// RUN: %clang_builtins %s %librt -lm -o %t && %run %t //===-- muldc3_test.c - Test __muldc3 -------------------------------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/muldf3vfp_test.c b/compiler-rt/test/builtins/Unit/muldf3vfp_test.c index 024c9a8..36a2262 100644 --- a/compiler-rt/test/builtins/Unit/muldf3vfp_test.c +++ b/compiler-rt/test/builtins/Unit/muldf3vfp_test.c @@ -1,3 +1,4 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t //===-- muldf3vfp_test.c - Test __muldf3vfp -------------------------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/muldi3_test.c b/compiler-rt/test/builtins/Unit/muldi3_test.c index 651dd01..d09e74d 100644 --- a/compiler-rt/test/builtins/Unit/muldi3_test.c +++ b/compiler-rt/test/builtins/Unit/muldi3_test.c @@ -1,3 +1,4 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t //===-- muldi3_test.c - Test __muldi3 -------------------------------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/mulodi4_test.c b/compiler-rt/test/builtins/Unit/mulodi4_test.c index 4546609..f03b8fe 100644 --- a/compiler-rt/test/builtins/Unit/mulodi4_test.c +++ b/compiler-rt/test/builtins/Unit/mulodi4_test.c @@ -1,3 +1,4 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t //===-- mulodi4_test.c - Test __mulodi4 -----------------------------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/mulosi4_test.c b/compiler-rt/test/builtins/Unit/mulosi4_test.c index 6a27d69..12913f1 100644 --- a/compiler-rt/test/builtins/Unit/mulosi4_test.c +++ b/compiler-rt/test/builtins/Unit/mulosi4_test.c @@ -1,3 +1,4 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t //===-- mulosi4_test.c - Test __mulosi4 -----------------------------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/muloti4_test.c b/compiler-rt/test/builtins/Unit/muloti4_test.c index d00e7bb..e7c78cf 100644 --- a/compiler-rt/test/builtins/Unit/muloti4_test.c +++ b/compiler-rt/test/builtins/Unit/muloti4_test.c @@ -1,3 +1,4 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t //===-- muloti4_test.c - Test __muloti4 -----------------------------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/mulsc3_test.c b/compiler-rt/test/builtins/Unit/mulsc3_test.c index eeb537a..4eac07e 100644 --- a/compiler-rt/test/builtins/Unit/mulsc3_test.c +++ b/compiler-rt/test/builtins/Unit/mulsc3_test.c @@ -1,3 +1,4 @@ +// RUN: %clang_builtins %s %librt -lm -o %t && %run %t //===-- mulsc3_test.c - Test __mulsc3 -------------------------------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/mulsf3vfp_test.c b/compiler-rt/test/builtins/Unit/mulsf3vfp_test.c index 9fe88f2..8ee0551 100644 --- a/compiler-rt/test/builtins/Unit/mulsf3vfp_test.c +++ b/compiler-rt/test/builtins/Unit/mulsf3vfp_test.c @@ -1,3 +1,4 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t //===-- mulsf3vfp_test.c - Test __mulsf3vfp -------------------------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/multc3_test.c b/compiler-rt/test/builtins/Unit/multc3_test.c index f6cf4ca..5ef8467 100644 --- a/compiler-rt/test/builtins/Unit/multc3_test.c +++ b/compiler-rt/test/builtins/Unit/multc3_test.c @@ -1,3 +1,4 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t //===-- multc3_test.c - Test __multc3 -------------------------------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/multf3_test.c b/compiler-rt/test/builtins/Unit/multf3_test.c index 9944865..2bce707 100644 --- a/compiler-rt/test/builtins/Unit/multf3_test.c +++ b/compiler-rt/test/builtins/Unit/multf3_test.c @@ -1,3 +1,4 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t //===--------------- multf3_test.c - Test __multf3 ------------------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/multi3_test.c b/compiler-rt/test/builtins/Unit/multi3_test.c index 04b1b8a..8227f24 100644 --- a/compiler-rt/test/builtins/Unit/multi3_test.c +++ b/compiler-rt/test/builtins/Unit/multi3_test.c @@ -1,3 +1,4 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t //===-- multi3_test.c - Test __multi3 -------------------------------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/mulvdi3_test.c b/compiler-rt/test/builtins/Unit/mulvdi3_test.c index 7f16c4c..0e10bbe 100644 --- a/compiler-rt/test/builtins/Unit/mulvdi3_test.c +++ b/compiler-rt/test/builtins/Unit/mulvdi3_test.c @@ -1,3 +1,4 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t //===-- mulvdi3_test.c - Test __mulvdi3 -----------------------------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/mulvsi3_test.c b/compiler-rt/test/builtins/Unit/mulvsi3_test.c index 64df4fe..f62a5aa 100644 --- a/compiler-rt/test/builtins/Unit/mulvsi3_test.c +++ b/compiler-rt/test/builtins/Unit/mulvsi3_test.c @@ -1,3 +1,4 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t //===-- mulvsi3_test.c - Test __mulvsi3 -----------------------------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/mulvti3_test.c b/compiler-rt/test/builtins/Unit/mulvti3_test.c index bf2f731..36e96ad 100644 --- a/compiler-rt/test/builtins/Unit/mulvti3_test.c +++ b/compiler-rt/test/builtins/Unit/mulvti3_test.c @@ -1,3 +1,4 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t //===-- mulvti3_test.c - Test __mulvti3 -----------------------------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/mulxc3_test.c b/compiler-rt/test/builtins/Unit/mulxc3_test.c index e77e94f..384c6ee 100644 --- a/compiler-rt/test/builtins/Unit/mulxc3_test.c +++ b/compiler-rt/test/builtins/Unit/mulxc3_test.c @@ -1,3 +1,4 @@ +// RUN: %clang_builtins %s %librt -lm -o %t && %run %t //===-- mulxc3_test.c - Test __mulxc3 -------------------------------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/nedf2vfp_test.c b/compiler-rt/test/builtins/Unit/nedf2vfp_test.c index 69587d4..46bca5a 100644 --- a/compiler-rt/test/builtins/Unit/nedf2vfp_test.c +++ b/compiler-rt/test/builtins/Unit/nedf2vfp_test.c @@ -1,3 +1,7 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t +// XFAIL: armhf-target-arch +// This test fails for armhf (see pr32261) + //===-- nedf2vfp_test.c - Test __nedf2vfp ---------------------------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/negdf2vfp_test.c b/compiler-rt/test/builtins/Unit/negdf2vfp_test.c index 72bde7c0..776dca6 100644 --- a/compiler-rt/test/builtins/Unit/negdf2vfp_test.c +++ b/compiler-rt/test/builtins/Unit/negdf2vfp_test.c @@ -1,3 +1,4 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t //===-- negdf2vfp_test.c - Test __negdf2vfp -------------------------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/negdi2_test.c b/compiler-rt/test/builtins/Unit/negdi2_test.c index beccd71..c85e915 100644 --- a/compiler-rt/test/builtins/Unit/negdi2_test.c +++ b/compiler-rt/test/builtins/Unit/negdi2_test.c @@ -1,3 +1,4 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t //===-- negdi2_test.c - Test __negdi2 -------------------------------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/negsf2vfp_test.c b/compiler-rt/test/builtins/Unit/negsf2vfp_test.c index 1c9ba52..e15e43c8 100644 --- a/compiler-rt/test/builtins/Unit/negsf2vfp_test.c +++ b/compiler-rt/test/builtins/Unit/negsf2vfp_test.c @@ -1,3 +1,4 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t //===-- negsf2vfp_test.c - Test __negsf2vfp -------------------------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/negti2_test.c b/compiler-rt/test/builtins/Unit/negti2_test.c index b075978..bb7379c 100644 --- a/compiler-rt/test/builtins/Unit/negti2_test.c +++ b/compiler-rt/test/builtins/Unit/negti2_test.c @@ -1,3 +1,4 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t //===-- negti2_test.c - Test __negti2 -------------------------------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/negvdi2_test.c b/compiler-rt/test/builtins/Unit/negvdi2_test.c index 5c202e5..4e17c30 100644 --- a/compiler-rt/test/builtins/Unit/negvdi2_test.c +++ b/compiler-rt/test/builtins/Unit/negvdi2_test.c @@ -1,3 +1,4 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t //===-- negvdi2_test.c - Test __negvdi2 -----------------------------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/negvsi2_test.c b/compiler-rt/test/builtins/Unit/negvsi2_test.c index 6330803..3deb423 100644 --- a/compiler-rt/test/builtins/Unit/negvsi2_test.c +++ b/compiler-rt/test/builtins/Unit/negvsi2_test.c @@ -1,3 +1,4 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t //===-- negvsi2_test.c - Test __negvsi2 -----------------------------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/negvti2_test.c b/compiler-rt/test/builtins/Unit/negvti2_test.c index 005f8a8..980f448 100644 --- a/compiler-rt/test/builtins/Unit/negvti2_test.c +++ b/compiler-rt/test/builtins/Unit/negvti2_test.c @@ -1,3 +1,4 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t //===-- negvti2_test.c - Test __negvti2 -----------------------------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/nesf2vfp_test.c b/compiler-rt/test/builtins/Unit/nesf2vfp_test.c index 0ebcd67..b649170 100644 --- a/compiler-rt/test/builtins/Unit/nesf2vfp_test.c +++ b/compiler-rt/test/builtins/Unit/nesf2vfp_test.c @@ -1,3 +1,7 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t +// XFAIL: armhf-target-arch +// This test fails for armhf (see pr32261) + //===-- nesf2vfp_test.c - Test __nesf2vfp ---------------------------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/netf2_test.c b/compiler-rt/test/builtins/Unit/netf2_test.c index bbd953a..c0b839d 100644 --- a/compiler-rt/test/builtins/Unit/netf2_test.c +++ b/compiler-rt/test/builtins/Unit/netf2_test.c @@ -1,3 +1,4 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t //===------------ netf2_test.c - Test __netf2------------------------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/paritydi2_test.c b/compiler-rt/test/builtins/Unit/paritydi2_test.c index 98220bd..cc56eda 100644 --- a/compiler-rt/test/builtins/Unit/paritydi2_test.c +++ b/compiler-rt/test/builtins/Unit/paritydi2_test.c @@ -1,3 +1,4 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t //===-- paritydi2_test.c - Test __paritydi2 -------------------------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/paritysi2_test.c b/compiler-rt/test/builtins/Unit/paritysi2_test.c index 175aeb2..42d687f 100644 --- a/compiler-rt/test/builtins/Unit/paritysi2_test.c +++ b/compiler-rt/test/builtins/Unit/paritysi2_test.c @@ -1,3 +1,4 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t //===-- paritysi2_test.c - Test __paritysi2 -------------------------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/parityti2_test.c b/compiler-rt/test/builtins/Unit/parityti2_test.c index cc1e999..bcd26d0 100644 --- a/compiler-rt/test/builtins/Unit/parityti2_test.c +++ b/compiler-rt/test/builtins/Unit/parityti2_test.c @@ -1,3 +1,4 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t //===-- parityti2_test.c - Test __parityti2 -------------------------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/popcountdi2_test.c b/compiler-rt/test/builtins/Unit/popcountdi2_test.c index bfd4977..1d52fb8 100644 --- a/compiler-rt/test/builtins/Unit/popcountdi2_test.c +++ b/compiler-rt/test/builtins/Unit/popcountdi2_test.c @@ -1,3 +1,4 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t //===-- popcountdi2_test.c - Test __popcountdi2 ----------------------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/popcountsi2_test.c b/compiler-rt/test/builtins/Unit/popcountsi2_test.c index 10b757d..5eb88ac 100644 --- a/compiler-rt/test/builtins/Unit/popcountsi2_test.c +++ b/compiler-rt/test/builtins/Unit/popcountsi2_test.c @@ -1,3 +1,4 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t //===-- popcountsi2_test.c - Test __popcountsi2 ---------------------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/popcountti2_test.c b/compiler-rt/test/builtins/Unit/popcountti2_test.c index 3a3c3cb..ef8b2c38 100644 --- a/compiler-rt/test/builtins/Unit/popcountti2_test.c +++ b/compiler-rt/test/builtins/Unit/popcountti2_test.c @@ -1,3 +1,4 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t //===-- popcountti2_test.c - Test __popcountti2 ----------------------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/powidf2_test.c b/compiler-rt/test/builtins/Unit/powidf2_test.c index c499d9a..210e3c3 100644 --- a/compiler-rt/test/builtins/Unit/powidf2_test.c +++ b/compiler-rt/test/builtins/Unit/powidf2_test.c @@ -1,3 +1,4 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t //===-- powidf2_test.cpp - Test __powidf2 ---------------------------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/powisf2_test.c b/compiler-rt/test/builtins/Unit/powisf2_test.c index 1186ef4a..add4be4 100644 --- a/compiler-rt/test/builtins/Unit/powisf2_test.c +++ b/compiler-rt/test/builtins/Unit/powisf2_test.c @@ -1,3 +1,4 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t //===-- powisf2_test.cpp - Test __powisf2 ---------------------------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/powitf2_test.c b/compiler-rt/test/builtins/Unit/powitf2_test.c index 13c890a..9d11b76 100644 --- a/compiler-rt/test/builtins/Unit/powitf2_test.c +++ b/compiler-rt/test/builtins/Unit/powitf2_test.c @@ -1,3 +1,4 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t //===-- powitf2_test.cpp - Test __powitf2 ---------------------------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/powixf2_test.c b/compiler-rt/test/builtins/Unit/powixf2_test.c index a28f1f9..bf5a812 100644 --- a/compiler-rt/test/builtins/Unit/powixf2_test.c +++ b/compiler-rt/test/builtins/Unit/powixf2_test.c @@ -1,3 +1,4 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t //===-- powixf2_test.cpp - Test __powixf2 ---------------------------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/ppc/fixtfdi_test.c b/compiler-rt/test/builtins/Unit/ppc/fixtfdi_test.c index b4865fb..ea6c405 100644 --- a/compiler-rt/test/builtins/Unit/ppc/fixtfdi_test.c +++ b/compiler-rt/test/builtins/Unit/ppc/fixtfdi_test.c @@ -1,3 +1,5 @@ +// REQUIRES: powerpc-registered-target +// RUN: %clang_builtins %s -o %t && %run %t #include #include #include diff --git a/compiler-rt/test/builtins/Unit/ppc/floatditf_test.c b/compiler-rt/test/builtins/Unit/ppc/floatditf_test.c index 71ecf7c..5c08ade 100644 --- a/compiler-rt/test/builtins/Unit/ppc/floatditf_test.c +++ b/compiler-rt/test/builtins/Unit/ppc/floatditf_test.c @@ -1,3 +1,5 @@ +// REQUIRES: powerpc-registered-target +// RUN: %clang_builtins %s -o %t && %run %t #include #include diff --git a/compiler-rt/test/builtins/Unit/ppc/floatunditf_test.c b/compiler-rt/test/builtins/Unit/ppc/floatunditf_test.c index 4d1ce08..3e50128 100644 --- a/compiler-rt/test/builtins/Unit/ppc/floatunditf_test.c +++ b/compiler-rt/test/builtins/Unit/ppc/floatunditf_test.c @@ -1,3 +1,5 @@ +// REQUIRES: powerpc-registered-target +// RUN: %clang_builtins %s -o %t && %run %t #include #include diff --git a/compiler-rt/test/builtins/Unit/ppc/qadd_test.c b/compiler-rt/test/builtins/Unit/ppc/qadd_test.c index 6d4ca93..327fd21 100644 --- a/compiler-rt/test/builtins/Unit/ppc/qadd_test.c +++ b/compiler-rt/test/builtins/Unit/ppc/qadd_test.c @@ -1,3 +1,5 @@ +// REQUIRES: powerpc-registered-target +// RUN: %clang_builtins %s -o %t && %run %t #include #include "DD.h" diff --git a/compiler-rt/test/builtins/Unit/ppc/qdiv_test.c b/compiler-rt/test/builtins/Unit/ppc/qdiv_test.c index 8e4e75a..7530e42 100644 --- a/compiler-rt/test/builtins/Unit/ppc/qdiv_test.c +++ b/compiler-rt/test/builtins/Unit/ppc/qdiv_test.c @@ -1,3 +1,5 @@ +// REQUIRES: powerpc-registered-target +// RUN: %clang_builtins %s -o %t && %run %t #include #include "DD.h" diff --git a/compiler-rt/test/builtins/Unit/ppc/qmul_test.c b/compiler-rt/test/builtins/Unit/ppc/qmul_test.c index fc5b46d..dbe3536 100644 --- a/compiler-rt/test/builtins/Unit/ppc/qmul_test.c +++ b/compiler-rt/test/builtins/Unit/ppc/qmul_test.c @@ -1,3 +1,5 @@ +// REQUIRES: powerpc-registered-target +// RUN: %clang_builtins %s -o %t && %run %t #include #include "DD.h" diff --git a/compiler-rt/test/builtins/Unit/ppc/qsub_test.c b/compiler-rt/test/builtins/Unit/ppc/qsub_test.c index 43bc7f4..e212240 100644 --- a/compiler-rt/test/builtins/Unit/ppc/qsub_test.c +++ b/compiler-rt/test/builtins/Unit/ppc/qsub_test.c @@ -1,3 +1,5 @@ +// REQUIRES: powerpc-registered-target +// RUN: %clang_builtins %s -o %t && %run %t #include #include "DD.h" diff --git a/compiler-rt/test/builtins/Unit/subdf3vfp_test.c b/compiler-rt/test/builtins/Unit/subdf3vfp_test.c index 398494e..75bfe45 100644 --- a/compiler-rt/test/builtins/Unit/subdf3vfp_test.c +++ b/compiler-rt/test/builtins/Unit/subdf3vfp_test.c @@ -1,3 +1,4 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t //===-- subdf3vfp_test.c - Test __subdf3vfp -------------------------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/subsf3vfp_test.c b/compiler-rt/test/builtins/Unit/subsf3vfp_test.c index 8d529e5..fb3839f 100644 --- a/compiler-rt/test/builtins/Unit/subsf3vfp_test.c +++ b/compiler-rt/test/builtins/Unit/subsf3vfp_test.c @@ -1,3 +1,4 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t //===-- subsf3vfp_test.c - Test __subsf3vfp -------------------------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/subtf3_test.c b/compiler-rt/test/builtins/Unit/subtf3_test.c index 32c30bd..771242b 100644 --- a/compiler-rt/test/builtins/Unit/subtf3_test.c +++ b/compiler-rt/test/builtins/Unit/subtf3_test.c @@ -1,3 +1,4 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t //===--------------- subtf3_test.c - Test __subtf3 ------------------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/subvdi3_test.c b/compiler-rt/test/builtins/Unit/subvdi3_test.c index 96e825c..7606e27 100644 --- a/compiler-rt/test/builtins/Unit/subvdi3_test.c +++ b/compiler-rt/test/builtins/Unit/subvdi3_test.c @@ -1,3 +1,4 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t //===-- subvdi3_test.c - Test __subvdi3 -----------------------------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/subvsi3_test.c b/compiler-rt/test/builtins/Unit/subvsi3_test.c index 03ef504..f52a12b 100644 --- a/compiler-rt/test/builtins/Unit/subvsi3_test.c +++ b/compiler-rt/test/builtins/Unit/subvsi3_test.c @@ -1,3 +1,4 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t //===-- subvsi3_test.c - Test __subvsi3 -----------------------------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/subvti3_test.c b/compiler-rt/test/builtins/Unit/subvti3_test.c index 40eb518..66806ba 100644 --- a/compiler-rt/test/builtins/Unit/subvti3_test.c +++ b/compiler-rt/test/builtins/Unit/subvti3_test.c @@ -1,3 +1,4 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t //===-- subvti3_test.c - Test __subvti3 -----------------------------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/trampoline_setup_test.c b/compiler-rt/test/builtins/Unit/trampoline_setup_test.c index dc30fb6..5a75724f 100644 --- a/compiler-rt/test/builtins/Unit/trampoline_setup_test.c +++ b/compiler-rt/test/builtins/Unit/trampoline_setup_test.c @@ -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 diff --git a/compiler-rt/test/builtins/Unit/truncdfhf2_test.c b/compiler-rt/test/builtins/Unit/truncdfhf2_test.c index 6627a00..94595fc 100644 --- a/compiler-rt/test/builtins/Unit/truncdfhf2_test.c +++ b/compiler-rt/test/builtins/Unit/truncdfhf2_test.c @@ -1,3 +1,7 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t +// XFAIL: armhf-target-arch +// This test fails for armhf (see pr32261) + //===--------------- truncdfhf2_test.c - Test __truncdfhf2 ----------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/truncdfsf2_test.c b/compiler-rt/test/builtins/Unit/truncdfsf2_test.c index a208a3a..a692ede 100644 --- a/compiler-rt/test/builtins/Unit/truncdfsf2_test.c +++ b/compiler-rt/test/builtins/Unit/truncdfsf2_test.c @@ -1,3 +1,7 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t +// XFAIL: armhf-target-arch +// This test fails for armhf (see pr32261) + //===--------------- truncdfsf2_test.c - Test __truncdfsf2 ----------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/truncdfsf2vfp_test.c b/compiler-rt/test/builtins/Unit/truncdfsf2vfp_test.c index efe6f97..f034dd2d 100644 --- a/compiler-rt/test/builtins/Unit/truncdfsf2vfp_test.c +++ b/compiler-rt/test/builtins/Unit/truncdfsf2vfp_test.c @@ -1,3 +1,4 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t //===-- truncdfsf2vfp_test.c - Test __truncdfsf2vfp -----------------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/truncsfhf2_test.c b/compiler-rt/test/builtins/Unit/truncsfhf2_test.c index 5bc3c8e..b83d8fd 100644 --- a/compiler-rt/test/builtins/Unit/truncsfhf2_test.c +++ b/compiler-rt/test/builtins/Unit/truncsfhf2_test.c @@ -1,3 +1,7 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t +// XFAIL: armhf-target-arch +// This test fails for armhf (see pr32261) + //===--------------- truncsfhf2_test.c - Test __truncsfhf2 ----------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/trunctfdf2_test.c b/compiler-rt/test/builtins/Unit/trunctfdf2_test.c index 0366a8c..1d8c2bf 100644 --- a/compiler-rt/test/builtins/Unit/trunctfdf2_test.c +++ b/compiler-rt/test/builtins/Unit/trunctfdf2_test.c @@ -1,3 +1,4 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t //===-------------- trunctfdf2_test.c - Test __trunctfdf2 -----------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/trunctfsf2_test.c b/compiler-rt/test/builtins/Unit/trunctfsf2_test.c index a6b922c..1775083 100644 --- a/compiler-rt/test/builtins/Unit/trunctfsf2_test.c +++ b/compiler-rt/test/builtins/Unit/trunctfsf2_test.c @@ -1,3 +1,4 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t //===--------------- trunctfsf2_test.c - Test __trunctfsf2 ----------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/ucmpdi2_test.c b/compiler-rt/test/builtins/Unit/ucmpdi2_test.c index 65ae4fc..ee81545 100644 --- a/compiler-rt/test/builtins/Unit/ucmpdi2_test.c +++ b/compiler-rt/test/builtins/Unit/ucmpdi2_test.c @@ -1,3 +1,4 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t //===-- ucmpdi2_test.c - Test __ucmpdi2 -----------------------------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/ucmpti2_test.c b/compiler-rt/test/builtins/Unit/ucmpti2_test.c index 826cd64..17a857f 100644 --- a/compiler-rt/test/builtins/Unit/ucmpti2_test.c +++ b/compiler-rt/test/builtins/Unit/ucmpti2_test.c @@ -1,3 +1,4 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t //===-- ucmpti2_test.c - Test __ucmpti2 -----------------------------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/udivdi3_test.c b/compiler-rt/test/builtins/Unit/udivdi3_test.c index 48c99e3..5858bc7 100644 --- a/compiler-rt/test/builtins/Unit/udivdi3_test.c +++ b/compiler-rt/test/builtins/Unit/udivdi3_test.c @@ -1,3 +1,4 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t //===-- udivdi3_test.c - Test __udivdi3 -----------------------------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/udivmoddi4_test.c b/compiler-rt/test/builtins/Unit/udivmoddi4_test.c index 79af1ee..a5024ba 100644 --- a/compiler-rt/test/builtins/Unit/udivmoddi4_test.c +++ b/compiler-rt/test/builtins/Unit/udivmoddi4_test.c @@ -1,3 +1,4 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t //===-- udivmoddi4_test.c - Test __udivmoddi4 -----------------------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/udivmodsi4_test.c b/compiler-rt/test/builtins/Unit/udivmodsi4_test.c index 4c14e29..320018c 100644 --- a/compiler-rt/test/builtins/Unit/udivmodsi4_test.c +++ b/compiler-rt/test/builtins/Unit/udivmodsi4_test.c @@ -1,3 +1,4 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t //===-- udivmodsi4_test.c - Test __udivmodsi4 -----------------------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/udivmodti4_test.c b/compiler-rt/test/builtins/Unit/udivmodti4_test.c index c424661..b07ce8c 100644 --- a/compiler-rt/test/builtins/Unit/udivmodti4_test.c +++ b/compiler-rt/test/builtins/Unit/udivmodti4_test.c @@ -1,3 +1,4 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t //===-- udivmodti4_test.c - Test __udivmodti4 -----------------------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/udivsi3_test.c b/compiler-rt/test/builtins/Unit/udivsi3_test.c index 4905386..7adf30a 100644 --- a/compiler-rt/test/builtins/Unit/udivsi3_test.c +++ b/compiler-rt/test/builtins/Unit/udivsi3_test.c @@ -1,3 +1,4 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t //===-- udivsi3_test.c - Test __udivsi3 -----------------------------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/udivti3_test.c b/compiler-rt/test/builtins/Unit/udivti3_test.c index f24ff03..81cedad 100644 --- a/compiler-rt/test/builtins/Unit/udivti3_test.c +++ b/compiler-rt/test/builtins/Unit/udivti3_test.c @@ -1,3 +1,4 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t //===-- udivti3_test.c - Test __udivti3 -----------------------------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/umoddi3_test.c b/compiler-rt/test/builtins/Unit/umoddi3_test.c index b46fb40..b1382b6 100644 --- a/compiler-rt/test/builtins/Unit/umoddi3_test.c +++ b/compiler-rt/test/builtins/Unit/umoddi3_test.c @@ -1,3 +1,4 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t //===-- umoddi3_test.c - Test __umoddi3 -----------------------------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/umodsi3_test.c b/compiler-rt/test/builtins/Unit/umodsi3_test.c index 3655da1..c430538 100644 --- a/compiler-rt/test/builtins/Unit/umodsi3_test.c +++ b/compiler-rt/test/builtins/Unit/umodsi3_test.c @@ -1,3 +1,4 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t //===-- umodsi3_test.c - Test __umodsi3 -----------------------------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/umodti3_test.c b/compiler-rt/test/builtins/Unit/umodti3_test.c index 21e82a4..5bce025 100644 --- a/compiler-rt/test/builtins/Unit/umodti3_test.c +++ b/compiler-rt/test/builtins/Unit/umodti3_test.c @@ -1,3 +1,4 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t //===-- umodti3_test.c - Test __umodti3 -----------------------------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/unorddf2vfp_test.c b/compiler-rt/test/builtins/Unit/unorddf2vfp_test.c index be17e41..7fe3894 100644 --- a/compiler-rt/test/builtins/Unit/unorddf2vfp_test.c +++ b/compiler-rt/test/builtins/Unit/unorddf2vfp_test.c @@ -1,3 +1,7 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t +// XFAIL: armhf-target-arch +// This test fails for armhf (see pr32261) + //===-- unorddf2vfp_test.c - Test __unorddf2vfp ---------------------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/unordsf2vfp_test.c b/compiler-rt/test/builtins/Unit/unordsf2vfp_test.c index e40d71f..670d335 100644 --- a/compiler-rt/test/builtins/Unit/unordsf2vfp_test.c +++ b/compiler-rt/test/builtins/Unit/unordsf2vfp_test.c @@ -1,3 +1,7 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t +// XFAIL: armhf-target-arch +// This test fails for armhf (see pr32261) + //===-- unordsf2vfp_test.c - Test __unordsf2vfp ---------------------------===// // // The LLVM Compiler Infrastructure diff --git a/compiler-rt/test/builtins/Unit/unordtf2_test.c b/compiler-rt/test/builtins/Unit/unordtf2_test.c index 114cd8c..22907ce 100644 --- a/compiler-rt/test/builtins/Unit/unordtf2_test.c +++ b/compiler-rt/test/builtins/Unit/unordtf2_test.c @@ -1,3 +1,4 @@ +// RUN: %clang_builtins %s %librt -o %t && %run %t //===------------ unordtf2_test.c - Test __unordtf2------------------------===// // // The LLVM Compiler Infrastructure -- 2.7.4