Mercurial > hg > CbC > CbC_llvm
view test/BugPoint/crash-narrowfunctiontest.ll @ 129:9ec641e857f8
Fix compile error to update llvm 5.0
author | mir3636 |
---|---|
date | Tue, 12 Dec 2017 19:42:58 +0900 |
parents | 95c75e76d11b |
children | 3a76565eade5 |
line wrap: on
line source
; Test that bugpoint can narrow down the testcase to the important function ; ; RUN: bugpoint -load %llvmshlibdir/BugpointPasses%shlibext %s -output-prefix %t -bugpoint-crashcalls -silence-passes > /dev/null ; REQUIRES: loadable_module define i32 @foo() { ret i32 1 } define i32 @test() { call i32 @test() ret i32 %1 } define i32 @bar() { ret i32 2 }