summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/SampleProfile/Inputs/einline.prof
diff options
context:
space:
mode:
authorDehao Chen <dehao@google.com>2016-09-18 23:11:37 +0000
committerDehao Chen <dehao@google.com>2016-09-18 23:11:37 +0000
commit41cde0b986a5296cb8e3b575e678ca0db55fa1ab (patch)
treef16aeaf63958877a5591efb327a187a63e0b4239 /llvm/test/Transforms/SampleProfile/Inputs/einline.prof
parente111710242ba612964db78627170c63b2cd01a30 (diff)
downloadbcm5719-llvm-41cde0b986a5296cb8e3b575e678ca0db55fa1ab.tar.gz
bcm5719-llvm-41cde0b986a5296cb8e3b575e678ca0db55fa1ab.zip
Handle Invoke during sample profiler annotation: make it inlinable.
Summary: Previously we reline on inst-combine to remove inlinable invoke instructions. This causes trouble because a few extra optimizations are schedule early that could introduce too much CFG change (e.g. simplifycfg removes too much control flow). This patch handles invoke instruction in-place during sample profile annotation, so that we do not rely on instcombine to remove those invoke instructions. Reviewers: davidxl, dnovillo Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D24409 llvm-svn: 281870
Diffstat (limited to 'llvm/test/Transforms/SampleProfile/Inputs/einline.prof')
-rw-r--r--llvm/test/Transforms/SampleProfile/Inputs/einline.prof3
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/test/Transforms/SampleProfile/Inputs/einline.prof b/llvm/test/Transforms/SampleProfile/Inputs/einline.prof
new file mode 100644
index 00000000000..425d6ce22c1
--- /dev/null
+++ b/llvm/test/Transforms/SampleProfile/Inputs/einline.prof
@@ -0,0 +1,3 @@
+_Z3foov:200:100
+ 1: _Z3barv:100
+ 3: _Z3barv:100
OpenPOWER on IntegriCloud