mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-25 00:24:26 +00:00
Let the -inline-threshold command line argument take precedence over the
threshold given to createFunctionInliningPass(). Both opt -O3 and clang would silently ignore the -inline-threshold option. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@118117 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -99,6 +99,8 @@ ModulePass *createGVExtractionPass(std::vector<GlobalValue*>& GVs, bool
|
||||
/// createFunctionInliningPass - Return a new pass object that uses a heuristic
|
||||
/// to inline direct function calls to small functions.
|
||||
///
|
||||
/// The -inline-threshold command line option takes precedence over the
|
||||
/// threshold given here.
|
||||
Pass *createFunctionInliningPass();
|
||||
Pass *createFunctionInliningPass(int Threshold);
|
||||
|
||||
|
Reference in New Issue
Block a user