d27e5cbff3c98fa3f623c75dce7165176c1f98a5 |
|
24-May-2013 |
Diego Novillo <dnovillo@google.com> |
[PATCH] Generate cold attribute for functions marked __atribute__((cold)) This removes a FIXME in CodeGenModule::SetLLVMFunctionAttributesForDefinition. When a function is declared cold we can now generate the IR attribute in addition to marking the function to be optimized for size. I tried adding a separate CHECK in the existing test, but it was failing. I suppose CHECK matches one line exactly once? This would be a problem if the attributes are listed in a different order, though they seem to be sorted. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@182666 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/attr-coldhot.c
|
3bba3efba0e57071d60b355ed62639f93e37711c |
|
20-Feb-2013 |
Bill Wendling <isanbard@gmail.com> |
Attempt to clean up tests for non-X86 platforms. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@175652 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/attr-coldhot.c
|
f7a9da053f5bd6c18450c1796d953b42c3b7ad3a |
|
20-Feb-2013 |
Bill Wendling <isanbard@gmail.com> |
Modify the tests to use attribute group references instead of listing the function attributes. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@175606 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/attr-coldhot.c
|
ee409a916e9b97ed6bc2f48d8d6aac6b8b773d7b |
|
12-May-2012 |
Benjamin Kramer <benny.kra@googlemail.com> |
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
/external/clang/test/CodeGen/attr-coldhot.c
|