Rename tests/codegen into tests/codegen-llvm

This commit is contained in:
Guillaume Gomez
2025-07-21 14:34:12 +02:00
parent ed93c1783b
commit a27f3e3fd1
676 changed files with 41 additions and 36 deletions

View File

@@ -192,7 +192,7 @@ impl<T, A: Allocator> Drop for Drain<'_, T, A> {
// this branch is never taken.
// We use `#[cold]` instead of `#[inline(never)]`, because inlining this
// function into the general case (`.drain(n..m)`) is fine.
// See `tests/codegen/vecdeque-drain.rs` for a test.
// See `tests/codegen-llvm/vecdeque-drain.rs` for a test.
#[cold]
fn join_head_and_tail_wrapping<T, A: Allocator>(
source_deque: &mut VecDeque<T, A>,

View File

@@ -761,7 +761,7 @@ impl<A: Allocator> RawVecInner<A> {
}
// not marked inline(never) since we want optimizers to be able to observe the specifics of this
// function, see tests/codegen/vec-reserve-extend.rs.
// function, see tests/codegen-llvm/vec-reserve-extend.rs.
#[cold]
fn finish_grow<A>(
new_layout: Layout,