llvm.org GIT mirror llvm / 4e81d40
Fix broken check lines. I really need to find a way to automate this, but I can't come up with a regex that has no false positives while handling tricky cases like custom check prefixes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@162097 91177308-0d34-0410-b5e6-96231b3b80d8 Benjamin Kramer 8 years ago
10 changed file(s) with 27 addition(s) and 28 deletion(s). Raw diff Collapse all Expand all
1515 ; CHECK: for.body:
1616 ; CHECK: %inc.9 = add i8 %inc.8, 1
1717 ; CHECK: %0 = add i8 %inc1, 10
18 ; CHEKC: br label %for.cond
18 ; CHECK: br label %for.cond
1919
2020 target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64-S128"
2121 define void @func() noreturn nounwind uwtable ssp {
66 ; CHECK: f1
77 define void @f1() nounwind uwtable ssp {
88 entry:
9 ; CHECK-NOT donothing
9 ; CHECK-NOT: donothing
1010 invoke void @llvm.donothing()
1111 to label %invoke.cont unwind label %lpad
1212
2424 ; CHECK: f2
2525 define void @f2() nounwind {
2626 entry:
27 ; CHECK-NOT donothing
27 ; CHECK-NOT: donothing
2828 call void @llvm.donothing()
2929 ret void
3030 }
22 ; PR5329
33
44 @llvm.global_ctors = appending global [3 x { i32, void ()* }] [{ i32, void ()* } { i32 2000, void ()* @construct_2 }, { i32, void ()* } { i32 3000, void ()* @construct_3 }, { i32, void ()* } { i32 1000, void ()* @construct_1 }]
5 ; CHECK-DEFAULT .section .ctors.64535,"aw",@progbits
5 ; CHECK-DEFAULT: .section .ctors.64535,"aw",@progbits
66 ; CHECK-DEFAULT: .long construct_1
77 ; CHECK-DEFAULT: .section .ctors.63535,"aw",@progbits
88 ; CHECK-DEFAULT: .long construct_2
5656 ; CHECK: subl $28
5757 ; CHECK: leal (%esp), %ecx
5858 ; CHECK: calll _test4fastccsret
59 ; CHECK addl $28
59 ; CHECK: addl $28
6060 }
6161 declare fastcc void @test4fastccsret(%struct.a* sret)
99 ; CHECK: foo
1010 ; CHECK: addl
1111 ; CHECK: addl
12 ; CEHCK: addl
12 ; CHECK: addl
1313
1414 entry:
1515 %0 = icmp sgt i32 %N, 0 ; [#uses=1]
6464 tail call void @llvm.memcpy.p0i8.p0i8.i64(i8* %A, i8* %B, i64 64, i32 1, i1 false)
6565 ret void
6666 ; LINUX: test4:
67 ; LINUX movq
68 ; LINUX movq
69 ; LINUX movq
70 ; LINUX movq
71 ; LINUX movq
72 ; LINUX movq
73 ; LINUX movq
74 ; LINUX movq
75 ; LINUX movq
76 ; LINUX movq
77 ; LINUX movq
78 ; LINUX movq
67 ; LINUX: movq
68 ; LINUX: movq
69 ; LINUX: movq
70 ; LINUX: movq
71 ; LINUX: movq
72 ; LINUX: movq
73 ; LINUX: movq
74 ; LINUX: movq
75 ; LINUX: movq
76 ; LINUX: movq
77 ; LINUX: movq
78 ; LINUX: movq
7979 }
8080
8181
619619 ; CHECK-NOT: load
620620 ; CHECK: load i16*
621621 ; CHECK-NOT: load
622 ; CHECK-ret i32
622 ; CHECK: ret i32
623623 }
624624
625625 define i32 @test_widening2() nounwind ssp noredzone {
643643 ; CHECK-NOT: load
644644 ; CHECK: load i32*
645645 ; CHECK-NOT: load
646 ; CHECK-ret i32
646 ; CHECK: ret i32
647647 }
648648
649649 declare void @llvm.memset.p0i8.i64(i8* nocapture, i8, i64, i32, i1) nounwind
3232 ;
3333 ; CHECK: @outer2
3434 ; CHECK-NOT: call void @inner2
35 ; CHECK alloca i32, i32 %N
3635 ; CHECK-NOT: call void @inner2
3736 ; CHECK: ret void
3837
12711271 ; Delete retain,release pairs around loops.
12721272
12731273 ; CHECK: define void @test39(
1274 ; CHECK_NOT: @objc_
1274 ; CHECK-NOT: @objc_
12751275 ; CHECK: }
12761276 define void @test39(i8* %p) {
12771277 entry:
12891289 ; Delete retain,release pairs around loops containing uses.
12901290
12911291 ; CHECK: define void @test39b(
1292 ; CHECK_NOT: @objc_
1292 ; CHECK-NOT: @objc_
12931293 ; CHECK: }
12941294 define void @test39b(i8* %p) {
12951295 entry:
13081308 ; Delete retain,release pairs around loops containing potential decrements.
13091309
13101310 ; CHECK: define void @test39c(
1311 ; CHECK_NOT: @objc_
1311 ; CHECK-NOT: @objc_
13121312 ; CHECK: }
13131313 define void @test39c(i8* %p) {
13141314 entry:
13281328 ; the successors are in a different order.
13291329
13301330 ; CHECK: define void @test40(
1331 ; CHECK_NOT: @objc_
1331 ; CHECK-NOT: @objc_
13321332 ; CHECK: }
13331333 define void @test40(i8* %p) {
13341334 entry:
7575 ; CHECK: define void @test2() {
7676 ; CHECK: invoke.cont:
7777 ; CHECK-NEXT: call i8* @objc_retain
78 ; CHEK-NOT: @objc
78 ; CHECK-NOT: @objc_r
7979 ; CHECK: finally.cont:
8080 ; CHECK-NEXT: call void @objc_release
81 ; CHEK-NOT: @objc
81 ; CHECK-NOT: @objc
8282 ; CHECK: finally.rethrow:
83 ; CHEK-NOT: @objc
83 ; CHECK-NOT: @objc
8484 ; CHECK: }
8585 define void @test2() {
8686 entry: