llvm.org GIT mirror llvm / 2ebb4f8
Remove the arm_aapcscc marker from the tests. It is the default for the linux targets. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@106029 91177308-0d34-0410-b5e6-96231b3b80d8 Rafael Espindola 9 years ago
12 changed file(s) with 26 addition(s) and 26 deletion(s). Raw diff Collapse all Expand all
33 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:32-f32:32:32-f64:32:32-v64:64:64-v128:128:128-a0:0:64"
44 target triple = "armv6-elf"
55
6 define arm_aapcscc i32 @file_read_actor(i32* nocapture %desc, i32* %page, i32 %offset, i32 %size) nounwind optsize {
6 define i32 @file_read_actor(i32* nocapture %desc, i32* %page, i32 %offset, i32 %size) nounwind optsize {
77 entry:
88 br i1 undef, label %fault_in_pages_writeable.exit, label %bb5.i
99
2525 unreachable
2626
2727 bb3: ; preds = %fault_in_pages_writeable.exit
28 %1 = tail call arm_aapcscc i32 @__copy_to_user(i8* undef, i8* undef, i32 undef) nounwind ; [#uses=0]
28 %1 = tail call i32 @__copy_to_user(i8* undef, i8* undef, i32 undef) nounwind ; [#uses=0]
2929 unreachable
3030 }
3131
32 declare arm_aapcscc i32 @__copy_to_user(i8*, i8*, i32)
32 declare i32 @__copy_to_user(i8*, i8*, i32)
0 ; RUN: llc < %s -mtriple=armv6-elf
11 ; PR4528
22
3 define arm_aapcscc i32 @file_read_actor(i32 %desc, i32 %page, i32 %offset, i32 %size) nounwind optsize {
3 define i32 @file_read_actor(i32 %desc, i32 %page, i32 %offset, i32 %size) nounwind optsize {
44 entry:
55 br i1 undef, label %fault_in_pages_writeable.exit, label %bb5.i
66
1717 unreachable
1818
1919 bb3: ; preds = %fault_in_pages_writeable.exit
20 %2 = tail call arm_aapcscc i32 @__copy_to_user(i8* undef, i8* undef, i32 undef) nounwind ; [#uses=0]
20 %2 = tail call i32 @__copy_to_user(i8* undef, i8* undef, i32 undef) nounwind ; [#uses=0]
2121 unreachable
2222 }
2323
24 declare arm_aapcscc i32 @__copy_to_user(i8*, i8*, i32)
24 declare i32 @__copy_to_user(i8*, i8*, i32)
55 %struct.device_dma_parameters = type { i32, i32 }
66 %struct.iovec = type { i8*, i32 }
77
8 define arm_aapcscc i32 @generic_segment_checks(%struct.iovec* nocapture %iov, i32* nocapture %nr_segs, i32* nocapture %count, i32 %access_flags) nounwind optsize {
8 define i32 @generic_segment_checks(%struct.iovec* nocapture %iov, i32* nocapture %nr_segs, i32* nocapture %count, i32 %access_flags) nounwind optsize {
99 entry:
1010 br label %bb8
1111
0 ; RUN: llc < %s -march=arm
11 ; PR4716
22
3 define arm_aapcscc void @_start() nounwind naked {
3 define void @_start() nounwind naked {
44 entry:
5 tail call arm_aapcscc void @exit(i32 undef) noreturn nounwind
5 tail call void @exit(i32 undef) noreturn nounwind
66 unreachable
77 }
88
9 declare arm_aapcscc void @exit(i32) noreturn nounwind
9 declare void @exit(i32) noreturn nounwind
22
33 %0 = type { double, double }
44
5 define arm_aapcscc void @foo(%0* noalias nocapture sret %agg.result, double %x.0, double %y.0) nounwind {
5 define void @foo(%0* noalias nocapture sret %agg.result, double %x.0, double %y.0) nounwind {
66 ; CHECK: foo:
77 ; CHECK: bl __adddf3
88 ; CHECK-NOT: strd
11
22 @.str = private constant [1 x i8] zeroinitializer, align 1
33
4 define arm_aapcscc void @g() {
4 define void @g() {
55 entry:
66 ;CHECK: [sp, #8]
77 ;CHECK: [sp, #12]
88 ;CHECK: [sp]
9 tail call arm_aapcscc void (i8*, ...)* @f(i8* getelementptr ([1 x i8]* @.str, i32 0, i32 0), i32 1, double 2.000000e+00, i32 3, double 4.000000e+00)
9 tail call void (i8*, ...)* @f(i8* getelementptr ([1 x i8]* @.str, i32 0, i32 0), i32 1, double 2.000000e+00, i32 3, double 4.000000e+00)
1010 ret void
1111 }
1212
13 declare arm_aapcscc void @f(i8*, ...)
13 declare void @f(i8*, ...)
22 ; PR4344
33 ; PR4416
44
5 define arm_aapcscc i8* @t() nounwind {
5 define i8* @t() nounwind {
66 entry:
77 ; DARWIN: t:
88 ; DARWIN: mov r0, r7
44 ; RUN: llc < %s -mtriple=armv4-unknown-eabi | FileCheck %s -check-prefix=ARM
55 ; RUN: llc < %s -mtriple=armv4t-unknown-eabi | FileCheck %s -check-prefix=THUMB
66
7 define arm_aapcscc i32 @test(i32 %a) nounwind readnone {
7 define i32 @test(i32 %a) nounwind readnone {
88 entry:
99 ; ARM: mov pc
1010 ; THUMB: bx
44 %struct._IO_marker = type { %struct._IO_marker*, %struct.FILE*, i32 }
55 @.str2 = external constant [30 x i8], align 1 ; <[30 x i8]*> [#uses=1]
66
7 define arm_aapcscc i32 @__mf_heuristic_check(i32 %ptr, i32 %ptr_high) nounwind {
7 define i32 @__mf_heuristic_check(i32 %ptr, i32 %ptr_high) nounwind {
88 entry:
99 br i1 undef, label %bb1, label %bb
1010
1616
1717 bb2: ; preds = %bb1
1818 %0 = call i8* @llvm.frameaddress(i32 0) ; [#uses=1]
19 %1 = call arm_aapcscc i32 (%struct.FILE*, i8*, ...)* @fprintf(%struct.FILE* noalias undef, i8* noalias getelementptr ([30 x i8]* @.str2, i32 0, i32 0), i8* %0, i8* null) nounwind ; [#uses=0]
19 %1 = call i32 (%struct.FILE*, i8*, ...)* @fprintf(%struct.FILE* noalias undef, i8* noalias getelementptr ([30 x i8]* @.str2, i32 0, i32 0), i8* %0, i8* null) nounwind ; [#uses=0]
2020 unreachable
2121
2222 bb9: ; preds = %bb1
2525
2626 declare i8* @llvm.frameaddress(i32) nounwind readnone
2727
28 declare arm_aapcscc i32 @fprintf(%struct.FILE* noalias nocapture, i8* noalias nocapture, ...) nounwind
28 declare i32 @fprintf(%struct.FILE* noalias nocapture, i8* noalias nocapture, ...) nounwind
11 ; PR4659
22 ; PR4682
33
4 define hidden arm_aapcscc i32 @__gcov_execlp(i8* %path, i8* %arg, ...) nounwind {
4 define hidden i32 @__gcov_execlp(i8* %path, i8* %arg, ...) nounwind {
55 entry:
66 ; CHECK: __gcov_execlp:
77 ; CHECK: mov sp, r7
88 ; CHECK: sub sp, #4
9 call arm_aapcscc void @__gcov_flush() nounwind
9 call void @__gcov_flush() nounwind
1010 br i1 undef, label %bb5, label %bb
1111
1212 bb: ; preds = %bb, %entry
1414
1515 bb5: ; preds = %bb, %entry
1616 %0 = alloca i8*, i32 undef, align 4 ; [#uses=1]
17 %1 = call arm_aapcscc i32 @execvp(i8* %path, i8** %0) nounwind ; [#uses=1]
17 %1 = call i32 @execvp(i8* %path, i8** %0) nounwind ; [#uses=1]
1818 ret i32 %1
1919 }
2020
21 declare hidden arm_aapcscc void @__gcov_flush()
21 declare hidden void @__gcov_flush()
2222
23 declare arm_aapcscc i32 @execvp(i8*, i8**) nounwind
23 declare i32 @execvp(i8*, i8**) nounwind
22
33 @g_d = external global double ; [#uses=1]
44
5 define arm_aapcscc void @foo(float %yIncr) {
5 define void @foo(float %yIncr) {
66 entry:
77 br i1 undef, label %bb, label %bb4
88
88
99 @c = external global %0 ; <%0*> [#uses=1]
1010
11 define arm_aapcscc void @good() nounwind {
11 define void @good() nounwind {
1212 entry:
1313 %x0 = alloca %struct.anon, align 4 ; <%struct.anon*> [#uses=2]
1414 %tmp = bitcast %struct.anon* %x0 to i8* ; [#uses=1]