2002-11-20 23:30:02 +01:00
|
|
|
; Test that bugpoint can narrow down the testcase to the important function
|
|
|
|
;
|
2010-11-29 08:58:32 +01:00
|
|
|
; RUN: bugpoint -load %llvmshlibdir/BugpointPasses%shlibext %s -output-prefix %t -bugpoint-crashcalls -silence-passes > /dev/null
|
|
|
|
; REQUIRES: loadable_module
|
2002-11-20 23:30:02 +01:00
|
|
|
|
2007-03-19 19:08:42 +01:00
|
|
|
define i32 @foo() { ret i32 1 }
|
2002-11-20 23:30:02 +01:00
|
|
|
|
2007-03-19 19:08:42 +01:00
|
|
|
define i32 @test() {
|
|
|
|
call i32 @test()
|
|
|
|
ret i32 %1
|
2002-11-20 23:30:02 +01:00
|
|
|
}
|
|
|
|
|
2007-03-19 19:08:42 +01:00
|
|
|
define i32 @bar() { ret i32 2 }
|