source: icGREP/icgrep-devel/llvm-3.8.0.src/test/BugPoint/crash-narrowfunctiontest.ll @ 5027

Last change on this file since 5027 was 5027, checked in by cameron, 3 years ago

Upgrade to llvm 3.8

File size: 356 bytes
Line 
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
6define i32 @foo() { ret i32 1 }
7
8define i32 @test() {
9        call i32 @test()
10        ret i32 %1
11}
12
13define i32 @bar() { ret i32 2 }
Note: See TracBrowser for help on using the repository browser.