annotate llvm/test/BugPoint/crash-narrowfunctiontest.ll @ 227:21e6aa2e49ef

...
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Mon, 19 Jul 2021 06:57:16 +0900
parents 2e18cbf3894f
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
150
anatofuz
parents:
diff changeset
1 ; Test that bugpoint can narrow down the testcase to the important function
anatofuz
parents:
diff changeset
2 ;
207
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 150
diff changeset
3 ; RUN: bugpoint -load %llvmshlibdir/BugpointPasses%pluginext %s -output-prefix %t -bugpoint-crashcalls -silence-passes > /dev/null
150
anatofuz
parents:
diff changeset
4 ; REQUIRES: plugins
anatofuz
parents:
diff changeset
5
anatofuz
parents:
diff changeset
6 define i32 @foo() { ret i32 1 }
anatofuz
parents:
diff changeset
7
anatofuz
parents:
diff changeset
8 define i32 @test() {
anatofuz
parents:
diff changeset
9 call i32 @test()
anatofuz
parents:
diff changeset
10 ret i32 %1
anatofuz
parents:
diff changeset
11 }
anatofuz
parents:
diff changeset
12
anatofuz
parents:
diff changeset
13 define i32 @bar() { ret i32 2 }