rust/tests/codegen-llvm/lib-optimizations
Stuart Cook ac729a4b18
Rollup merge of #149207 - EFanZh:add-ilog10-result-range-hints, r=Mark-Simulacrum
Add `ilog10` result range hints

This PR adds hints that the return value of `T::ilog10` will never exceed `T::MAX.ilog10()`.

This works because `ilog10` is a monotonically nondecreasing function, the maximum return value is reached at the max input value.
2025-12-08 11:46:23 +11:00
..
ilog10-range.rs Add ilog10 result range hints 2025-11-29 09:52:19 +08:00
iter-filter-count-assume.rs Assume the returned value in .filter(…).count() 2025-12-01 21:32:04 -08:00
iter-sum.rs Rename tests/codegen into tests/codegen-llvm 2025-07-22 14:28:48 +02:00
slice_fill.rs specialize slice::fill to use memset when possible 2025-10-08 20:14:24 +02:00
slice_rotate.rs Rename tests/codegen into tests/codegen-llvm 2025-07-22 14:28:48 +02:00