summaryrefslogtreecommitdiffstats
path: root/clang/test/Sema/attr-coldhot.c
Commit message (Collapse)AuthorAgeFilesLines
* Add support for __attribute__((hot)) and __attribute__((cold)).Benjamin Kramer2012-05-121-0/+10
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. llvm-svn: 156723
OpenPOWER on IntegriCloud