Skip to content

Commit

Permalink
[Builtin] Implement lit-test support (part 1 of 2: test cases update)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Weiming Zhao committed Mar 21, 2017
1 parent 2eb3227 commit 9b7bbec
Show file tree
Hide file tree
Showing 192 changed files with 306 additions and 7 deletions.
1 change: 1 addition & 0 deletions compiler-rt/test/builtins/Unit/absvdi2_test.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- absvdi2_test.c - Test __absvdi2 -----------------------------------===//
//
// The LLVM Compiler Infrastructure
Expand Down
1 change: 1 addition & 0 deletions compiler-rt/test/builtins/Unit/absvsi2_test.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- absvsi2_test.c - Test __absvsi2 -----------------------------------===//
//
// The LLVM Compiler Infrastructure
Expand Down
1 change: 1 addition & 0 deletions compiler-rt/test/builtins/Unit/absvti2_test.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- absvti2_test.c - Test __absvti2 -----------------------------------===//
//
// The LLVM Compiler Infrastructure
Expand Down
1 change: 1 addition & 0 deletions compiler-rt/test/builtins/Unit/adddf3vfp_test.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- adddf3vfp_test.c - Test __adddf3vfp -------------------------------===//
//
// The LLVM Compiler Infrastructure
Expand Down
1 change: 1 addition & 0 deletions compiler-rt/test/builtins/Unit/addsf3vfp_test.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- addsf3vfp_test.c - Test __addsf3vfp -------------------------------===//
//
// The LLVM Compiler Infrastructure
Expand Down
1 change: 1 addition & 0 deletions compiler-rt/test/builtins/Unit/addtf3_test.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// RUN: %clang_builtins %s %librt -o %t && %run %t
//===--------------- addtf3_test.c - Test __addtf3 ------------------------===//
//
// The LLVM Compiler Infrastructure
Expand Down
1 change: 1 addition & 0 deletions compiler-rt/test/builtins/Unit/addvdi3_test.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- addvdi3_test.c - Test __addvdi3 -----------------------------------===//
//
// The LLVM Compiler Infrastructure
Expand Down
1 change: 1 addition & 0 deletions compiler-rt/test/builtins/Unit/addvsi3_test.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- addvsi3_test.c - Test __addvsi3 -----------------------------------===//
//
// The LLVM Compiler Infrastructure
Expand Down
1 change: 1 addition & 0 deletions compiler-rt/test/builtins/Unit/addvti3_test.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- addvti3_test.c - Test __addvti3 -----------------------------------===//
//
// The LLVM Compiler Infrastructure
Expand Down
3 changes: 3 additions & 0 deletions compiler-rt/test/builtins/Unit/arm/aeabi_cdcmpeq_test.c
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 4 additions & 0 deletions compiler-rt/test/builtins/Unit/arm/aeabi_cdcmple_test.c
Original file line number Diff line number Diff line change
@@ -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
Expand Down
3 changes: 3 additions & 0 deletions compiler-rt/test/builtins/Unit/arm/aeabi_cfcmpeq_test.c
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 4 additions & 0 deletions compiler-rt/test/builtins/Unit/arm/aeabi_cfcmple_test.c
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 2 additions & 0 deletions compiler-rt/test/builtins/Unit/arm/aeabi_drsub_test.c
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 2 additions & 0 deletions compiler-rt/test/builtins/Unit/arm/aeabi_frsub_test.c
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 2 additions & 0 deletions compiler-rt/test/builtins/Unit/arm/aeabi_idivmod_test.c
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 2 additions & 0 deletions compiler-rt/test/builtins/Unit/arm/aeabi_uidivmod_test.c
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 2 additions & 0 deletions compiler-rt/test/builtins/Unit/arm/aeabi_uldivmod_test.c
Original file line number Diff line number Diff line change
@@ -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
Expand Down
8 changes: 4 additions & 4 deletions compiler-rt/test/builtins/Unit/arm/call_apsr.S
Original file line number Diff line number Diff line change
Expand Up @@ -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")))
Expand Down
1 change: 1 addition & 0 deletions compiler-rt/test/builtins/Unit/ashldi3_test.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- ashldi3_test.c - Test __ashldi3 -----------------------------------===//
//
// The LLVM Compiler Infrastructure
Expand Down
1 change: 1 addition & 0 deletions compiler-rt/test/builtins/Unit/ashlti3_test.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- ashlti3_test.c - Test __ashlti3 -----------------------------------===//
//
// The LLVM Compiler Infrastructure
Expand Down
1 change: 1 addition & 0 deletions compiler-rt/test/builtins/Unit/ashrdi3_test.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- ashrdi3_test.c - Test __ashrdi3 -----------------------------------===//
//
// The LLVM Compiler Infrastructure
Expand Down
1 change: 1 addition & 0 deletions compiler-rt/test/builtins/Unit/ashrti3_test.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- ashrti3_test.c - Test __ashrti3 -----------------------------------===//
//
// The LLVM Compiler Infrastructure
Expand Down
2 changes: 2 additions & 0 deletions compiler-rt/test/builtins/Unit/bswapdi2_test.c
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 2 additions & 0 deletions compiler-rt/test/builtins/Unit/bswapsi2_test.c
Original file line number Diff line number Diff line change
@@ -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
Expand Down
3 changes: 3 additions & 0 deletions compiler-rt/test/builtins/Unit/clear_cache_test.c
Original file line number Diff line number Diff line change
@@ -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
Expand Down
1 change: 1 addition & 0 deletions compiler-rt/test/builtins/Unit/clzdi2_test.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- clzdi2_test.c - Test __clzdi2 -------------------------------------===//
//
// The LLVM Compiler Infrastructure
Expand Down
1 change: 1 addition & 0 deletions compiler-rt/test/builtins/Unit/clzsi2_test.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- clzsi2_test.c - Test __clzsi2 -------------------------------------===//
//
// The LLVM Compiler Infrastructure
Expand Down
1 change: 1 addition & 0 deletions compiler-rt/test/builtins/Unit/clzti2_test.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- clzti2_test.c - Test __clzti2 -------------------------------------===//
//
// The LLVM Compiler Infrastructure
Expand Down
1 change: 1 addition & 0 deletions compiler-rt/test/builtins/Unit/cmpdi2_test.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- cmpdi2_test.c - Test __cmpdi2 -------------------------------------===//
//
// The LLVM Compiler Infrastructure
Expand Down
1 change: 1 addition & 0 deletions compiler-rt/test/builtins/Unit/cmpti2_test.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- cmpti2_test.c - Test __cmpti2 -------------------------------------===//
//
// The LLVM Compiler Infrastructure
Expand Down
4 changes: 4 additions & 0 deletions compiler-rt/test/builtins/Unit/comparedf2_test.c
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 4 additions & 0 deletions compiler-rt/test/builtins/Unit/comparesf2_test.c
Original file line number Diff line number Diff line change
@@ -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
Expand Down
8 changes: 5 additions & 3 deletions compiler-rt/test/builtins/Unit/cpu_model_test.c
Original file line number Diff line number Diff line change
@@ -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
//
Expand All @@ -11,8 +15,6 @@
//
//===----------------------------------------------------------------------===//

// REQUIRES: x86-target-arch

#include <stdio.h>

int main (void) {
Expand Down
1 change: 1 addition & 0 deletions compiler-rt/test/builtins/Unit/ctzdi2_test.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- ctzdi2_test.c - Test __ctzdi2 -------------------------------------===//
//
// The LLVM Compiler Infrastructure
Expand Down
1 change: 1 addition & 0 deletions compiler-rt/test/builtins/Unit/ctzsi2_test.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- ctzsi2_test.c - Test __ctzsi2 -------------------------------------===//
//
// The LLVM Compiler Infrastructure
Expand Down
1 change: 1 addition & 0 deletions compiler-rt/test/builtins/Unit/ctzti2_test.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- ctzti2_test.c - Test __ctzti2 -------------------------------------===//
//
// The LLVM Compiler Infrastructure
Expand Down
1 change: 1 addition & 0 deletions compiler-rt/test/builtins/Unit/divdc3_test.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- divdc3_test.c - Test __divdc3 -------------------------------------===//
//
// The LLVM Compiler Infrastructure
Expand Down
1 change: 1 addition & 0 deletions compiler-rt/test/builtins/Unit/divdf3vfp_test.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- divdf3vfp_test.c - Test __divdf3vfp -------------------------------===//
//
// The LLVM Compiler Infrastructure
Expand Down
1 change: 1 addition & 0 deletions compiler-rt/test/builtins/Unit/divdi3_test.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- divdi3_test.c - Test __divdi3 -------------------------------------===//
//
// The LLVM Compiler Infrastructure
Expand Down
1 change: 1 addition & 0 deletions compiler-rt/test/builtins/Unit/divmodsi4_test.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- divmodsi4_test.c - Test __divmodsi4 -------------------------------===//
//
// The LLVM Compiler Infrastructure
Expand Down
1 change: 1 addition & 0 deletions compiler-rt/test/builtins/Unit/divsc3_test.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// RUN: %clang_builtins %s %librt -lm -o %t && %run %t
//===-- divsc3_test.c - Test __divsc3 -------------------------------------===//
//
// The LLVM Compiler Infrastructure
Expand Down
1 change: 1 addition & 0 deletions compiler-rt/test/builtins/Unit/divsf3vfp_test.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- divsf3vfp_test.c - Test __divsf3vfp -------------------------------===//
//
// The LLVM Compiler Infrastructure
Expand Down
1 change: 1 addition & 0 deletions compiler-rt/test/builtins/Unit/divsi3_test.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- divsi3_test.c - Test __divsi3 -------------------------------------===//
//
// The LLVM Compiler Infrastructure
Expand Down
1 change: 1 addition & 0 deletions compiler-rt/test/builtins/Unit/divtc3_test.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// RUN: %clang_builtins %s %librt -lm -o %t && %run %t
//===-- divtc3_test.c - Test __divtc3 -------------------------------------===//
//
// The LLVM Compiler Infrastructure
Expand Down
1 change: 1 addition & 0 deletions compiler-rt/test/builtins/Unit/divtf3_test.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// RUN: %clang_builtins %s %librt -o %t && %run %t
//===--------------- divtf3_test.c - Test __divtf3 ------------------------===//
//
// The LLVM Compiler Infrastructure
Expand Down
1 change: 1 addition & 0 deletions compiler-rt/test/builtins/Unit/divti3_test.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- divti3_test.c - Test __divti3 -------------------------------------===//
//
// The LLVM Compiler Infrastructure
Expand Down
1 change: 1 addition & 0 deletions compiler-rt/test/builtins/Unit/divxc3_test.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// RUN: %clang_builtins %s %librt -lm -o %t && %run %t
//===-- divxc3_test.c - Test __divxc3 -------------------------------------===//
//
// The LLVM Compiler Infrastructure
Expand Down
2 changes: 2 additions & 0 deletions compiler-rt/test/builtins/Unit/enable_execute_stack_test.c
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 4 additions & 0 deletions compiler-rt/test/builtins/Unit/eqdf2vfp_test.c
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 4 additions & 0 deletions compiler-rt/test/builtins/Unit/eqsf2vfp_test.c
Original file line number Diff line number Diff line change
@@ -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
Expand Down
1 change: 1 addition & 0 deletions compiler-rt/test/builtins/Unit/eqtf2_test.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// RUN: %clang_builtins %s %librt -o %t && %run %t
//===------------ eqtf2_test.c - Test __eqtf2------------------------------===//
//
// The LLVM Compiler Infrastructure
Expand Down
1 change: 1 addition & 0 deletions compiler-rt/test/builtins/Unit/extebdsfdf2vfp_test.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- extendsfdf2vfp_test.c - Test __extendsfdf2vfp ---------------------===//
//
// The LLVM Compiler Infrastructure
Expand Down
1 change: 1 addition & 0 deletions compiler-rt/test/builtins/Unit/extenddftf2_test.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// RUN: %clang_builtins %s %librt -o %t && %run %t
//===--------------- extenddftf2_test.c - Test __extenddftf2 --------------===//
//
// The LLVM Compiler Infrastructure
Expand Down
1 change: 1 addition & 0 deletions compiler-rt/test/builtins/Unit/extendhfsf2_test.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// RUN: %clang_builtins %s %librt -o %t && %run %t
//===--------------- extendhfsf2_test.c - Test __extendhfsf2 --------------===//
//
// The LLVM Compiler Infrastructure
Expand Down
1 change: 1 addition & 0 deletions compiler-rt/test/builtins/Unit/extendsftf2_test.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// RUN: %clang_builtins %s %librt -o %t && %run %t
//===--------------- extendsftf2_test.c - Test __extendsftf2 --------------===//
//
// The LLVM Compiler Infrastructure
Expand Down
1 change: 1 addition & 0 deletions compiler-rt/test/builtins/Unit/ffsdi2_test.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- ffsdi2_test.c - Test __ffsdi2 -------------------------------------===//
//
// The LLVM Compiler Infrastructure
Expand Down
1 change: 1 addition & 0 deletions compiler-rt/test/builtins/Unit/ffsti2_test.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- ffsti2_test.c - Test __ffsti2 -------------------------------------===//
//
// The LLVM Compiler Infrastructure
Expand Down
1 change: 1 addition & 0 deletions compiler-rt/test/builtins/Unit/fixdfdi_test.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- fixdfdi_test.c - Test __fixdfdi -----------------------------------===//
//
// The LLVM Compiler Infrastructure
Expand Down
4 changes: 4 additions & 0 deletions compiler-rt/test/builtins/Unit/fixdfsivfp_test.c
Original file line number Diff line number Diff line change
@@ -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
Expand Down
1 change: 1 addition & 0 deletions compiler-rt/test/builtins/Unit/fixdfti_test.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- fixdfti_test.c - Test __fixdfti -----------------------------------===//
//
// The LLVM Compiler Infrastructure
Expand Down
1 change: 1 addition & 0 deletions compiler-rt/test/builtins/Unit/fixsfdi_test.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- fixsfdi_test.c - Test __fixsfdi -----------------------------------===//
//
// The LLVM Compiler Infrastructure
Expand Down
4 changes: 4 additions & 0 deletions compiler-rt/test/builtins/Unit/fixsfsivfp_test.c
Original file line number Diff line number Diff line change
@@ -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
Expand Down
1 change: 1 addition & 0 deletions compiler-rt/test/builtins/Unit/fixsfti_test.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// RUN: %clang_builtins %s %librt -o %t && %run %t
//===-- fixsfti_test.c - Test __fixsfti -----------------------------------===//
//
// The LLVM Compiler Infrastructure
Expand Down
1 change: 1 addition & 0 deletions compiler-rt/test/builtins/Unit/fixtfdi_test.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// RUN: %clang_builtins %s %librt -o %t && %run %t
//===--------------- fixtfdi_test.c - Test __fixtfdi ----------------------===//
//
// The LLVM Compiler Infrastructure
Expand Down
1 change: 1 addition & 0 deletions compiler-rt/test/builtins/Unit/fixtfsi_test.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// RUN: %clang_builtins %s %librt -o %t && %run %t
//===--------------- fixtfsi_test.c - Test __fixtfsi ----------------------===//
//
// The LLVM Compiler Infrastructure
Expand Down
1 change: 1 addition & 0 deletions compiler-rt/test/builtins/Unit/fixtfti_test.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// RUN: %clang_builtins %s %librt -o %t && %run %t
//===--------------- fixtfti_test.c - Test __fixtfti ----------------------===//
//
// The LLVM Compiler Infrastructure
Expand Down
Loading

0 comments on commit 9b7bbec

Please sign in to comment.