diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2012-05-12 21:10:52 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2012-05-12 21:10:52 +0000 |
commit | ee409a916e9b97ed6bc2f48d8d6aac6b8b773d7b (patch) | |
tree | 12e368032b763331926a01290bffec6c87598e30 /lib/Driver/Tools.cpp | |
parent | 2283b4664b004aae034b08f305ad2bc1dff9868e (diff) |
Add support for __attribute__((hot)) and __attribute__((cold)).
Currently cold functions are marked with the "optsize" attribute in CodeGen
so they are always optimized for size. The hot attribute is just ignored,
LLVM doesn't have a way to express hotness at the moment.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@156723 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Driver/Tools.cpp')
0 files changed, 0 insertions, 0 deletions