about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorAngelicosPhosphoros <xuzin.timur@gmail.com>2021-04-10 18:48:10 +0300
committerAngelicosPhosphoros <xuzin.timur@gmail.com>2021-04-11 21:19:39 +0300
commitf8a12c6311429ea9734873dc70ab1e2349ba717e (patch)
treeb914c6a7c482a2e589ec393c0be6dda14b42e424 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parent18c524fbae3ab1bf6ed9196168d8c68fc6aec61a (diff)
downloadrust-f8a12c6311429ea9734873dc70ab1e2349ba717e.tar.gz
rust-f8a12c6311429ea9734873dc70ab1e2349ba717e.zip
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
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions