diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2010-02-06 01:16:28 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2010-02-06 01:16:28 +0000 |
commit | 74bb06c0f02e650ea9ec73729f41a620fc55a8ee (patch) | |
tree | afca8ce6c36562b58ca308a8e9ac59667e982e9e /llvm/utils/vim | |
parent | a10e65c852e1a4e27d57960276c6b0ef691fda71 (diff) | |
download | bcm5719-llvm-74bb06c0f02e650ea9ec73729f41a620fc55a8ee.tar.gz bcm5719-llvm-74bb06c0f02e650ea9ec73729f41a620fc55a8ee.zip |
Reintroduce the InlineHint function attribute.
This time it's for real! I am going to hook this up in the frontends as well.
The inliner has some experimental heuristics for dealing with the inline hint.
When given a -respect-inlinehint option, functions marked with the inline
keyword are given a threshold just above the default for -O3.
We need some experiments to determine if that is the right thing to do.
llvm-svn: 95466
Diffstat (limited to 'llvm/utils/vim')
-rw-r--r-- | llvm/utils/vim/llvm.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/utils/vim/llvm.vim b/llvm/utils/vim/llvm.vim index 48a4c68aefa..6e4a207b68e 100644 --- a/llvm/utils/vim/llvm.vim +++ b/llvm/utils/vim/llvm.vim @@ -51,7 +51,7 @@ syn keyword llvmKeyword volatile fastcc coldcc cc ccc syn keyword llvmKeyword x86_stdcallcc x86_fastcallcc syn keyword llvmKeyword signext zeroext inreg sret nounwind noreturn syn keyword llvmKeyword nocapture byval nest readnone readonly noalias -syn keyword llvmKeyword noinline alwaysinline optsize ssp sspreq +syn keyword llvmKeyword inlinehint noinline alwaysinline optsize ssp sspreq syn keyword llvmKeyword noredzone noimplicitfloat naked syn keyword llvmKeyword module asm align tail to syn keyword llvmKeyword addrspace section alias sideeffect c gc |