diff options
| author | AngelicosPhosphoros <xuzin.timur@gmail.com> | 2021-04-10 18:48:10 +0300 |
|---|---|---|
| committer | AngelicosPhosphoros <xuzin.timur@gmail.com> | 2021-04-11 21:19:39 +0300 |
| commit | f8a12c6311429ea9734873dc70ab1e2349ba717e (patch) | |
| tree | b914c6a7c482a2e589ec393c0be6dda14b42e424 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | 18c524fbae3ab1bf6ed9196168d8c68fc6aec61a (diff) | |
| download | rust-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
