about summary refs log tree commit diff
path: root/tests/codegen/issues/issue-101082.rs
AgeCommit message (Collapse)AuthorLines
2024-10-11Avoid superfluous UB checks in `IndexRange`Josh Stone-0/+5
`IndexRange::len` is justified as an overall invariant, and `take_prefix` and `take_suffix` are justified by local branch conditions. A few more UB-checked calls remain in cases that are only supported locally by `debug_assert!`, which won't do anything in distributed builds, so those UB checks may still be useful. We generally expect core's `#![rustc_preserve_ub_checks]` to optimize away in user's release builds, but the mere presence of that extra code can sometimes inhibit optimization, as seen in #131563.
2024-02-23Ignore less tests in debug buildsBen Kimock-1/+0
2024-02-22[AUTO_GENERATED] Migrate compiletest to use `ui_test`-style `//@` directives许杰友 Jieyou Xu (Joe)-2/+2
2023-11-21Update the minimum external LLVM to 16.Dario Nieuwenhuis-1/+0
2023-04-11Make test compatible with 32-bitNikita Popov-1/+1
2023-04-11Add ignore-debug to two testsNikita Popov-0/+1
These don't optimize with debug assertions. For one of them, this is due to the new alignment checks, for the other I'm not sure what specifically blocks it.
2023-04-03Add codegen tests for issues fixed by LLVM 16Nikita Popov-0/+16
Fixes #75978. Fixes #99960. Fixes #101048. Fixes #101082. Fixes #101814. Fixes #103132. Fixes #103327.