summaryrefslogtreecommitdiffstats
path: root/clang/test/Profile/func-entry.c
diff options
context:
space:
mode:
authorEaswaran Raman <eraman@google.com>2016-01-04 23:32:28 +0000
committerEaswaran Raman <eraman@google.com>2016-01-04 23:32:28 +0000
commiteed30e5a81a5d40f3c1330a379b8fc8077315bd9 (patch)
tree541ddb546da579c7ef8678c02d5396f3d74af792 /clang/test/Profile/func-entry.c
parentc6021038f65a577ed255b624ada4c255726b8d0c (diff)
downloadbcm5719-llvm-eed30e5a81a5d40f3c1330a379b8fc8077315bd9.tar.gz
bcm5719-llvm-eed30e5a81a5d40f3c1330a379b8fc8077315bd9.zip
Remove setting of inlinehint and cold attributes based on profile data
NFC. These hints are only used for inlining and the inliner now uses the same criteria to identify hot and cold callees and set appropriate thresholds without relying on these hints. Hence this removed code is superfluous. Differential Revision: http://reviews.llvm.org/D15726 llvm-svn: 256793
Diffstat (limited to 'clang/test/Profile/func-entry.c')
-rw-r--r--clang/test/Profile/func-entry.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/Profile/func-entry.c b/clang/test/Profile/func-entry.c
index 32c20a2a458..1ecae601a4d 100644
--- a/clang/test/Profile/func-entry.c
+++ b/clang/test/Profile/func-entry.c
@@ -5,10 +5,10 @@
void foo(void);
-// CHECK: @foo() #0 !prof [[FOO:![0-9]+]]
+// CHECK: @foo() #{{[0-9]}} !prof [[FOO:![0-9]+]]
void foo() { return; }
-// CHECK: @main() #1 !prof [[MAIN:![0-9]+]]
+// CHECK: @main() #{{[0-9]}} !prof [[MAIN:![0-9]+]]
int main() {
int i;
for (i = 0; i < 10000; i++) foo();
OpenPOWER on IntegriCloud