mirror of
https://github.com/RPCS3/llvm.git
synced 2024-11-25 04:39:51 +00:00
remove a testcase that depends on -debug existing.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66936 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
520ebe6c2f
commit
faad77339b
@ -1,29 +0,0 @@
|
||||
; RUN: llvm-as %s -f -o %t.bc
|
||||
; RUN: lli -debug-only=jit %t.bc |& not grep {Finished CodeGen of .*Function: F}
|
||||
@.str_1 = internal constant [7 x i8] c"IN F!\0A\00" ; <[7 x i8]*> [#uses=1]
|
||||
@.str_2 = internal constant [7 x i8] c"IN G!\0A\00" ; <[7 x i8]*> [#uses=1]
|
||||
@Ptrs = internal constant [2 x void (...)*] [ void (...)* bitcast (void ()* @F to void (...)*), void (...)* bitcast (void ()* @G to void (...)*) ] ; <[2 x void (...)*]*> [#uses=1]
|
||||
|
||||
declare i32 @printf(i8*, ...)
|
||||
|
||||
define internal void @F() {
|
||||
entry:
|
||||
%tmp.0 = call i32 (i8*, ...)* @printf( i8* getelementptr ([7 x i8]* @.str_1, i32 0, i32 0) ) ; <i32> [#uses=0]
|
||||
ret void
|
||||
}
|
||||
|
||||
define internal void @G() {
|
||||
entry:
|
||||
%tmp.0 = call i32 (i8*, ...)* @printf( i8* getelementptr ([7 x i8]* @.str_2, i32 0, i32 0) ) ; <i32> [#uses=0]
|
||||
ret void
|
||||
}
|
||||
|
||||
define i32 @main(i32 %argc, i8** %argv) {
|
||||
entry:
|
||||
%tmp.3 = and i32 %argc, 1 ; <i32> [#uses=1]
|
||||
%tmp.4 = getelementptr [2 x void (...)*]* @Ptrs, i32 0, i32 %tmp.3 ; <void (...)**> [#uses=1]
|
||||
%tmp.5 = load void (...)** %tmp.4 ; <void (...)*> [#uses=1]
|
||||
%tmp.5_c = bitcast void (...)* %tmp.5 to void ()* ; <void ()*> [#uses=1]
|
||||
call void %tmp.5_c( )
|
||||
ret i32 0
|
||||
}
|
Loading…
Reference in New Issue
Block a user