about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/llvm_util.rs
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2025-04-06 18:08:08 +0200
committerGitHub <noreply@github.com>2025-04-06 18:08:08 +0200
commit7bd89b90e8476dca18b74f98eb1383f70b2a4b0e (patch)
treef9bb8a35e3b84dcd9f36f1dd6db413aab510bfa1 /compiler/rustc_codegen_llvm/src/llvm_util.rs
parentf5c510260bef89f7799d0b8e1aa70d7d7925cd99 (diff)
parent9f2f1aa08354019113f39672228fc62583e6a1ed (diff)
downloadrust-7bd89b90e8476dca18b74f98eb1383f70b2a4b0e.tar.gz
rust-7bd89b90e8476dca18b74f98eb1383f70b2a4b0e.zip
Rollup merge of #138562 - kornelski:nth-panic, r=Noratrieb
Optimize slice {Chunks,Windows}::nth

I've noticed that the `nth` functions on slice iters had non-optimized-out bounds checks.

The new implementation even generates branchless code.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/llvm_util.rs')
0 files changed, 0 insertions, 0 deletions