summaryrefslogtreecommitdiffstats
path: root/llvm/test
diff options
context:
space:
mode:
authorDehao Chen <dehao@google.com>2016-08-05 20:28:41 +0000
committerDehao Chen <dehao@google.com>2016-08-05 20:28:41 +0000
commitde39cb93843636e7f620918252551a7431044e3b (patch)
treecd755411c133e1bd3054b054a9966be0c2862bd7 /llvm/test
parentb4bbc3bb7ab74a56975f0546646c8491a83676f0 (diff)
downloadbcm5719-llvm-de39cb93843636e7f620918252551a7431044e3b.tar.gz
bcm5719-llvm-de39cb93843636e7f620918252551a7431044e3b.zip
Replace hot-callsite based heuristic to use its own threshold parameter instead of share inline-hint parameter
Summary: Hot callsites should have higher threshold than inline hints. This patch uses separate threshold parameter for hot callsites. Reviewers: davidxl, eraman Subscribers: Prazek, llvm-commits Differential Revision: https://reviews.llvm.org/D22368 llvm-svn: 277860
Diffstat (limited to 'llvm/test')
-rw-r--r--llvm/test/Transforms/Inline/inline-hot-callsite.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/Transforms/Inline/inline-hot-callsite.ll b/llvm/test/Transforms/Inline/inline-hot-callsite.ll
index 36d9407142e..46993f49cc6 100644
--- a/llvm/test/Transforms/Inline/inline-hot-callsite.ll
+++ b/llvm/test/Transforms/Inline/inline-hot-callsite.ll
@@ -1,4 +1,4 @@
-; RUN: opt < %s -inline -inline-threshold=0 -inlinehint-threshold=100 -S | FileCheck %s
+; RUN: opt < %s -inline -inline-threshold=0 -hot-callsite-threshold=100 -S | FileCheck %s
; This tests that a hot callsite gets the (higher) inlinehint-threshold even without
; without inline hints and gets inlined because the cost is less than
OpenPOWER on IntegriCloud