about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/errors.rs
diff options
context:
space:
mode:
authorMikhail Zabaluev <mikhail.zabaluev@gmail.com>2024-03-22 16:50:48 +0200
committerMikhail Zabaluev <mikhail.zabaluev@gmail.com>2024-07-11 23:46:36 +0300
commitdf27dfa0eae8a14d69e5006334bb06d84ba050b7 (patch)
tree86017c219f5aaa7ae1a93e62b399e6f32a9f7f4d /compiler/rustc_codegen_llvm/src/errors.rs
parentbcf1f6db4594ae6132378b179a30cdb3599a863d (diff)
downloadrust-df27dfa0eae8a14d69e5006334bb06d84ba050b7.tar.gz
rust-df27dfa0eae8a14d69e5006334bb06d84ba050b7.zip
Optimize integer pow by removing exit branch
The branch at the end of the `pow` implementations is redundant
with multiplication code already present in the loop. By rotating
the exit check, this branch can be largely removed, improving code size
and instruction cache coherence.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions