]> granicus.if.org Git - clang/commit
Remove setting of inlinehint and cold attributes based on profile data
authorEaswaran Raman <eraman@google.com>
Mon, 4 Jan 2016 23:32:28 +0000 (23:32 +0000)
committerEaswaran Raman <eraman@google.com>
Mon, 4 Jan 2016 23:32:28 +0000 (23:32 +0000)
commit2edc5af5d22b08b138aecc949cc96f2ed6cadf1b
tree41c985543f3f629eb6f640e46bac35815cbdbdfd
parentc2ca783d8b070d01b8d30b6c1d447563a6412af5
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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@256793 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CodeGenPGO.cpp
test/Profile/c-attributes.c [deleted file]
test/Profile/func-entry.c