Make constmerge a two-pass algorithm so that it won't miss merging
[llvm.git] / test / BugPoint / crash-narrowfunctiontest.ll
blobd080d9dd4b0cac54d64b4fe42e9853ebddc2c2e2
1 ; Test that bugpoint can narrow down the testcase to the important function
3 ; RUN: bugpoint -load %llvmshlibdir/BugpointPasses%shlibext %s -output-prefix %t -bugpoint-crashcalls -silence-passes > /dev/null
4 ; REQUIRES: loadable_module
6 define i32 @foo() { ret i32 1 }
8 define i32 @test() {
9         call i32 @test()
10         ret i32 %1
13 define i32 @bar() { ret i32 2 }