Mercurial > hg > CbC > CbC_llvm
annotate test/BugPoint/crash-narrowfunctiontest.ll @ 33:e4204d083e25 LLVM3.5
LLVM 3.5
author | Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp> |
---|---|
date | Thu, 12 Dec 2013 14:32:10 +0900 |
parents | 95c75e76d11b |
children | 3a76565eade5 |
rev | line source |
---|---|
0 | 1 ; Test that bugpoint can narrow down the testcase to the important function |
2 ; | |
3 ; RUN: bugpoint -load %llvmshlibdir/BugpointPasses%shlibext %s -output-prefix %t -bugpoint-crashcalls -silence-passes > /dev/null | |
4 ; REQUIRES: loadable_module | |
5 | |
6 define i32 @foo() { ret i32 1 } | |
7 | |
8 define i32 @test() { | |
9 call i32 @test() | |
10 ret i32 %1 | |
11 } | |
12 | |
13 define i32 @bar() { ret i32 2 } |