Let the -inline-threshold command line argument take precedence over the
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Tue, 2 Nov 2010 23:40:26 +0000 (23:40 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Tue, 2 Nov 2010 23:40:26 +0000 (23:40 +0000)
commit930f5efac0f76aa9e3772d9a36757f18b3573112
treec161490f3fb62b4823d44bdc2369fbe12eee10a7
parentac793822cd27554c6409b5c380555f94be48b431
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
include/llvm/Transforms/IPO.h
lib/Transforms/IPO/Inliner.cpp