aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorTeresa Johnson <tejohnson@google.com>2020-02-04 10:37:53 -0800
committerTeresa Johnson <tejohnson@google.com>2020-02-04 12:06:20 -0800
commit7f37a8026f6cfe51479309733be642102428fee4 (patch)
treebba16c88a756a3914ac35dcdc77b8b56186476b8 /clang/lib/Frontend/CompilerInvocation.cpp
parent5d2749938c4ec0b44fe3d63e355e3f31d8b4078f (diff)
downloadllvm-7f37a8026f6cfe51479309733be642102428fee4.zip
llvm-7f37a8026f6cfe51479309733be642102428fee4.tar.gz
llvm-7f37a8026f6cfe51479309733be642102428fee4.tar.bz2
[InlineCost] Add flag to allow changing the default inline cost
Summary: It can be useful to tune the default inline threshold without overriding other inlining thresholds (e.g. in code compiled for size). The existing `-inline-threshold` flag overrides other thresholds, so it is insufficient in codebases where there is a mix of code compiled for size and speed. Patch by Michael Holman <michael.holman@microsoft.com> Reviewers: eraman, tejohnson Reviewed By: tejohnson Subscribers: tejohnson, mtrofin, davidxl, hiraditya, haicheng, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D73217
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions