Home

Inliner uses a smaller inline threshold for callees with cold attribute.

Press ? to show keyboard shortcuts.
Committed
mrenFeb 5 2014, 2:53 PM
Parents
rL200885: Fix layering StringRef copy using BumpPtrAllocator.
Branches
Unknown
Tags
Unknown
Subscribers
None
Projects
None
Description

Inliner uses a smaller inline threshold for callees with cold attribute.

Added command line option inlinecold-threshold to set threshold for inlining
functions with cold attribute. Listen to the cold attribute when it would
decrease the inline threshold.

rL200886

llvm/trunk/lib/Transforms/IPO/Inliner.cpp

Loading...

llvm/trunk/test/Transforms/Inline/inline-cold.ll

Loading...

Add Comment