about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
diff options
context:
space:
mode:
authorYuki Okushi <huyuumi.dev@gmail.com>2021-03-02 21:23:14 +0900
committerGitHub <noreply@github.com>2021-03-02 21:23:14 +0900
commitae5e024194a99bf265c874d64999e6beae916cde (patch)
treeb89ae2d6ce5019e09da56b5bb6fe44d468ce0f96 /compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
parenta9339ed531d888fbc9d68d117cf7fc905926649e (diff)
parent500aeccc5b3135cc5a400faa3b739abaed87d722 (diff)
downloadrust-ae5e024194a99bf265c874d64999e6beae916cde.tar.gz
rust-ae5e024194a99bf265c874d64999e6beae916cde.zip
Rollup merge of #82376 - tmiasko:inline-options, r=oli-obk
Add option to enable MIR inlining independently of mir-opt-level

Add `-Zinline-mir` option that enables MIR inlining independently of the
current MIR opt level. The primary use-case is enabling MIR inlining on the
default MIR opt level.

Turn inlining thresholds into optional values to make it possible to configure
different defaults depending on the current mir-opt-level (although thresholds
are yet to be used in such a manner).
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions