diff options
author | Teresa Johnson <tejohnson@google.com> | 2020-02-04 10:37:53 -0800 |
---|---|---|
committer | Teresa Johnson <tejohnson@google.com> | 2020-02-04 12:06:20 -0800 |
commit | 7f37a8026f6cfe51479309733be642102428fee4 (patch) | |
tree | bba16c88a756a3914ac35dcdc77b8b56186476b8 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 5d2749938c4ec0b44fe3d63e355e3f31d8b4078f (diff) | |
download | llvm-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