about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2021-04-17 23:31:10 +0000
committerbors <bors@rust-lang.org>2021-04-17 23:31:10 +0000
commit83ca4b7e600241850e61be48dee859f1604de50d (patch)
tree40b276a27dc6e72a8cbb119994b5e496cc5c4d9e /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parent392ba2ba1a7d6c542d2459fb8133bebf62a4a423 (diff)
parentf8a12c6311429ea9734873dc70ab1e2349ba717e (diff)
downloadrust-83ca4b7e600241850e61be48dee859f1604de50d.tar.gz
rust-83ca4b7e600241850e61be48dee859f1604de50d.zip
Auto merge of #84061 - AngelicosPhosphoros:issue-75598-add-inline-always-arithmetic, r=nagisa
Add some #[inline(always)] to arithmetic methods of integers

I tried to add it only to methods which return results of intrinsics and don't have any branching.
Branching could made performance of debug builds (`-Copt-level=0`) worse.
Main goal of changes is allowing wider optimizations in `-Copt-level=1`.

Closes: https://github.com/rust-lang/rust/issues/75598

r? `@nagisa`
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions