about summary refs log tree commit diff
path: root/compiler/rustc_mir/src/transform/coverage/debug.rs
diff options
context:
space:
mode:
authorJonas Schievink <jonasschievink@gmail.com>2020-11-11 20:59:03 +0100
committerGitHub <noreply@github.com>2020-11-11 20:59:03 +0100
commit919177f7e42f7585bbc8353b942a0feb1b67705e (patch)
treeedf72a25387af0820651526be41e679a13fed9a3 /compiler/rustc_mir/src/transform/coverage/debug.rs
parent2e0a0b42adb53969752a1848630a0849e35c873c (diff)
parentc8943c62f7a139b466648249045d557259cf22fe (diff)
downloadrust-919177f7e42f7585bbc8353b942a0feb1b67705e.tar.gz
rust-919177f7e42f7585bbc8353b942a0feb1b67705e.zip
Rollup merge of #78873 - tmiasko:inline-opts, r=oli-obk
Add flags customizing behaviour of MIR inlining

* `-Zinline-mir-threshold` to change the default threshold.
* `-Zinline-mir-hint-threshold` to change the threshold used by
  functions with inline hint.

Having those as configurable flags makes it possible to experiment with with
different inlining thresholds and substantially increase test coverage of MIR
inlining when used with increased thresholds (for example, necessary to test
#78844).
Diffstat (limited to 'compiler/rustc_mir/src/transform/coverage/debug.rs')
0 files changed, 0 insertions, 0 deletions