mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
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
This commit is contained in:
parent
3c8ad92455
commit
4e81d40545
@ -16,7 +16,7 @@
|
||||
; CHECK: for.body:
|
||||
; CHECK: %inc.9 = add i8 %inc.8, 1
|
||||
; CHECK: %0 = add i8 %inc1, 10
|
||||
; CHEKC: br label %for.cond
|
||||
; CHECK: br label %for.cond
|
||||
|
||||
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"
|
||||
define void @func() noreturn nounwind uwtable ssp {
|
||||
|
@ -7,7 +7,7 @@ declare void @llvm.donothing() readnone
|
||||
; CHECK: f1
|
||||
define void @f1() nounwind uwtable ssp {
|
||||
entry:
|
||||
; CHECK-NOT donothing
|
||||
; CHECK-NOT: donothing
|
||||
invoke void @llvm.donothing()
|
||||
to label %invoke.cont unwind label %lpad
|
||||
|
||||
@ -25,7 +25,7 @@ lpad:
|
||||
; CHECK: f2
|
||||
define void @f2() nounwind {
|
||||
entry:
|
||||
; CHECK-NOT donothing
|
||||
; CHECK-NOT: donothing
|
||||
call void @llvm.donothing()
|
||||
ret void
|
||||
}
|
||||
|
@ -3,7 +3,7 @@
|
||||
; PR5329
|
||||
|
||||
@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 }]
|
||||
; CHECK-DEFAULT .section .ctors.64535,"aw",@progbits
|
||||
; CHECK-DEFAULT: .section .ctors.64535,"aw",@progbits
|
||||
; CHECK-DEFAULT: .long construct_1
|
||||
; CHECK-DEFAULT: .section .ctors.63535,"aw",@progbits
|
||||
; CHECK-DEFAULT: .long construct_2
|
||||
|
@ -57,6 +57,6 @@ entry:
|
||||
; CHECK: subl $28
|
||||
; CHECK: leal (%esp), %ecx
|
||||
; CHECK: calll _test4fastccsret
|
||||
; CHECK addl $28
|
||||
; CHECK: addl $28
|
||||
}
|
||||
declare fastcc void @test4fastccsret(%struct.a* sret)
|
||||
|
@ -10,7 +10,7 @@ define void @foo(float* nocapture %A, float* nocapture %B, float* nocapture %C,
|
||||
; CHECK: foo
|
||||
; CHECK: addl
|
||||
; CHECK: addl
|
||||
; CEHCK: addl
|
||||
; CHECK: addl
|
||||
|
||||
entry:
|
||||
%0 = icmp sgt i32 %N, 0 ; <i1> [#uses=1]
|
||||
|
@ -65,18 +65,18 @@ entry:
|
||||
tail call void @llvm.memcpy.p0i8.p0i8.i64(i8* %A, i8* %B, i64 64, i32 1, i1 false)
|
||||
ret void
|
||||
; LINUX: test4:
|
||||
; LINUX movq
|
||||
; LINUX movq
|
||||
; LINUX movq
|
||||
; LINUX movq
|
||||
; LINUX movq
|
||||
; LINUX movq
|
||||
; LINUX movq
|
||||
; LINUX movq
|
||||
; LINUX movq
|
||||
; LINUX movq
|
||||
; LINUX movq
|
||||
; LINUX movq
|
||||
; LINUX: movq
|
||||
; LINUX: movq
|
||||
; LINUX: movq
|
||||
; LINUX: movq
|
||||
; LINUX: movq
|
||||
; LINUX: movq
|
||||
; LINUX: movq
|
||||
; LINUX: movq
|
||||
; LINUX: movq
|
||||
; LINUX: movq
|
||||
; LINUX: movq
|
||||
; LINUX: movq
|
||||
}
|
||||
|
||||
|
||||
|
@ -620,7 +620,7 @@ entry:
|
||||
; CHECK-NOT: load
|
||||
; CHECK: load i16*
|
||||
; CHECK-NOT: load
|
||||
; CHECK-ret i32
|
||||
; CHECK: ret i32
|
||||
}
|
||||
|
||||
define i32 @test_widening2() nounwind ssp noredzone {
|
||||
@ -644,7 +644,7 @@ entry:
|
||||
; CHECK-NOT: load
|
||||
; CHECK: load i32*
|
||||
; CHECK-NOT: load
|
||||
; CHECK-ret i32
|
||||
; CHECK: ret i32
|
||||
}
|
||||
|
||||
declare void @llvm.memset.p0i8.i64(i8* nocapture, i8, i64, i32, i1) nounwind
|
||||
|
@ -33,7 +33,6 @@ define void @outer2(i32 %N) {
|
||||
;
|
||||
; CHECK: @outer2
|
||||
; CHECK-NOT: call void @inner2
|
||||
; CHECK alloca i32, i32 %N
|
||||
; CHECK-NOT: call void @inner2
|
||||
; CHECK: ret void
|
||||
|
||||
|
@ -1272,7 +1272,7 @@ g:
|
||||
; Delete retain,release pairs around loops.
|
||||
|
||||
; CHECK: define void @test39(
|
||||
; CHECK_NOT: @objc_
|
||||
; CHECK-NOT: @objc_
|
||||
; CHECK: }
|
||||
define void @test39(i8* %p) {
|
||||
entry:
|
||||
@ -1290,7 +1290,7 @@ exit: ; preds = %loop
|
||||
; Delete retain,release pairs around loops containing uses.
|
||||
|
||||
; CHECK: define void @test39b(
|
||||
; CHECK_NOT: @objc_
|
||||
; CHECK-NOT: @objc_
|
||||
; CHECK: }
|
||||
define void @test39b(i8* %p) {
|
||||
entry:
|
||||
@ -1309,7 +1309,7 @@ exit: ; preds = %loop
|
||||
; Delete retain,release pairs around loops containing potential decrements.
|
||||
|
||||
; CHECK: define void @test39c(
|
||||
; CHECK_NOT: @objc_
|
||||
; CHECK-NOT: @objc_
|
||||
; CHECK: }
|
||||
define void @test39c(i8* %p) {
|
||||
entry:
|
||||
@ -1329,7 +1329,7 @@ exit: ; preds = %loop
|
||||
; the successors are in a different order.
|
||||
|
||||
; CHECK: define void @test40(
|
||||
; CHECK_NOT: @objc_
|
||||
; CHECK-NOT: @objc_
|
||||
; CHECK: }
|
||||
define void @test40(i8* %p) {
|
||||
entry:
|
||||
|
@ -76,12 +76,12 @@ done:
|
||||
; CHECK: define void @test2() {
|
||||
; CHECK: invoke.cont:
|
||||
; CHECK-NEXT: call i8* @objc_retain
|
||||
; CHEK-NOT: @objc
|
||||
; CHECK-NOT: @objc_r
|
||||
; CHECK: finally.cont:
|
||||
; CHECK-NEXT: call void @objc_release
|
||||
; CHEK-NOT: @objc
|
||||
; CHECK-NOT: @objc
|
||||
; CHECK: finally.rethrow:
|
||||
; CHEK-NOT: @objc
|
||||
; CHECK-NOT: @objc
|
||||
; CHECK: }
|
||||
define void @test2() {
|
||||
entry:
|
||||
|
Loading…
Reference in New Issue
Block a user