commit | ee409a916e9b97ed6bc2f48d8d6aac6b8b773d7b | [log] [tgz] |
---|---|---|
author | Benjamin Kramer <benny.kra@googlemail.com> | Sat May 12 21:10:52 2012 +0000 |
committer | Benjamin Kramer <benny.kra@googlemail.com> | Sat May 12 21:10:52 2012 +0000 |
tree | 12e368032b763331926a01290bffec6c87598e30 | |
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