The 8472
5f0a68eb22
regression test for https://github.com/rust-lang/rust/issues/117763
2025-09-21 19:54:43 +02:00
Josh Stone
580b4891aa
Update the minimum external LLVM to 20
2025-09-16 11:49:20 -07:00
Hans Wennborg
4ecca581fa
Adjust issue-118306.rs test after LLVM change
...
This updates tests/codegen-llvm/issues/issue-118306.rs to pass also
after https://github.com/llvm/llvm-project/pull/155415
2025-09-02 12:04:04 +02:00
Jacob Pratt
f0a414870a
Rollup merge of #145380 - okaneco:add-codegen-tests, r=Mark-Simulacrum
...
Add codegen-llvm regression tests
Most of these regressions deal with elimination of panics and bounds checks that were fixed upstream by LLVM.
closes https://github.com/rust-lang/rust/issues/141497
closes https://github.com/rust-lang/rust/issues/131162
closes https://github.com/rust-lang/rust/issues/129583
closes https://github.com/rust-lang/rust/issues/110971
closes https://github.com/rust-lang/rust/issues/91109
closes https://github.com/rust-lang/rust/issues/80075
closes https://github.com/rust-lang/rust/issues/74917
closes https://github.com/rust-lang/rust/issues/71997
closes https://github.com/rust-lang/rust/issues/71257
closes https://github.com/rust-lang/rust/issues/59352
2025-08-22 22:00:50 -04:00
Karl Meakin
377a0c88a9
Consolidate panicking functions in slice/index.rs
...
Consolidate all the panicking functions in `slice/index.rs` to use a single
`slice_index_fail` function, similar to how it is done in `str/traits.rs`.
2025-08-21 11:07:25 +01:00
okaneco
9e28de2720
Add codegen regression tests
...
Most of these regressions concern elimination of panics and bounds
checks that were fixed upstream by LLVM.
2025-08-20 22:29:45 -04:00
Stuart Cook
3a694c7595
Rollup merge of #145355 - clubby789:option-match-eq, r=nikic
...
Add codegen test for issue 122734
Closes rust-lang/rust#122734
2025-08-18 15:31:12 +10:00
Stuart Cook
0166de2f87
Rollup merge of #145120 - maurer:llvm-time, r=nikic
...
llvm: Accept new LLVM lifetime format
In llvm/llvm-project#150248 LLVM removed the size parameter from the lifetime format. Tolerate not having that size parameter.
2025-08-15 16:16:37 +10:00
Jamie Hill-Daniel
9b9206980e
Add test for issue 122734
2025-08-13 14:24:28 +00:00
Matthew Maurer
258915a555
llvm: Accept new LLVM lifetime format
...
LLVM removed the size parameter from the lifetime format.
Tolerate not having that size parameter.
2025-08-11 22:00:41 +00:00
okaneco
163594c8f8
Add regression test for saturating_sub bounds check issue
...
Add codegen test for issue where `valid_index.saturating_sub(X)` produced an
extra bounds check.
This was fixed by the LLVM upgrade.
2025-08-07 15:11:52 -04:00
Guillaume Gomez
a27f3e3fd1
Rename tests/codegen into tests/codegen-llvm
2025-07-22 14:28:48 +02:00