From ed93c1783b404d728d4809973a0550eb33cd293f Mon Sep 17 00:00:00 2001 From: Guillaume Gomez Date: Mon, 21 Jul 2025 14:22:51 +0200 Subject: [PATCH 1/3] Rename `tests/assembly` into `tests/assembly-llvm` --- compiler/rustc_codegen_gcc/build_system/src/test.rs | 2 +- src/bootstrap/src/core/build_steps/test.rs | 7 ++++++- src/bootstrap/src/core/builder/mod.rs | 4 ++-- src/ci/docker/host-x86_64/test-various/Dockerfile | 4 ++-- src/doc/rustc-dev-guide/src/asm.md | 4 ++-- src/doc/rustc-dev-guide/src/tests/compiletest.md | 4 ++-- src/tools/opt-dist/src/tests.rs | 2 +- src/tools/tidy/src/target_policy.rs | 6 +++--- tests/{assembly => assembly-llvm}/aarch64-pointer-auth.rs | 0 tests/{assembly => assembly-llvm}/aarch64-xray.rs | 0 tests/{assembly => assembly-llvm}/align_offset.rs | 0 tests/{assembly => assembly-llvm}/asm/aarch64-el2vmsa.rs | 0 tests/{assembly => assembly-llvm}/asm/aarch64-modifiers.rs | 0 .../asm/aarch64-outline-atomics.rs | 0 tests/{assembly => assembly-llvm}/asm/aarch64-types.rs | 0 tests/{assembly => assembly-llvm}/asm/arm-modifiers.rs | 0 tests/{assembly => assembly-llvm}/asm/arm-types.rs | 0 tests/{assembly => assembly-llvm}/asm/avr-modifiers.rs | 0 tests/{assembly => assembly-llvm}/asm/avr-types.rs | 0 tests/{assembly => assembly-llvm}/asm/bpf-types.rs | 0 tests/{assembly => assembly-llvm}/asm/comments.rs | 0 tests/{assembly => assembly-llvm}/asm/global_asm.rs | 0 tests/{assembly => assembly-llvm}/asm/hexagon-types.rs | 0 tests/{assembly => assembly-llvm}/asm/inline-asm-avx.rs | 0 tests/{assembly => assembly-llvm}/asm/loongarch-type.rs | 0 tests/{assembly => assembly-llvm}/asm/m68k-types.rs | 0 tests/{assembly => assembly-llvm}/asm/mips-types.rs | 0 tests/{assembly => assembly-llvm}/asm/msp430-types.rs | 0 tests/{assembly => assembly-llvm}/asm/nvptx-types.rs | 0 tests/{assembly => assembly-llvm}/asm/powerpc-types.rs | 0 tests/{assembly => assembly-llvm}/asm/riscv-types.rs | 0 tests/{assembly => assembly-llvm}/asm/s390x-types.rs | 0 tests/{assembly => assembly-llvm}/asm/sparc-types.rs | 0 tests/{assembly => assembly-llvm}/asm/wasm-types.rs | 0 tests/{assembly => assembly-llvm}/asm/x86-modifiers.rs | 0 tests/{assembly => assembly-llvm}/asm/x86-types.rs | 0 .../auxiliary/breakpoint-panic-handler.rs | 0 .../auxiliary/dwarf-mixed-versions-lto-aux.rs | 0 .../auxiliary/non-inline-dependency.rs | 0 tests/{assembly => assembly-llvm}/breakpoint.rs | 0 .../closure-inherit-target-feature.rs | 0 tests/{assembly => assembly-llvm}/cmse.rs | 0 .../compiletest-self-test/use-minicore-no-run.rs | 0 tests/{assembly => assembly-llvm}/cstring-merging.rs | 0 .../dwarf-mixed-versions-lto.rs | 0 tests/{assembly => assembly-llvm}/dwarf4.rs | 0 tests/{assembly => assembly-llvm}/dwarf5.rs | 0 tests/{assembly => assembly-llvm}/emit-intel-att-syntax.rs | 0 tests/{assembly => assembly-llvm}/is_aligned.rs | 0 .../issue-83585-small-pod-struct-equality.rs | 0 .../libs/issue-115339-zip-arrays.rs | 0 .../libs/issue-140207-slice-min-simd.rs | 0 tests/{assembly => assembly-llvm}/manual-eq-efficient.rs | 0 .../naked-functions/aarch64-naked-fn-no-bti-prolog.rs | 0 tests/{assembly => assembly-llvm}/naked-functions/aix.rs | 0 .../{assembly => assembly-llvm}/naked-functions/wasm32.rs | 0 .../naked-functions/x86_64-naked-fn-no-cet-prolog.rs | 0 tests/{assembly => assembly-llvm}/niche-prefer-zero.rs | 0 tests/{assembly => assembly-llvm}/nvptx-arch-default.rs | 0 tests/{assembly => assembly-llvm}/nvptx-arch-emit-asm.rs | 0 tests/{assembly => assembly-llvm}/nvptx-arch-link-arg.rs | 0 tests/{assembly => assembly-llvm}/nvptx-arch-target-cpu.rs | 0 tests/{assembly => assembly-llvm}/nvptx-atomics.rs | 0 tests/{assembly => assembly-llvm}/nvptx-c-abi-arg-v7.rs | 0 tests/{assembly => assembly-llvm}/nvptx-c-abi-ret-v7.rs | 0 tests/{assembly => assembly-llvm}/nvptx-internalizing.rs | 0 .../nvptx-kernel-abi/nvptx-kernel-args-abi-v7.rs | 0 tests/{assembly => assembly-llvm}/nvptx-linking-binary.rs | 0 tests/{assembly => assembly-llvm}/nvptx-linking-cdylib.rs | 0 tests/{assembly => assembly-llvm}/nvptx-safe-naming.rs | 0 .../panic-no-unwind-no-uwtable.rs | 0 .../{assembly => assembly-llvm}/panic-unwind-no-uwtable.rs | 0 tests/{assembly => assembly-llvm}/pic-relocation-model.rs | 0 tests/{assembly => assembly-llvm}/pie-relocation-model.rs | 0 tests/{assembly => assembly-llvm}/powerpc64-struct-abi.rs | 0 .../{assembly => assembly-llvm}/riscv-float-struct-abi.rs | 0 .../riscv-soft-abi-with-float-features.rs | 0 tests/{assembly => assembly-llvm}/rust-abi-arg-attr.rs | 0 .../{assembly => assembly-llvm}/s390x-backchain-toggle.rs | 0 tests/{assembly => assembly-llvm}/s390x-vector-abi.rs | 0 .../sanitizer/kcfi/emit-arity-indicator.rs | 0 tests/{assembly => assembly-llvm}/simd-bitmask.rs | 0 tests/{assembly => assembly-llvm}/simd-intrinsic-gather.rs | 0 .../simd-intrinsic-mask-load.rs | 0 .../simd-intrinsic-mask-reduce.rs | 0 .../simd-intrinsic-mask-store.rs | 0 .../{assembly => assembly-llvm}/simd-intrinsic-scatter.rs | 0 tests/{assembly => assembly-llvm}/simd-intrinsic-select.rs | 0 .../simd/reduce-fadd-unordered.rs | 0 tests/{assembly => assembly-llvm}/slice-is_ascii.rs | 0 tests/{assembly => assembly-llvm}/small_data_threshold.rs | 0 tests/{assembly => assembly-llvm}/sparc-struct-abi.rs | 0 tests/{assembly => assembly-llvm}/stack-probes.rs | 0 .../stack-protector-heuristics-effect-windows-32bit.rs | 0 .../stack-protector-heuristics-effect-windows-64bit.rs | 0 .../stack-protector/stack-protector-heuristics-effect.rs | 0 .../stack-protector/stack-protector-target-support.rs | 0 .../{assembly => assembly-llvm}/static-relocation-model.rs | 0 tests/{assembly => assembly-llvm}/strict_provenance.rs | 0 .../{assembly => assembly-llvm}/target-feature-multiple.rs | 0 .../{assembly => assembly-llvm}/targets/targets-amdgpu.rs | 0 tests/{assembly => assembly-llvm}/targets/targets-elf.rs | 0 tests/{assembly => assembly-llvm}/targets/targets-macho.rs | 0 tests/{assembly => assembly-llvm}/targets/targets-nvptx.rs | 0 tests/{assembly => assembly-llvm}/targets/targets-pe.rs | 0 tests/{assembly => assembly-llvm}/wasm_exceptions.rs | 0 tests/{assembly => assembly-llvm}/x86-return-float.rs | 0 .../x86_64-array-pair-load-store-merge.rs | 0 tests/{assembly => assembly-llvm}/x86_64-bigint-helpers.rs | 0 tests/{assembly => assembly-llvm}/x86_64-cmp.rs | 0 .../x86_64-floating-point-clamp.rs | 0 .../x86_64-fortanix-unknown-sgx-lvi-generic-load.rs | 0 .../x86_64-fortanix-unknown-sgx-lvi-generic-ret.rs | 0 .../x86_64-fortanix-unknown-sgx-lvi-inline-assembly.rs | 0 .../{assembly => assembly-llvm}/x86_64-function-return.rs | 0 tests/{assembly => assembly-llvm}/x86_64-no-jump-tables.rs | 0 tests/{assembly => assembly-llvm}/x86_64-sse_crc.rs | 0 tests/{assembly => assembly-llvm}/x86_64-typed-swap.rs | 0 .../x86_64-windows-float-abi.rs | 0 .../{assembly => assembly-llvm}/x86_64-windows-i128-abi.rs | 0 tests/{assembly => assembly-llvm}/x86_64-xray.rs | 0 tests/codegen/target-feature-overrides.rs | 2 +- tests/run-make/avr-rjmp-offset/rmake.rs | 2 +- triagebot.toml | 2 +- 124 files changed, 22 insertions(+), 17 deletions(-) rename tests/{assembly => assembly-llvm}/aarch64-pointer-auth.rs (100%) rename tests/{assembly => assembly-llvm}/aarch64-xray.rs (100%) rename tests/{assembly => assembly-llvm}/align_offset.rs (100%) rename tests/{assembly => assembly-llvm}/asm/aarch64-el2vmsa.rs (100%) rename tests/{assembly => assembly-llvm}/asm/aarch64-modifiers.rs (100%) rename tests/{assembly => assembly-llvm}/asm/aarch64-outline-atomics.rs (100%) rename tests/{assembly => assembly-llvm}/asm/aarch64-types.rs (100%) rename tests/{assembly => assembly-llvm}/asm/arm-modifiers.rs (100%) rename tests/{assembly => assembly-llvm}/asm/arm-types.rs (100%) rename tests/{assembly => assembly-llvm}/asm/avr-modifiers.rs (100%) rename tests/{assembly => assembly-llvm}/asm/avr-types.rs (100%) rename tests/{assembly => assembly-llvm}/asm/bpf-types.rs (100%) rename tests/{assembly => assembly-llvm}/asm/comments.rs (100%) rename tests/{assembly => assembly-llvm}/asm/global_asm.rs (100%) rename tests/{assembly => assembly-llvm}/asm/hexagon-types.rs (100%) rename tests/{assembly => assembly-llvm}/asm/inline-asm-avx.rs (100%) rename tests/{assembly => assembly-llvm}/asm/loongarch-type.rs (100%) rename tests/{assembly => assembly-llvm}/asm/m68k-types.rs (100%) rename tests/{assembly => assembly-llvm}/asm/mips-types.rs (100%) rename tests/{assembly => assembly-llvm}/asm/msp430-types.rs (100%) rename tests/{assembly => assembly-llvm}/asm/nvptx-types.rs (100%) rename tests/{assembly => assembly-llvm}/asm/powerpc-types.rs (100%) rename tests/{assembly => assembly-llvm}/asm/riscv-types.rs (100%) rename tests/{assembly => assembly-llvm}/asm/s390x-types.rs (100%) rename tests/{assembly => assembly-llvm}/asm/sparc-types.rs (100%) rename tests/{assembly => assembly-llvm}/asm/wasm-types.rs (100%) rename tests/{assembly => assembly-llvm}/asm/x86-modifiers.rs (100%) rename tests/{assembly => assembly-llvm}/asm/x86-types.rs (100%) rename tests/{assembly => assembly-llvm}/auxiliary/breakpoint-panic-handler.rs (100%) rename tests/{assembly => assembly-llvm}/auxiliary/dwarf-mixed-versions-lto-aux.rs (100%) rename tests/{assembly => assembly-llvm}/auxiliary/non-inline-dependency.rs (100%) rename tests/{assembly => assembly-llvm}/breakpoint.rs (100%) rename tests/{assembly => assembly-llvm}/closure-inherit-target-feature.rs (100%) rename tests/{assembly => assembly-llvm}/cmse.rs (100%) rename tests/{assembly => assembly-llvm}/compiletest-self-test/use-minicore-no-run.rs (100%) rename tests/{assembly => assembly-llvm}/cstring-merging.rs (100%) rename tests/{assembly => assembly-llvm}/dwarf-mixed-versions-lto.rs (100%) rename tests/{assembly => assembly-llvm}/dwarf4.rs (100%) rename tests/{assembly => assembly-llvm}/dwarf5.rs (100%) rename tests/{assembly => assembly-llvm}/emit-intel-att-syntax.rs (100%) rename tests/{assembly => assembly-llvm}/is_aligned.rs (100%) rename tests/{assembly => assembly-llvm}/issue-83585-small-pod-struct-equality.rs (100%) rename tests/{assembly => assembly-llvm}/libs/issue-115339-zip-arrays.rs (100%) rename tests/{assembly => assembly-llvm}/libs/issue-140207-slice-min-simd.rs (100%) rename tests/{assembly => assembly-llvm}/manual-eq-efficient.rs (100%) rename tests/{assembly => assembly-llvm}/naked-functions/aarch64-naked-fn-no-bti-prolog.rs (100%) rename tests/{assembly => assembly-llvm}/naked-functions/aix.rs (100%) rename tests/{assembly => assembly-llvm}/naked-functions/wasm32.rs (100%) rename tests/{assembly => assembly-llvm}/naked-functions/x86_64-naked-fn-no-cet-prolog.rs (100%) rename tests/{assembly => assembly-llvm}/niche-prefer-zero.rs (100%) rename tests/{assembly => assembly-llvm}/nvptx-arch-default.rs (100%) rename tests/{assembly => assembly-llvm}/nvptx-arch-emit-asm.rs (100%) rename tests/{assembly => assembly-llvm}/nvptx-arch-link-arg.rs (100%) rename tests/{assembly => assembly-llvm}/nvptx-arch-target-cpu.rs (100%) rename tests/{assembly => assembly-llvm}/nvptx-atomics.rs (100%) rename tests/{assembly => assembly-llvm}/nvptx-c-abi-arg-v7.rs (100%) rename tests/{assembly => assembly-llvm}/nvptx-c-abi-ret-v7.rs (100%) rename tests/{assembly => assembly-llvm}/nvptx-internalizing.rs (100%) rename tests/{assembly => assembly-llvm}/nvptx-kernel-abi/nvptx-kernel-args-abi-v7.rs (100%) rename tests/{assembly => assembly-llvm}/nvptx-linking-binary.rs (100%) rename tests/{assembly => assembly-llvm}/nvptx-linking-cdylib.rs (100%) rename tests/{assembly => assembly-llvm}/nvptx-safe-naming.rs (100%) rename tests/{assembly => assembly-llvm}/panic-no-unwind-no-uwtable.rs (100%) rename tests/{assembly => assembly-llvm}/panic-unwind-no-uwtable.rs (100%) rename tests/{assembly => assembly-llvm}/pic-relocation-model.rs (100%) rename tests/{assembly => assembly-llvm}/pie-relocation-model.rs (100%) rename tests/{assembly => assembly-llvm}/powerpc64-struct-abi.rs (100%) rename tests/{assembly => assembly-llvm}/riscv-float-struct-abi.rs (100%) rename tests/{assembly => assembly-llvm}/riscv-soft-abi-with-float-features.rs (100%) rename tests/{assembly => assembly-llvm}/rust-abi-arg-attr.rs (100%) rename tests/{assembly => assembly-llvm}/s390x-backchain-toggle.rs (100%) rename tests/{assembly => assembly-llvm}/s390x-vector-abi.rs (100%) rename tests/{assembly => assembly-llvm}/sanitizer/kcfi/emit-arity-indicator.rs (100%) rename tests/{assembly => assembly-llvm}/simd-bitmask.rs (100%) rename tests/{assembly => assembly-llvm}/simd-intrinsic-gather.rs (100%) rename tests/{assembly => assembly-llvm}/simd-intrinsic-mask-load.rs (100%) rename tests/{assembly => assembly-llvm}/simd-intrinsic-mask-reduce.rs (100%) rename tests/{assembly => assembly-llvm}/simd-intrinsic-mask-store.rs (100%) rename tests/{assembly => assembly-llvm}/simd-intrinsic-scatter.rs (100%) rename tests/{assembly => assembly-llvm}/simd-intrinsic-select.rs (100%) rename tests/{assembly => assembly-llvm}/simd/reduce-fadd-unordered.rs (100%) rename tests/{assembly => assembly-llvm}/slice-is_ascii.rs (100%) rename tests/{assembly => assembly-llvm}/small_data_threshold.rs (100%) rename tests/{assembly => assembly-llvm}/sparc-struct-abi.rs (100%) rename tests/{assembly => assembly-llvm}/stack-probes.rs (100%) rename tests/{assembly => assembly-llvm}/stack-protector/stack-protector-heuristics-effect-windows-32bit.rs (100%) rename tests/{assembly => assembly-llvm}/stack-protector/stack-protector-heuristics-effect-windows-64bit.rs (100%) rename tests/{assembly => assembly-llvm}/stack-protector/stack-protector-heuristics-effect.rs (100%) rename tests/{assembly => assembly-llvm}/stack-protector/stack-protector-target-support.rs (100%) rename tests/{assembly => assembly-llvm}/static-relocation-model.rs (100%) rename tests/{assembly => assembly-llvm}/strict_provenance.rs (100%) rename tests/{assembly => assembly-llvm}/target-feature-multiple.rs (100%) rename tests/{assembly => assembly-llvm}/targets/targets-amdgpu.rs (100%) rename tests/{assembly => assembly-llvm}/targets/targets-elf.rs (100%) rename tests/{assembly => assembly-llvm}/targets/targets-macho.rs (100%) rename tests/{assembly => assembly-llvm}/targets/targets-nvptx.rs (100%) rename tests/{assembly => assembly-llvm}/targets/targets-pe.rs (100%) rename tests/{assembly => assembly-llvm}/wasm_exceptions.rs (100%) rename tests/{assembly => assembly-llvm}/x86-return-float.rs (100%) rename tests/{assembly => assembly-llvm}/x86_64-array-pair-load-store-merge.rs (100%) rename tests/{assembly => assembly-llvm}/x86_64-bigint-helpers.rs (100%) rename tests/{assembly => assembly-llvm}/x86_64-cmp.rs (100%) rename tests/{assembly => assembly-llvm}/x86_64-floating-point-clamp.rs (100%) rename tests/{assembly => assembly-llvm}/x86_64-fortanix-unknown-sgx-lvi-generic-load.rs (100%) rename tests/{assembly => assembly-llvm}/x86_64-fortanix-unknown-sgx-lvi-generic-ret.rs (100%) rename tests/{assembly => assembly-llvm}/x86_64-fortanix-unknown-sgx-lvi-inline-assembly.rs (100%) rename tests/{assembly => assembly-llvm}/x86_64-function-return.rs (100%) rename tests/{assembly => assembly-llvm}/x86_64-no-jump-tables.rs (100%) rename tests/{assembly => assembly-llvm}/x86_64-sse_crc.rs (100%) rename tests/{assembly => assembly-llvm}/x86_64-typed-swap.rs (100%) rename tests/{assembly => assembly-llvm}/x86_64-windows-float-abi.rs (100%) rename tests/{assembly => assembly-llvm}/x86_64-windows-i128-abi.rs (100%) rename tests/{assembly => assembly-llvm}/x86_64-xray.rs (100%) diff --git a/compiler/rustc_codegen_gcc/build_system/src/test.rs b/compiler/rustc_codegen_gcc/build_system/src/test.rs index cbb0f94938383..bc0fdd40b6e85 100644 --- a/compiler/rustc_codegen_gcc/build_system/src/test.rs +++ b/compiler/rustc_codegen_gcc/build_system/src/test.rs @@ -588,7 +588,7 @@ fn asm_tests(env: &Env, args: &TestArg) -> Result<(), String> { &"always", &"--stage", &"0", - &"tests/assembly/asm", + &"tests/assembly-llvm/asm", &"--compiletest-rustc-args", &rustc_args, ], diff --git a/src/bootstrap/src/core/build_steps/test.rs b/src/bootstrap/src/core/build_steps/test.rs index 8344b0e03b487..99c9e8ae92ebf 100644 --- a/src/bootstrap/src/core/build_steps/test.rs +++ b/src/bootstrap/src/core/build_steps/test.rs @@ -1407,7 +1407,12 @@ test!(Pretty { test!(RunMake { path: "tests/run-make", mode: "run-make", suite: "run-make", default: true }); -test!(Assembly { path: "tests/assembly", mode: "assembly", suite: "assembly", default: true }); +test!(AssemblyLlvm { + path: "tests/assembly-llvm", + mode: "assembly", + suite: "assembly-llvm", + default: true +}); /// Runs the coverage test suite at `tests/coverage` in some or all of the /// coverage test modes. diff --git a/src/bootstrap/src/core/builder/mod.rs b/src/bootstrap/src/core/builder/mod.rs index d73e2bce25baa..925e47a416445 100644 --- a/src/bootstrap/src/core/builder/mod.rs +++ b/src/bootstrap/src/core/builder/mod.rs @@ -411,7 +411,7 @@ const PATH_REMAP: &[(&str, &[&str])] = &[ "tests", &[ // tidy-alphabetical-start - "tests/assembly", + "tests/assembly-llvm", "tests/codegen", "tests/codegen-units", "tests/coverage", @@ -1051,7 +1051,7 @@ impl<'a> Builder<'a> { test::MirOpt, test::Codegen, test::CodegenUnits, - test::Assembly, + test::AssemblyLlvm, test::Incremental, test::Debuginfo, test::UiFullDeps, diff --git a/src/ci/docker/host-x86_64/test-various/Dockerfile b/src/ci/docker/host-x86_64/test-various/Dockerfile index 8d2e45ae497ef..54ca7131608e4 100644 --- a/src/ci/docker/host-x86_64/test-various/Dockerfile +++ b/src/ci/docker/host-x86_64/test-various/Dockerfile @@ -66,13 +66,13 @@ ENV WASM_SCRIPT python3 /checkout/x.py --stage 2 test --host='' --target $WASM_T tests/mir-opt \ tests/codegen-units \ tests/codegen \ - tests/assembly \ + tests/assembly-llvm \ library/core ENV NVPTX_TARGETS=nvptx64-nvidia-cuda ENV NVPTX_SCRIPT python3 /checkout/x.py --stage 2 test --host='' --target $NVPTX_TARGETS \ tests/run-make \ - tests/assembly + tests/assembly-llvm ENV MUSL_TARGETS=x86_64-unknown-linux-musl \ CC_x86_64_unknown_linux_musl=x86_64-linux-musl-gcc \ diff --git a/src/doc/rustc-dev-guide/src/asm.md b/src/doc/rustc-dev-guide/src/asm.md index eec9d448b0c94..3d93d5a4c57e8 100644 --- a/src/doc/rustc-dev-guide/src/asm.md +++ b/src/doc/rustc-dev-guide/src/asm.md @@ -155,9 +155,9 @@ can't know ahead of time whether a function will require a frame/base pointer. Various tests for inline assembly are available: -- `tests/assembly/asm` +- `tests/assembly-llvm/asm` - `tests/ui/asm` - `tests/codegen/asm-*` Every architecture supported by inline assembly must have exhaustive tests in -`tests/assembly/asm` which test all combinations of register classes and types. +`tests/assembly-llvm/asm` which test all combinations of register classes and types. diff --git a/src/doc/rustc-dev-guide/src/tests/compiletest.md b/src/doc/rustc-dev-guide/src/tests/compiletest.md index aa99347b2bba6..6a60e7118d382 100644 --- a/src/doc/rustc-dev-guide/src/tests/compiletest.md +++ b/src/doc/rustc-dev-guide/src/tests/compiletest.md @@ -307,7 +307,7 @@ If you need to work with `#![no_std]` cross-compiling tests, consult the ### Assembly tests -The tests in [`tests/assembly`] test LLVM assembly output. They compile the test +The tests in [`tests/assembly-llvm`] test LLVM assembly output. They compile the test with the `--emit=asm` flag to emit a `.s` file with the assembly output. They then run the LLVM [FileCheck] tool. @@ -324,7 +324,7 @@ See also the [codegen tests](#codegen-tests) for a similar set of tests. If you need to work with `#![no_std]` cross-compiling tests, consult the [`minicore` test auxiliary](./minicore.md) chapter. -[`tests/assembly`]: https://github.com/rust-lang/rust/tree/master/tests/assembly +[`tests/assembly-llvm`]: https://github.com/rust-lang/rust/tree/master/tests/assembly-llvm ### Codegen-units tests diff --git a/src/tools/opt-dist/src/tests.rs b/src/tools/opt-dist/src/tests.rs index c3c45d262dde1..a70c257e52bff 100644 --- a/src/tools/opt-dist/src/tests.rs +++ b/src/tools/opt-dist/src/tests.rs @@ -100,7 +100,7 @@ llvm-config = "{llvm_config}" env.host_tuple(), "--stage", "0", - "tests/assembly", + "tests/assembly-llvm", "tests/codegen", "tests/codegen-units", "tests/incremental", diff --git a/src/tools/tidy/src/target_policy.rs b/src/tools/tidy/src/target_policy.rs index 776221d306233..550932dbfdc38 100644 --- a/src/tools/tidy/src/target_policy.rs +++ b/src/tools/tidy/src/target_policy.rs @@ -8,7 +8,7 @@ use std::path::Path; use crate::walk::{filter_not_rust, walk}; const TARGET_DEFINITIONS_PATH: &str = "compiler/rustc_target/src/spec/targets/"; -const ASSEMBLY_TEST_PATH: &str = "tests/assembly/targets/"; +const ASSEMBLY_LLVM_TEST_PATH: &str = "tests/assembly-llvm/targets/"; const REVISION_LINE_START: &str = "//@ revisions: "; const EXCEPTIONS: &[&str] = &[ // FIXME: disabled since it fails on CI saying the csky component is missing @@ -43,7 +43,7 @@ pub fn check(root_path: &Path, bad: &mut bool) { let _ = targets_to_find.insert(target_name); } - walk(&root_path.join(ASSEMBLY_TEST_PATH), |_, _| false, &mut |_, contents| { + walk(&root_path.join(ASSEMBLY_LLVM_TEST_PATH), |_, _| false, &mut |_, contents| { for line in contents.lines() { let Some(_) = line.find(REVISION_LINE_START) else { continue; @@ -55,7 +55,7 @@ pub fn check(root_path: &Path, bad: &mut bool) { for target in targets_to_find { if !EXCEPTIONS.contains(&target.as_str()) { - tidy_error!(bad, "{ASSEMBLY_TEST_PATH}: missing assembly test for {target}") + tidy_error!(bad, "{ASSEMBLY_LLVM_TEST_PATH}: missing assembly test for {target}") } } } diff --git a/tests/assembly/aarch64-pointer-auth.rs b/tests/assembly-llvm/aarch64-pointer-auth.rs similarity index 100% rename from tests/assembly/aarch64-pointer-auth.rs rename to tests/assembly-llvm/aarch64-pointer-auth.rs diff --git a/tests/assembly/aarch64-xray.rs b/tests/assembly-llvm/aarch64-xray.rs similarity index 100% rename from tests/assembly/aarch64-xray.rs rename to tests/assembly-llvm/aarch64-xray.rs diff --git a/tests/assembly/align_offset.rs b/tests/assembly-llvm/align_offset.rs similarity index 100% rename from tests/assembly/align_offset.rs rename to tests/assembly-llvm/align_offset.rs diff --git a/tests/assembly/asm/aarch64-el2vmsa.rs b/tests/assembly-llvm/asm/aarch64-el2vmsa.rs similarity index 100% rename from tests/assembly/asm/aarch64-el2vmsa.rs rename to tests/assembly-llvm/asm/aarch64-el2vmsa.rs diff --git a/tests/assembly/asm/aarch64-modifiers.rs b/tests/assembly-llvm/asm/aarch64-modifiers.rs similarity index 100% rename from tests/assembly/asm/aarch64-modifiers.rs rename to tests/assembly-llvm/asm/aarch64-modifiers.rs diff --git a/tests/assembly/asm/aarch64-outline-atomics.rs b/tests/assembly-llvm/asm/aarch64-outline-atomics.rs similarity index 100% rename from tests/assembly/asm/aarch64-outline-atomics.rs rename to tests/assembly-llvm/asm/aarch64-outline-atomics.rs diff --git a/tests/assembly/asm/aarch64-types.rs b/tests/assembly-llvm/asm/aarch64-types.rs similarity index 100% rename from tests/assembly/asm/aarch64-types.rs rename to tests/assembly-llvm/asm/aarch64-types.rs diff --git a/tests/assembly/asm/arm-modifiers.rs b/tests/assembly-llvm/asm/arm-modifiers.rs similarity index 100% rename from tests/assembly/asm/arm-modifiers.rs rename to tests/assembly-llvm/asm/arm-modifiers.rs diff --git a/tests/assembly/asm/arm-types.rs b/tests/assembly-llvm/asm/arm-types.rs similarity index 100% rename from tests/assembly/asm/arm-types.rs rename to tests/assembly-llvm/asm/arm-types.rs diff --git a/tests/assembly/asm/avr-modifiers.rs b/tests/assembly-llvm/asm/avr-modifiers.rs similarity index 100% rename from tests/assembly/asm/avr-modifiers.rs rename to tests/assembly-llvm/asm/avr-modifiers.rs diff --git a/tests/assembly/asm/avr-types.rs b/tests/assembly-llvm/asm/avr-types.rs similarity index 100% rename from tests/assembly/asm/avr-types.rs rename to tests/assembly-llvm/asm/avr-types.rs diff --git a/tests/assembly/asm/bpf-types.rs b/tests/assembly-llvm/asm/bpf-types.rs similarity index 100% rename from tests/assembly/asm/bpf-types.rs rename to tests/assembly-llvm/asm/bpf-types.rs diff --git a/tests/assembly/asm/comments.rs b/tests/assembly-llvm/asm/comments.rs similarity index 100% rename from tests/assembly/asm/comments.rs rename to tests/assembly-llvm/asm/comments.rs diff --git a/tests/assembly/asm/global_asm.rs b/tests/assembly-llvm/asm/global_asm.rs similarity index 100% rename from tests/assembly/asm/global_asm.rs rename to tests/assembly-llvm/asm/global_asm.rs diff --git a/tests/assembly/asm/hexagon-types.rs b/tests/assembly-llvm/asm/hexagon-types.rs similarity index 100% rename from tests/assembly/asm/hexagon-types.rs rename to tests/assembly-llvm/asm/hexagon-types.rs diff --git a/tests/assembly/asm/inline-asm-avx.rs b/tests/assembly-llvm/asm/inline-asm-avx.rs similarity index 100% rename from tests/assembly/asm/inline-asm-avx.rs rename to tests/assembly-llvm/asm/inline-asm-avx.rs diff --git a/tests/assembly/asm/loongarch-type.rs b/tests/assembly-llvm/asm/loongarch-type.rs similarity index 100% rename from tests/assembly/asm/loongarch-type.rs rename to tests/assembly-llvm/asm/loongarch-type.rs diff --git a/tests/assembly/asm/m68k-types.rs b/tests/assembly-llvm/asm/m68k-types.rs similarity index 100% rename from tests/assembly/asm/m68k-types.rs rename to tests/assembly-llvm/asm/m68k-types.rs diff --git a/tests/assembly/asm/mips-types.rs b/tests/assembly-llvm/asm/mips-types.rs similarity index 100% rename from tests/assembly/asm/mips-types.rs rename to tests/assembly-llvm/asm/mips-types.rs diff --git a/tests/assembly/asm/msp430-types.rs b/tests/assembly-llvm/asm/msp430-types.rs similarity index 100% rename from tests/assembly/asm/msp430-types.rs rename to tests/assembly-llvm/asm/msp430-types.rs diff --git a/tests/assembly/asm/nvptx-types.rs b/tests/assembly-llvm/asm/nvptx-types.rs similarity index 100% rename from tests/assembly/asm/nvptx-types.rs rename to tests/assembly-llvm/asm/nvptx-types.rs diff --git a/tests/assembly/asm/powerpc-types.rs b/tests/assembly-llvm/asm/powerpc-types.rs similarity index 100% rename from tests/assembly/asm/powerpc-types.rs rename to tests/assembly-llvm/asm/powerpc-types.rs diff --git a/tests/assembly/asm/riscv-types.rs b/tests/assembly-llvm/asm/riscv-types.rs similarity index 100% rename from tests/assembly/asm/riscv-types.rs rename to tests/assembly-llvm/asm/riscv-types.rs diff --git a/tests/assembly/asm/s390x-types.rs b/tests/assembly-llvm/asm/s390x-types.rs similarity index 100% rename from tests/assembly/asm/s390x-types.rs rename to tests/assembly-llvm/asm/s390x-types.rs diff --git a/tests/assembly/asm/sparc-types.rs b/tests/assembly-llvm/asm/sparc-types.rs similarity index 100% rename from tests/assembly/asm/sparc-types.rs rename to tests/assembly-llvm/asm/sparc-types.rs diff --git a/tests/assembly/asm/wasm-types.rs b/tests/assembly-llvm/asm/wasm-types.rs similarity index 100% rename from tests/assembly/asm/wasm-types.rs rename to tests/assembly-llvm/asm/wasm-types.rs diff --git a/tests/assembly/asm/x86-modifiers.rs b/tests/assembly-llvm/asm/x86-modifiers.rs similarity index 100% rename from tests/assembly/asm/x86-modifiers.rs rename to tests/assembly-llvm/asm/x86-modifiers.rs diff --git a/tests/assembly/asm/x86-types.rs b/tests/assembly-llvm/asm/x86-types.rs similarity index 100% rename from tests/assembly/asm/x86-types.rs rename to tests/assembly-llvm/asm/x86-types.rs diff --git a/tests/assembly/auxiliary/breakpoint-panic-handler.rs b/tests/assembly-llvm/auxiliary/breakpoint-panic-handler.rs similarity index 100% rename from tests/assembly/auxiliary/breakpoint-panic-handler.rs rename to tests/assembly-llvm/auxiliary/breakpoint-panic-handler.rs diff --git a/tests/assembly/auxiliary/dwarf-mixed-versions-lto-aux.rs b/tests/assembly-llvm/auxiliary/dwarf-mixed-versions-lto-aux.rs similarity index 100% rename from tests/assembly/auxiliary/dwarf-mixed-versions-lto-aux.rs rename to tests/assembly-llvm/auxiliary/dwarf-mixed-versions-lto-aux.rs diff --git a/tests/assembly/auxiliary/non-inline-dependency.rs b/tests/assembly-llvm/auxiliary/non-inline-dependency.rs similarity index 100% rename from tests/assembly/auxiliary/non-inline-dependency.rs rename to tests/assembly-llvm/auxiliary/non-inline-dependency.rs diff --git a/tests/assembly/breakpoint.rs b/tests/assembly-llvm/breakpoint.rs similarity index 100% rename from tests/assembly/breakpoint.rs rename to tests/assembly-llvm/breakpoint.rs diff --git a/tests/assembly/closure-inherit-target-feature.rs b/tests/assembly-llvm/closure-inherit-target-feature.rs similarity index 100% rename from tests/assembly/closure-inherit-target-feature.rs rename to tests/assembly-llvm/closure-inherit-target-feature.rs diff --git a/tests/assembly/cmse.rs b/tests/assembly-llvm/cmse.rs similarity index 100% rename from tests/assembly/cmse.rs rename to tests/assembly-llvm/cmse.rs diff --git a/tests/assembly/compiletest-self-test/use-minicore-no-run.rs b/tests/assembly-llvm/compiletest-self-test/use-minicore-no-run.rs similarity index 100% rename from tests/assembly/compiletest-self-test/use-minicore-no-run.rs rename to tests/assembly-llvm/compiletest-self-test/use-minicore-no-run.rs diff --git a/tests/assembly/cstring-merging.rs b/tests/assembly-llvm/cstring-merging.rs similarity index 100% rename from tests/assembly/cstring-merging.rs rename to tests/assembly-llvm/cstring-merging.rs diff --git a/tests/assembly/dwarf-mixed-versions-lto.rs b/tests/assembly-llvm/dwarf-mixed-versions-lto.rs similarity index 100% rename from tests/assembly/dwarf-mixed-versions-lto.rs rename to tests/assembly-llvm/dwarf-mixed-versions-lto.rs diff --git a/tests/assembly/dwarf4.rs b/tests/assembly-llvm/dwarf4.rs similarity index 100% rename from tests/assembly/dwarf4.rs rename to tests/assembly-llvm/dwarf4.rs diff --git a/tests/assembly/dwarf5.rs b/tests/assembly-llvm/dwarf5.rs similarity index 100% rename from tests/assembly/dwarf5.rs rename to tests/assembly-llvm/dwarf5.rs diff --git a/tests/assembly/emit-intel-att-syntax.rs b/tests/assembly-llvm/emit-intel-att-syntax.rs similarity index 100% rename from tests/assembly/emit-intel-att-syntax.rs rename to tests/assembly-llvm/emit-intel-att-syntax.rs diff --git a/tests/assembly/is_aligned.rs b/tests/assembly-llvm/is_aligned.rs similarity index 100% rename from tests/assembly/is_aligned.rs rename to tests/assembly-llvm/is_aligned.rs diff --git a/tests/assembly/issue-83585-small-pod-struct-equality.rs b/tests/assembly-llvm/issue-83585-small-pod-struct-equality.rs similarity index 100% rename from tests/assembly/issue-83585-small-pod-struct-equality.rs rename to tests/assembly-llvm/issue-83585-small-pod-struct-equality.rs diff --git a/tests/assembly/libs/issue-115339-zip-arrays.rs b/tests/assembly-llvm/libs/issue-115339-zip-arrays.rs similarity index 100% rename from tests/assembly/libs/issue-115339-zip-arrays.rs rename to tests/assembly-llvm/libs/issue-115339-zip-arrays.rs diff --git a/tests/assembly/libs/issue-140207-slice-min-simd.rs b/tests/assembly-llvm/libs/issue-140207-slice-min-simd.rs similarity index 100% rename from tests/assembly/libs/issue-140207-slice-min-simd.rs rename to tests/assembly-llvm/libs/issue-140207-slice-min-simd.rs diff --git a/tests/assembly/manual-eq-efficient.rs b/tests/assembly-llvm/manual-eq-efficient.rs similarity index 100% rename from tests/assembly/manual-eq-efficient.rs rename to tests/assembly-llvm/manual-eq-efficient.rs diff --git a/tests/assembly/naked-functions/aarch64-naked-fn-no-bti-prolog.rs b/tests/assembly-llvm/naked-functions/aarch64-naked-fn-no-bti-prolog.rs similarity index 100% rename from tests/assembly/naked-functions/aarch64-naked-fn-no-bti-prolog.rs rename to tests/assembly-llvm/naked-functions/aarch64-naked-fn-no-bti-prolog.rs diff --git a/tests/assembly/naked-functions/aix.rs b/tests/assembly-llvm/naked-functions/aix.rs similarity index 100% rename from tests/assembly/naked-functions/aix.rs rename to tests/assembly-llvm/naked-functions/aix.rs diff --git a/tests/assembly/naked-functions/wasm32.rs b/tests/assembly-llvm/naked-functions/wasm32.rs similarity index 100% rename from tests/assembly/naked-functions/wasm32.rs rename to tests/assembly-llvm/naked-functions/wasm32.rs diff --git a/tests/assembly/naked-functions/x86_64-naked-fn-no-cet-prolog.rs b/tests/assembly-llvm/naked-functions/x86_64-naked-fn-no-cet-prolog.rs similarity index 100% rename from tests/assembly/naked-functions/x86_64-naked-fn-no-cet-prolog.rs rename to tests/assembly-llvm/naked-functions/x86_64-naked-fn-no-cet-prolog.rs diff --git a/tests/assembly/niche-prefer-zero.rs b/tests/assembly-llvm/niche-prefer-zero.rs similarity index 100% rename from tests/assembly/niche-prefer-zero.rs rename to tests/assembly-llvm/niche-prefer-zero.rs diff --git a/tests/assembly/nvptx-arch-default.rs b/tests/assembly-llvm/nvptx-arch-default.rs similarity index 100% rename from tests/assembly/nvptx-arch-default.rs rename to tests/assembly-llvm/nvptx-arch-default.rs diff --git a/tests/assembly/nvptx-arch-emit-asm.rs b/tests/assembly-llvm/nvptx-arch-emit-asm.rs similarity index 100% rename from tests/assembly/nvptx-arch-emit-asm.rs rename to tests/assembly-llvm/nvptx-arch-emit-asm.rs diff --git a/tests/assembly/nvptx-arch-link-arg.rs b/tests/assembly-llvm/nvptx-arch-link-arg.rs similarity index 100% rename from tests/assembly/nvptx-arch-link-arg.rs rename to tests/assembly-llvm/nvptx-arch-link-arg.rs diff --git a/tests/assembly/nvptx-arch-target-cpu.rs b/tests/assembly-llvm/nvptx-arch-target-cpu.rs similarity index 100% rename from tests/assembly/nvptx-arch-target-cpu.rs rename to tests/assembly-llvm/nvptx-arch-target-cpu.rs diff --git a/tests/assembly/nvptx-atomics.rs b/tests/assembly-llvm/nvptx-atomics.rs similarity index 100% rename from tests/assembly/nvptx-atomics.rs rename to tests/assembly-llvm/nvptx-atomics.rs diff --git a/tests/assembly/nvptx-c-abi-arg-v7.rs b/tests/assembly-llvm/nvptx-c-abi-arg-v7.rs similarity index 100% rename from tests/assembly/nvptx-c-abi-arg-v7.rs rename to tests/assembly-llvm/nvptx-c-abi-arg-v7.rs diff --git a/tests/assembly/nvptx-c-abi-ret-v7.rs b/tests/assembly-llvm/nvptx-c-abi-ret-v7.rs similarity index 100% rename from tests/assembly/nvptx-c-abi-ret-v7.rs rename to tests/assembly-llvm/nvptx-c-abi-ret-v7.rs diff --git a/tests/assembly/nvptx-internalizing.rs b/tests/assembly-llvm/nvptx-internalizing.rs similarity index 100% rename from tests/assembly/nvptx-internalizing.rs rename to tests/assembly-llvm/nvptx-internalizing.rs diff --git a/tests/assembly/nvptx-kernel-abi/nvptx-kernel-args-abi-v7.rs b/tests/assembly-llvm/nvptx-kernel-abi/nvptx-kernel-args-abi-v7.rs similarity index 100% rename from tests/assembly/nvptx-kernel-abi/nvptx-kernel-args-abi-v7.rs rename to tests/assembly-llvm/nvptx-kernel-abi/nvptx-kernel-args-abi-v7.rs diff --git a/tests/assembly/nvptx-linking-binary.rs b/tests/assembly-llvm/nvptx-linking-binary.rs similarity index 100% rename from tests/assembly/nvptx-linking-binary.rs rename to tests/assembly-llvm/nvptx-linking-binary.rs diff --git a/tests/assembly/nvptx-linking-cdylib.rs b/tests/assembly-llvm/nvptx-linking-cdylib.rs similarity index 100% rename from tests/assembly/nvptx-linking-cdylib.rs rename to tests/assembly-llvm/nvptx-linking-cdylib.rs diff --git a/tests/assembly/nvptx-safe-naming.rs b/tests/assembly-llvm/nvptx-safe-naming.rs similarity index 100% rename from tests/assembly/nvptx-safe-naming.rs rename to tests/assembly-llvm/nvptx-safe-naming.rs diff --git a/tests/assembly/panic-no-unwind-no-uwtable.rs b/tests/assembly-llvm/panic-no-unwind-no-uwtable.rs similarity index 100% rename from tests/assembly/panic-no-unwind-no-uwtable.rs rename to tests/assembly-llvm/panic-no-unwind-no-uwtable.rs diff --git a/tests/assembly/panic-unwind-no-uwtable.rs b/tests/assembly-llvm/panic-unwind-no-uwtable.rs similarity index 100% rename from tests/assembly/panic-unwind-no-uwtable.rs rename to tests/assembly-llvm/panic-unwind-no-uwtable.rs diff --git a/tests/assembly/pic-relocation-model.rs b/tests/assembly-llvm/pic-relocation-model.rs similarity index 100% rename from tests/assembly/pic-relocation-model.rs rename to tests/assembly-llvm/pic-relocation-model.rs diff --git a/tests/assembly/pie-relocation-model.rs b/tests/assembly-llvm/pie-relocation-model.rs similarity index 100% rename from tests/assembly/pie-relocation-model.rs rename to tests/assembly-llvm/pie-relocation-model.rs diff --git a/tests/assembly/powerpc64-struct-abi.rs b/tests/assembly-llvm/powerpc64-struct-abi.rs similarity index 100% rename from tests/assembly/powerpc64-struct-abi.rs rename to tests/assembly-llvm/powerpc64-struct-abi.rs diff --git a/tests/assembly/riscv-float-struct-abi.rs b/tests/assembly-llvm/riscv-float-struct-abi.rs similarity index 100% rename from tests/assembly/riscv-float-struct-abi.rs rename to tests/assembly-llvm/riscv-float-struct-abi.rs diff --git a/tests/assembly/riscv-soft-abi-with-float-features.rs b/tests/assembly-llvm/riscv-soft-abi-with-float-features.rs similarity index 100% rename from tests/assembly/riscv-soft-abi-with-float-features.rs rename to tests/assembly-llvm/riscv-soft-abi-with-float-features.rs diff --git a/tests/assembly/rust-abi-arg-attr.rs b/tests/assembly-llvm/rust-abi-arg-attr.rs similarity index 100% rename from tests/assembly/rust-abi-arg-attr.rs rename to tests/assembly-llvm/rust-abi-arg-attr.rs diff --git a/tests/assembly/s390x-backchain-toggle.rs b/tests/assembly-llvm/s390x-backchain-toggle.rs similarity index 100% rename from tests/assembly/s390x-backchain-toggle.rs rename to tests/assembly-llvm/s390x-backchain-toggle.rs diff --git a/tests/assembly/s390x-vector-abi.rs b/tests/assembly-llvm/s390x-vector-abi.rs similarity index 100% rename from tests/assembly/s390x-vector-abi.rs rename to tests/assembly-llvm/s390x-vector-abi.rs diff --git a/tests/assembly/sanitizer/kcfi/emit-arity-indicator.rs b/tests/assembly-llvm/sanitizer/kcfi/emit-arity-indicator.rs similarity index 100% rename from tests/assembly/sanitizer/kcfi/emit-arity-indicator.rs rename to tests/assembly-llvm/sanitizer/kcfi/emit-arity-indicator.rs diff --git a/tests/assembly/simd-bitmask.rs b/tests/assembly-llvm/simd-bitmask.rs similarity index 100% rename from tests/assembly/simd-bitmask.rs rename to tests/assembly-llvm/simd-bitmask.rs diff --git a/tests/assembly/simd-intrinsic-gather.rs b/tests/assembly-llvm/simd-intrinsic-gather.rs similarity index 100% rename from tests/assembly/simd-intrinsic-gather.rs rename to tests/assembly-llvm/simd-intrinsic-gather.rs diff --git a/tests/assembly/simd-intrinsic-mask-load.rs b/tests/assembly-llvm/simd-intrinsic-mask-load.rs similarity index 100% rename from tests/assembly/simd-intrinsic-mask-load.rs rename to tests/assembly-llvm/simd-intrinsic-mask-load.rs diff --git a/tests/assembly/simd-intrinsic-mask-reduce.rs b/tests/assembly-llvm/simd-intrinsic-mask-reduce.rs similarity index 100% rename from tests/assembly/simd-intrinsic-mask-reduce.rs rename to tests/assembly-llvm/simd-intrinsic-mask-reduce.rs diff --git a/tests/assembly/simd-intrinsic-mask-store.rs b/tests/assembly-llvm/simd-intrinsic-mask-store.rs similarity index 100% rename from tests/assembly/simd-intrinsic-mask-store.rs rename to tests/assembly-llvm/simd-intrinsic-mask-store.rs diff --git a/tests/assembly/simd-intrinsic-scatter.rs b/tests/assembly-llvm/simd-intrinsic-scatter.rs similarity index 100% rename from tests/assembly/simd-intrinsic-scatter.rs rename to tests/assembly-llvm/simd-intrinsic-scatter.rs diff --git a/tests/assembly/simd-intrinsic-select.rs b/tests/assembly-llvm/simd-intrinsic-select.rs similarity index 100% rename from tests/assembly/simd-intrinsic-select.rs rename to tests/assembly-llvm/simd-intrinsic-select.rs diff --git a/tests/assembly/simd/reduce-fadd-unordered.rs b/tests/assembly-llvm/simd/reduce-fadd-unordered.rs similarity index 100% rename from tests/assembly/simd/reduce-fadd-unordered.rs rename to tests/assembly-llvm/simd/reduce-fadd-unordered.rs diff --git a/tests/assembly/slice-is_ascii.rs b/tests/assembly-llvm/slice-is_ascii.rs similarity index 100% rename from tests/assembly/slice-is_ascii.rs rename to tests/assembly-llvm/slice-is_ascii.rs diff --git a/tests/assembly/small_data_threshold.rs b/tests/assembly-llvm/small_data_threshold.rs similarity index 100% rename from tests/assembly/small_data_threshold.rs rename to tests/assembly-llvm/small_data_threshold.rs diff --git a/tests/assembly/sparc-struct-abi.rs b/tests/assembly-llvm/sparc-struct-abi.rs similarity index 100% rename from tests/assembly/sparc-struct-abi.rs rename to tests/assembly-llvm/sparc-struct-abi.rs diff --git a/tests/assembly/stack-probes.rs b/tests/assembly-llvm/stack-probes.rs similarity index 100% rename from tests/assembly/stack-probes.rs rename to tests/assembly-llvm/stack-probes.rs diff --git a/tests/assembly/stack-protector/stack-protector-heuristics-effect-windows-32bit.rs b/tests/assembly-llvm/stack-protector/stack-protector-heuristics-effect-windows-32bit.rs similarity index 100% rename from tests/assembly/stack-protector/stack-protector-heuristics-effect-windows-32bit.rs rename to tests/assembly-llvm/stack-protector/stack-protector-heuristics-effect-windows-32bit.rs diff --git a/tests/assembly/stack-protector/stack-protector-heuristics-effect-windows-64bit.rs b/tests/assembly-llvm/stack-protector/stack-protector-heuristics-effect-windows-64bit.rs similarity index 100% rename from tests/assembly/stack-protector/stack-protector-heuristics-effect-windows-64bit.rs rename to tests/assembly-llvm/stack-protector/stack-protector-heuristics-effect-windows-64bit.rs diff --git a/tests/assembly/stack-protector/stack-protector-heuristics-effect.rs b/tests/assembly-llvm/stack-protector/stack-protector-heuristics-effect.rs similarity index 100% rename from tests/assembly/stack-protector/stack-protector-heuristics-effect.rs rename to tests/assembly-llvm/stack-protector/stack-protector-heuristics-effect.rs diff --git a/tests/assembly/stack-protector/stack-protector-target-support.rs b/tests/assembly-llvm/stack-protector/stack-protector-target-support.rs similarity index 100% rename from tests/assembly/stack-protector/stack-protector-target-support.rs rename to tests/assembly-llvm/stack-protector/stack-protector-target-support.rs diff --git a/tests/assembly/static-relocation-model.rs b/tests/assembly-llvm/static-relocation-model.rs similarity index 100% rename from tests/assembly/static-relocation-model.rs rename to tests/assembly-llvm/static-relocation-model.rs diff --git a/tests/assembly/strict_provenance.rs b/tests/assembly-llvm/strict_provenance.rs similarity index 100% rename from tests/assembly/strict_provenance.rs rename to tests/assembly-llvm/strict_provenance.rs diff --git a/tests/assembly/target-feature-multiple.rs b/tests/assembly-llvm/target-feature-multiple.rs similarity index 100% rename from tests/assembly/target-feature-multiple.rs rename to tests/assembly-llvm/target-feature-multiple.rs diff --git a/tests/assembly/targets/targets-amdgpu.rs b/tests/assembly-llvm/targets/targets-amdgpu.rs similarity index 100% rename from tests/assembly/targets/targets-amdgpu.rs rename to tests/assembly-llvm/targets/targets-amdgpu.rs diff --git a/tests/assembly/targets/targets-elf.rs b/tests/assembly-llvm/targets/targets-elf.rs similarity index 100% rename from tests/assembly/targets/targets-elf.rs rename to tests/assembly-llvm/targets/targets-elf.rs diff --git a/tests/assembly/targets/targets-macho.rs b/tests/assembly-llvm/targets/targets-macho.rs similarity index 100% rename from tests/assembly/targets/targets-macho.rs rename to tests/assembly-llvm/targets/targets-macho.rs diff --git a/tests/assembly/targets/targets-nvptx.rs b/tests/assembly-llvm/targets/targets-nvptx.rs similarity index 100% rename from tests/assembly/targets/targets-nvptx.rs rename to tests/assembly-llvm/targets/targets-nvptx.rs diff --git a/tests/assembly/targets/targets-pe.rs b/tests/assembly-llvm/targets/targets-pe.rs similarity index 100% rename from tests/assembly/targets/targets-pe.rs rename to tests/assembly-llvm/targets/targets-pe.rs diff --git a/tests/assembly/wasm_exceptions.rs b/tests/assembly-llvm/wasm_exceptions.rs similarity index 100% rename from tests/assembly/wasm_exceptions.rs rename to tests/assembly-llvm/wasm_exceptions.rs diff --git a/tests/assembly/x86-return-float.rs b/tests/assembly-llvm/x86-return-float.rs similarity index 100% rename from tests/assembly/x86-return-float.rs rename to tests/assembly-llvm/x86-return-float.rs diff --git a/tests/assembly/x86_64-array-pair-load-store-merge.rs b/tests/assembly-llvm/x86_64-array-pair-load-store-merge.rs similarity index 100% rename from tests/assembly/x86_64-array-pair-load-store-merge.rs rename to tests/assembly-llvm/x86_64-array-pair-load-store-merge.rs diff --git a/tests/assembly/x86_64-bigint-helpers.rs b/tests/assembly-llvm/x86_64-bigint-helpers.rs similarity index 100% rename from tests/assembly/x86_64-bigint-helpers.rs rename to tests/assembly-llvm/x86_64-bigint-helpers.rs diff --git a/tests/assembly/x86_64-cmp.rs b/tests/assembly-llvm/x86_64-cmp.rs similarity index 100% rename from tests/assembly/x86_64-cmp.rs rename to tests/assembly-llvm/x86_64-cmp.rs diff --git a/tests/assembly/x86_64-floating-point-clamp.rs b/tests/assembly-llvm/x86_64-floating-point-clamp.rs similarity index 100% rename from tests/assembly/x86_64-floating-point-clamp.rs rename to tests/assembly-llvm/x86_64-floating-point-clamp.rs diff --git a/tests/assembly/x86_64-fortanix-unknown-sgx-lvi-generic-load.rs b/tests/assembly-llvm/x86_64-fortanix-unknown-sgx-lvi-generic-load.rs similarity index 100% rename from tests/assembly/x86_64-fortanix-unknown-sgx-lvi-generic-load.rs rename to tests/assembly-llvm/x86_64-fortanix-unknown-sgx-lvi-generic-load.rs diff --git a/tests/assembly/x86_64-fortanix-unknown-sgx-lvi-generic-ret.rs b/tests/assembly-llvm/x86_64-fortanix-unknown-sgx-lvi-generic-ret.rs similarity index 100% rename from tests/assembly/x86_64-fortanix-unknown-sgx-lvi-generic-ret.rs rename to tests/assembly-llvm/x86_64-fortanix-unknown-sgx-lvi-generic-ret.rs diff --git a/tests/assembly/x86_64-fortanix-unknown-sgx-lvi-inline-assembly.rs b/tests/assembly-llvm/x86_64-fortanix-unknown-sgx-lvi-inline-assembly.rs similarity index 100% rename from tests/assembly/x86_64-fortanix-unknown-sgx-lvi-inline-assembly.rs rename to tests/assembly-llvm/x86_64-fortanix-unknown-sgx-lvi-inline-assembly.rs diff --git a/tests/assembly/x86_64-function-return.rs b/tests/assembly-llvm/x86_64-function-return.rs similarity index 100% rename from tests/assembly/x86_64-function-return.rs rename to tests/assembly-llvm/x86_64-function-return.rs diff --git a/tests/assembly/x86_64-no-jump-tables.rs b/tests/assembly-llvm/x86_64-no-jump-tables.rs similarity index 100% rename from tests/assembly/x86_64-no-jump-tables.rs rename to tests/assembly-llvm/x86_64-no-jump-tables.rs diff --git a/tests/assembly/x86_64-sse_crc.rs b/tests/assembly-llvm/x86_64-sse_crc.rs similarity index 100% rename from tests/assembly/x86_64-sse_crc.rs rename to tests/assembly-llvm/x86_64-sse_crc.rs diff --git a/tests/assembly/x86_64-typed-swap.rs b/tests/assembly-llvm/x86_64-typed-swap.rs similarity index 100% rename from tests/assembly/x86_64-typed-swap.rs rename to tests/assembly-llvm/x86_64-typed-swap.rs diff --git a/tests/assembly/x86_64-windows-float-abi.rs b/tests/assembly-llvm/x86_64-windows-float-abi.rs similarity index 100% rename from tests/assembly/x86_64-windows-float-abi.rs rename to tests/assembly-llvm/x86_64-windows-float-abi.rs diff --git a/tests/assembly/x86_64-windows-i128-abi.rs b/tests/assembly-llvm/x86_64-windows-i128-abi.rs similarity index 100% rename from tests/assembly/x86_64-windows-i128-abi.rs rename to tests/assembly-llvm/x86_64-windows-i128-abi.rs diff --git a/tests/assembly/x86_64-xray.rs b/tests/assembly-llvm/x86_64-xray.rs similarity index 100% rename from tests/assembly/x86_64-xray.rs rename to tests/assembly-llvm/x86_64-xray.rs diff --git a/tests/codegen/target-feature-overrides.rs b/tests/codegen/target-feature-overrides.rs index eb19b0de2fa8a..63a586d388b69 100644 --- a/tests/codegen/target-feature-overrides.rs +++ b/tests/codegen/target-feature-overrides.rs @@ -6,7 +6,7 @@ //@ [COMPAT] compile-flags: -Ctarget-feature=+avx2 //@ [INCOMPAT] compile-flags: -Ctarget-feature=-avx2,-avx -// See also tests/assembly/target-feature-multiple.rs +// See also tests/assembly-llvm/target-feature-multiple.rs #![feature(no_core, lang_items)] #![crate_type = "lib"] #![no_core] diff --git a/tests/run-make/avr-rjmp-offset/rmake.rs b/tests/run-make/avr-rjmp-offset/rmake.rs index da314f26ca782..86d85e89f7883 100644 --- a/tests/run-make/avr-rjmp-offset/rmake.rs +++ b/tests/run-make/avr-rjmp-offset/rmake.rs @@ -6,7 +6,7 @@ //! loop instruction to be missed. This test therefore contains a simple loop //! with trivial instructions in it, to see, where the label is placed. //! -//! This must be a `rmake`-test and cannot be a `tests/assembly`-test, since the +//! This must be a `rmake`-test and cannot be a `tests/assembly-llvm/`-test, since the //! wrong output is only produced with direct assembly generation, but not when //! "emit-asm" is used, as described in the issue description of #129301: //! https://github.com/rust-lang/rust/issues/129301#issue-2475070770 diff --git a/triagebot.toml b/triagebot.toml index 61d8a814c89ee..e34e4a88f42dd 100644 --- a/triagebot.toml +++ b/triagebot.toml @@ -302,7 +302,7 @@ trigger_files = [ "compiler", # Tests - "tests/assembly", + "tests/assembly-llvm", "tests/auxiliary", "tests/codegen", "tests/codegen-units", From a27f3e3fd1e4d16160f8885b6b06665b5319f56c Mon Sep 17 00:00:00 2001 From: Guillaume Gomez Date: Mon, 21 Jul 2025 14:34:12 +0200 Subject: [PATCH 2/3] Rename `tests/codegen` into `tests/codegen-llvm` --- compiler/rustc_codegen_ssa/src/mir/rvalue.rs | 2 +- .../src/unreachable_prop.rs | 2 +- .../alloc/src/collections/vec_deque/drain.rs | 2 +- library/alloc/src/raw_vec/mod.rs | 2 +- rustfmt.toml | 4 ++-- src/bootstrap/src/core/build_steps/test.rs | 11 ++++++++--- src/bootstrap/src/core/builder/mod.rs | 4 ++-- .../docker/host-x86_64/test-various/Dockerfile | 2 +- src/doc/rustc-dev-guide/src/asm.md | 2 +- .../src/autodiff/installation.md | 2 +- .../src/llvm-coverage-instrumentation.md | 4 ++-- .../src/offload/installation.md | 2 +- .../src/profile-guided-optimization.md | 2 +- src/doc/rustc-dev-guide/src/sanitizers.md | 4 ++-- .../rustc-dev-guide/src/tests/compiletest.md | 6 +++--- src/tools/opt-dist/src/tests.rs | 2 +- tests/assembly-llvm/target-feature-multiple.rs | 2 +- tests/{codegen => codegen-llvm}/README.md | 0 .../aarch64-softfloat.rs | 0 .../aarch64-struct-align-128.rs | 0 tests/{codegen => codegen-llvm}/abi-efiapi.rs | 0 .../abi-main-signature-16bit-c-int.rs | 0 .../abi-main-signature-32bit-c-int.rs | 0 .../{codegen => codegen-llvm}/abi-repr-ext.rs | 0 tests/{codegen => codegen-llvm}/abi-sysv64.rs | 0 .../{codegen => codegen-llvm}/abi-win64-zst.rs | 0 .../abi-x86-interrupt.rs | 0 tests/{codegen => codegen-llvm}/abi-x86-sse.rs | 0 .../abi-x86_64_sysv.rs | 0 .../addr-of-mutate.rs | 0 tests/{codegen => codegen-llvm}/adjustments.rs | 0 .../align-byval-alignment-mismatch.rs | 0 .../align-byval-vector.rs | 0 tests/{codegen => codegen-llvm}/align-byval.rs | 0 tests/{codegen => codegen-llvm}/align-enum.rs | 0 tests/{codegen => codegen-llvm}/align-fn.rs | 0 .../{codegen => codegen-llvm}/align-offset.rs | 0 .../{codegen => codegen-llvm}/align-struct.rs | 0 .../alloc-optimisation.rs | 0 .../amdgpu-addrspacecast.rs | 0 tests/{codegen => codegen-llvm}/array-clone.rs | 0 tests/{codegen => codegen-llvm}/array-cmp.rs | 0 .../{codegen => codegen-llvm}/array-codegen.rs | 0 .../array-equality.rs | 0 .../{codegen => codegen-llvm}/array-from_fn.rs | 0 tests/{codegen => codegen-llvm}/array-map.rs | 0 .../array-optimized.rs | 0 .../{codegen => codegen-llvm}/array-repeat.rs | 0 tests/{codegen => codegen-llvm}/ascii-char.rs | 0 .../asm/aarch64-clobbers.rs | 0 .../asm/avr-clobbers.rs | 0 .../asm/bpf-clobbers.rs | 0 .../{codegen => codegen-llvm}/asm/critical.rs | 0 .../asm/csky-clobbers.rs | 0 tests/{codegen => codegen-llvm}/asm/foo.s | 0 .../asm/global_asm.rs | 0 .../asm/global_asm_include.rs | 0 .../asm/global_asm_x2.rs | 0 tests/{codegen => codegen-llvm}/asm/goto.rs | 0 .../asm/hexagon-clobbers.rs | 0 .../asm/may_unwind.rs | 0 .../asm/maybe-uninit.rs | 0 .../asm/msp430-clobbers.rs | 0 .../asm/multiple-options.rs | 0 tests/{codegen => codegen-llvm}/asm/options.rs | 0 .../asm/powerpc-clobbers.rs | 0 .../asm/riscv-clobbers.rs | 0 .../asm/s390x-clobbers.rs | 0 .../asm/sanitize-llvm.rs | 0 .../asm/sparc-clobbers.rs | 0 .../asm/x86-clobber_abi.rs | 0 .../asm/x86-clobbers.rs | 0 .../asm/x86-target-clobbers.rs | 0 .../assign-desugar-debuginfo.rs | 0 .../async-closure-debug.rs | 0 .../async-fn-debug-awaitee-field.rs | 0 .../async-fn-debug-msvc.rs | 0 .../async-fn-debug.rs | 0 .../atomic-operations.rs | 0 tests/{codegen => codegen-llvm}/atomicptr.rs | 0 .../autodiff/batched.rs | 0 .../autodiff/generic.rs | 0 .../autodiff/identical_fnc.rs | 0 .../autodiff/inline.rs | 0 .../autodiff/scalar.rs | 0 .../{codegen => codegen-llvm}/autodiff/sret.rs | 0 tests/{codegen => codegen-llvm}/autodiffv2.rs | 0 .../autovec/dont-shuffle-bswaps-opt2.rs | 0 .../autovec/dont-shuffle-bswaps-opt3.rs | 0 .../autovectorize-f32x4.rs | 0 .../auxiliary/extern_decl.rs | 0 .../auxiliary/nounwind.rs | 0 .../auxiliary/thread_local_aux.rs | 0 .../avr/avr-func-addrspace.rs | 0 .../bigint-helpers.rs | 0 .../binary-heap-peek-mut-pop-no-panic.rs | 0 .../binary-search-index-no-bound-check.rs | 0 tests/{codegen => codegen-llvm}/bool-cmp.rs | 0 .../bounds-checking/gep-issue-133979.rs | 0 .../box-default-debug-copies.rs | 0 .../box-uninit-bytes.rs | 0 tests/{codegen => codegen-llvm}/bpf-alu32.rs | 0 .../branch-protection.rs | 0 .../call-llvm-intrinsics.rs | 0 .../call-tmps-lifetime.rs | 0 .../cast-optimized.rs | 0 .../cast-target-abi.rs | 0 .../{codegen => codegen-llvm}/catch-unwind.rs | 0 .../cdylib-external-inline-fns.rs | 0 .../{codegen => codegen-llvm}/cf-protection.rs | 0 .../cffi/c-variadic-copy.rs | 0 .../cffi/c-variadic-naked.rs | 0 .../cffi/c-variadic-opt.rs | 0 .../cffi/c-variadic.rs | 0 .../cffi/ffi-const.rs | 0 .../cffi/ffi-out-of-bounds-loads.rs | 0 .../{codegen => codegen-llvm}/cffi/ffi-pure.rs | 0 .../cfguard-checks.rs | 0 .../cfguard-disabled.rs | 0 .../cfguard-nochecks.rs | 0 .../cfguard-non-msvc.rs | 0 .../char-ascii-branchless.rs | 0 .../char-escape-debug-no-bounds-check.rs | 0 .../{codegen => codegen-llvm}/checked_ilog.rs | 0 .../{codegen => codegen-llvm}/checked_math.rs | 0 tests/{codegen => codegen-llvm}/clone-shims.rs | 0 .../{codegen => codegen-llvm}/clone_as_copy.rs | 0 tests/{codegen => codegen-llvm}/codemodels.rs | 0 tests/{codegen => codegen-llvm}/coercions.rs | 0 .../cold-call-declare-and-call.rs | 0 .../common_prim_int_ptr.rs | 0 .../comparison-operators-2-struct.rs | 0 .../comparison-operators-2-tuple.rs | 0 .../comparison-operators-newtype.rs | 0 .../minicore-smoke-test.rs | 0 tests/{codegen => codegen-llvm}/const-array.rs | 0 .../{codegen => codegen-llvm}/const-vector.rs | 0 .../const_scalar_pair.rs | 0 .../constant-branch.rs | 0 tests/{codegen => codegen-llvm}/consts.rs | 0 .../coroutine-debug-msvc.rs | 0 .../coroutine-debug.rs | 0 .../cross-crate-inlining/always-inline.rs | 0 .../cross-crate-inlining/auxiliary/always.rs | 0 .../cross-crate-inlining/auxiliary/leaf.rs | 0 .../cross-crate-inlining/auxiliary/never.rs | 0 .../cross-crate-inlining/leaf-inlining.rs | 0 .../cross-crate-inlining/never-inline.rs | 0 .../dealloc-no-unwind.rs | 0 .../debug-accessibility/crate-enum.rs | 0 .../debug-accessibility/crate-struct.rs | 0 .../debug-accessibility/private-enum.rs | 0 .../debug-accessibility/private-struct.rs | 0 .../debug-accessibility/public-enum.rs | 0 .../debug-accessibility/public-struct.rs | 0 .../debug-accessibility/struct-fields.rs | 0 .../debug-accessibility/super-enum.rs | 0 .../debug-accessibility/super-struct.rs | 0 .../debug-accessibility/tuple-fields.rs | 0 .../debug-alignment.rs | 0 .../debug-column-msvc.rs | 0 .../{codegen => codegen-llvm}/debug-column.rs | 0 .../debug-compile-unit-path.rs | 0 .../debug-fndef-size.rs | 0 .../{codegen => codegen-llvm}/debug-limited.rs | 0 .../debug-line-directives-only.rs | 0 .../debug-line-tables-only.rs | 0 .../debug-linkage-name.rs | 0 .../{codegen => codegen-llvm}/debug-vtable.rs | 0 .../debuginfo-constant-locals.rs | 0 .../debuginfo-generic-closure-env-names.rs | 0 .../debuginfo-inline-callsite-location.rs | 0 .../auxiliary/macro_def.rs | 0 .../mir_inlined_twice_var_locs.rs | 0 .../deduced-param-attrs.rs | 0 .../default-requires-uwtable.rs | 0 .../default-visibility.rs | 0 .../direct-access-external-data.rs | 0 .../dllimports/auxiliary/dummy.rs | 0 .../dllimports/auxiliary/wrapper.rs | 0 .../dllimports/main.rs | 0 ...private_const_fn_only_used_in_const_eval.rs | 0 .../drop-in-place-noalias.rs | 0 tests/{codegen => codegen-llvm}/drop.rs | 0 tests/{codegen => codegen-llvm}/dst-offset.rs | 0 .../dst-vtable-align-nonzero.rs | 0 .../dst-vtable-size-range.rs | 0 .../ehcontguard_disabled.rs | 0 .../ehcontguard_enabled.rs | 0 .../emscripten-catch-unwind-js-eh.rs | 0 .../emscripten-catch-unwind-wasm-eh.rs | 0 .../enable-lto-unit-splitting.rs | 0 .../enum/enum-aggregate.rs | 0 .../enum/enum-bounds-check-derived-idx.rs | 0 .../enum/enum-bounds-check-issue-13926.rs | 0 .../enum/enum-bounds-check-issue-82871.rs | 0 .../enum/enum-bounds-check.rs | 0 .../enum/enum-debug-clike.rs | 0 .../enum/enum-debug-niche-2.rs | 0 .../enum/enum-debug-niche.rs | 0 .../enum/enum-debug-tagged.rs | 0 .../enum/enum-discriminant-eq.rs | 0 .../enum/enum-discriminant-value.rs | 0 .../enum/enum-early-otherwise-branch.rs | 0 .../enum/enum-match.rs | 0 .../enum/enum-two-variants-match.rs | 0 .../enum/enum-u128.rs | 0 .../enum/unreachable_enum_default_branch.rs | 0 .../ergonomic-clones/closure.rs | 0 .../{codegen => codegen-llvm}/error-provide.rs | 0 .../export-no-mangle.rs | 0 .../external-no-mangle-fns.rs | 0 .../external-no-mangle-statics.rs | 0 .../f128-wasm32-callconv.rs | 0 .../fastcall-inreg.rs | 0 tests/{codegen => codegen-llvm}/fatptr.rs | 0 tests/{codegen => codegen-llvm}/fewer-names.rs | 0 tests/{codegen => codegen-llvm}/fixed-x18.rs | 0 .../float/algebraic.rs | 0 tests/{codegen => codegen-llvm}/float/f128.rs | 0 .../float/f16-f128-inline.rs | 0 tests/{codegen => codegen-llvm}/float/f16.rs | 0 tests/{codegen => codegen-llvm}/float_math.rs | 0 .../fn-impl-trait-self.rs | 0 ...-parameters-on-different-lines-debuginfo.rs | 0 .../force-frame-pointers.rs | 0 .../force-no-unwind-tables.rs | 0 .../force-unwind-tables.rs | 0 .../frame-pointer-cli-control.rs | 0 .../{codegen => codegen-llvm}/frame-pointer.rs | 0 .../function-arguments-noopt.rs | 0 .../function-arguments.rs | 0 .../function-return.rs | 0 .../gdb_debug_script_load.rs | 0 .../{codegen => codegen-llvm}/generic-debug.rs | 0 tests/{codegen => codegen-llvm}/gep-index.rs | 0 .../gpu-kernel-abi.rs | 0 .../gpu_offload/gpu_host.rs | 0 .../hint/cold_path.rs | 0 tests/{codegen => codegen-llvm}/hint/likely.rs | 0 .../{codegen => codegen-llvm}/hint/unlikely.rs | 0 .../i128-wasm32-callconv.rs | 0 .../i128-x86-align.rs | 0 .../i128-x86-callconv.rs | 0 .../infallible-unwrap-in-opt-z.rs | 0 .../inherit_overflow.rs | 0 .../inline-always-works-always.rs | 0 .../inline-debuginfo.rs | 0 .../inline-function-args-debug-info.rs | 0 tests/{codegen => codegen-llvm}/inline-hint.rs | 0 .../instrument-coverage-off.rs | 0 .../instrument-coverage/instrument-coverage.rs | 0 .../instrument-coverage/testprog.rs | 0 .../instrument-mcount.rs | 0 .../instrument-xray/basic.rs | 0 .../instrument-xray/options-combine.rs | 0 .../instrument-xray/options-override.rs | 0 tests/{codegen => codegen-llvm}/integer-cmp.rs | 0 .../integer-overflow.rs | 0 .../internalize-closures.rs | 0 .../intrinsic-no-unnamed-attr.rs | 0 .../intrinsics/aggregate-thin-pointer.rs | 0 .../intrinsics/carrying_mul_add.rs | 0 .../intrinsics/cold_path.rs | 0 .../intrinsics/cold_path2.rs | 0 .../intrinsics/cold_path3.rs | 0 .../intrinsics/compare_bytes.rs | 0 .../intrinsics/const_eval_select.rs | 0 .../intrinsics/ctlz.rs | 0 .../intrinsics/ctpop.rs | 0 .../intrinsics/disjoint_bitor.rs | 0 .../intrinsics/exact_div.rs | 0 .../intrinsics/likely.rs | 0 .../intrinsics/likely_assert.rs | 0 .../intrinsics/mask.rs | 0 .../intrinsics/nontemporal.rs | 0 .../intrinsics/offset.rs | 0 .../intrinsics/offset_from.rs | 0 .../intrinsics/prefetch.rs | 0 .../intrinsics/ptr_metadata.rs | 0 .../intrinsics/rotate_left.rs | 0 .../rustc_intrinsic_must_be_overridden.rs | 0 .../intrinsics/select_unpredictable.rs | 0 .../intrinsics/three_way_compare.rs | 0 .../intrinsics/transmute-niched.rs | 0 .../intrinsics/transmute-x64.rs | 0 .../intrinsics/transmute.rs | 0 .../intrinsics/typed_swap.rs | 0 .../intrinsics/unchecked_math.rs | 0 .../intrinsics/unlikely.rs | 0 .../intrinsics/volatile.rs | 0 .../intrinsics/volatile_order.rs | 0 .../is_val_statically_known.rs | 0 tests/{codegen => codegen-llvm}/issue-97217.rs | 0 .../issues/issue-101048.rs | 0 .../issues/issue-101082.rs | 0 .../issues/issue-101814.rs | 0 .../issues/issue-103132.rs | 0 .../issue-103285-ptr-addr-overflow-check.rs | 0 .../issues/issue-103327.rs | 0 .../issues/issue-103840.rs | 0 .../issues/issue-105386-ub-in-debuginfo.rs | 0 .../issues/issue-106369.rs | 0 .../issues/issue-107681-unwrap_unchecked.rs | 0 .../issues/issue-108395-branchy-bool-match.rs | 0 .../issues/issue-109328-split_first.rs | 0 .../issues/issue-110797-enum-jump-same.rs | 0 .../issues/issue-111603.rs | 0 .../issue-112509-slice-get-andthen-get.rs | 0 .../issue-113757-bounds-check-after-cmp-max.rs | 0 .../issues/issue-114312.rs | 0 .../issues/issue-115385-llvm-jump-threading.rs | 0 .../issues/issue-116878.rs | 0 .../issues/issue-118306.rs | 0 .../issues/issue-118392.rs | 0 .../issues/issue-119422.rs | 0 .../issues/issue-121719-common-field-offset.rs | 0 .../issue-122600-ptr-discriminant-update.rs | 0 ...ue-123712-str-to-lower-autovectorization.rs | 0 .../issues/issue-126585.rs | 0 .../issues/issue-129795.rs | 0 .../issues/issue-13018.rs | 0 .../issues/issue-136329-optnone-noinline.rs | 0 .../issues/issue-15953.rs | 0 .../issues/issue-27130.rs | 0 .../issues/issue-32031.rs | 0 .../issues/issue-32364.rs | 0 .../issues/issue-34634.rs | 0 .../issues/issue-34947-pow-i32.rs | 0 .../issues/issue-36010-some-box-is_some.rs | 0 .../issues/issue-37945.rs | 0 .../issues/issue-45222.rs | 0 .../issues/issue-45466.rs | 0 .../issue-45964-bounds-check-slice-pos.rs | 0 .../issues/issue-47278.rs | 0 .../issues/issue-47442.rs | 0 .../issues/issue-56267-2.rs | 0 .../issues/issue-56267.rs | 0 .../issues/issue-56927.rs | 0 .../issues/issue-58881.rs | 0 .../issues/issue-59352.rs | 0 ...-fn-ptr-call-returning-never-is-noreturn.rs | 0 .../issues/issue-68667-unwrap-combinators.rs | 0 .../issues/issue-69101-bounds-check.rs | 0 .../issues/issue-73031.rs | 0 .../issues/issue-73258.rs | 0 .../issues/issue-73338-effecient-cmp.rs | 0 .../issue-73396-bounds-check-after-position.rs | 0 ...ssue-73827-bounds-check-index-in-subexpr.rs | 0 .../issues/issue-74938-array-split-at.rs | 0 .../issues/issue-75525-bounds-checks.rs | 0 .../issues/issue-75546.rs | 0 .../issues/issue-75659.rs | 0 .../issues/issue-75978.rs | 0 .../issues/issue-77812.rs | 0 .../issues/issue-84268.rs | 0 .../issues/issue-85872-multiple-reverse.rs | 0 .../issues/issue-86106.rs | 0 .../issue-86109-eliminate-div-by-zero-check.rs | 0 .../issues/issue-93036-assert-index.rs | 0 .../issues/issue-96274.rs | 0 .../issues/issue-96497-slice-size-nowrap.rs | 0 .../issue-98294-get-mut-copy-from-slice-opt.rs | 0 .../issues/issue-98678-async.rs | 0 .../issues/issue-98678-closure-coroutine.rs | 0 .../issues/issue-98678-enum.rs | 0 .../issues/issue-98678-struct-union.rs | 0 .../issues/issue-99960.rs | 0 .../issues/looping-over-ne-bytes-133528.rs | 0 .../issues/str-to-string-128690.rs | 0 .../iter-repeat-n-trivial-drop.rs | 0 .../layout-size-checks.rs | 0 .../lib-optimizations/iter-sum.rs | 0 .../lib-optimizations/slice_rotate.rs | 0 .../lifetime_start_end.rs | 0 .../link-dead-code.rs | 0 .../{codegen => codegen-llvm}/link_section.rs | 0 tests/{codegen => codegen-llvm}/llvm-ident.rs | 0 .../llvm_module_flags.rs | 0 tests/{codegen => codegen-llvm}/loads.rs | 0 .../local-generics-in-exe-internalized.rs | 0 .../loongarch-abi/call-llvm-intrinsics.rs | 0 .../loongarch-abi/loongarch64-lp64d-abi.rs | 0 .../lto-removes-invokes.rs | 0 .../macos/i686-macosx-deployment-target.rs | 0 .../macos/i686-no-macosx-deployment-target.rs | 0 .../macos/x86_64-macosx-deployment-target.rs | 0 .../x86_64-no-macosx-deployment-target.rs | 0 .../mainsubprogram.rs | 0 .../match-optimized.rs | 0 .../match-optimizes-away.rs | 0 .../match-unoptimized.rs | 0 .../maybeuninit-rvo.rs | 0 .../mem-replace-big-type.rs | 0 .../mem-replace-simple-type.rs | 0 .../merge-functions.rs | 0 .../meta-filecheck/check-prefix.rs | 0 .../meta-filecheck/filecheck-flags.rs | 0 .../meta-filecheck/msvc-prefix-bad.rs | 0 .../meta-filecheck/no-directives.rs | 0 .../meta-filecheck/revision-prefix.rs | 0 .../method-declaration.rs | 0 .../min-function-alignment.rs | 0 .../mir-aggregate-no-alloca.rs | 0 .../mir-inlined-line-numbers.rs | 0 .../mir_zst_stores.rs | 0 .../move-before-nocapture-ref-arg.rs | 0 .../{codegen => codegen-llvm}/move-operands.rs | 0 tests/{codegen => codegen-llvm}/naked-asan.rs | 0 .../naked-fn/aligned.rs | 0 .../naked-fn/generics.rs | 0 .../naked-fn/instruction-set.rs | 0 .../naked-fn/min-function-alignment.rs | 0 .../naked-fn/naked-functions.rs | 0 .../no-alloca-inside-if-false.rs | 0 .../no-assumes-on-casts.rs | 0 .../no-dllimport-w-cross-lang-lto.rs | 0 .../no-jump-tables.rs | 0 tests/{codegen => codegen-llvm}/no-plt.rs | 0 .../no-redundant-item-monomorphization.rs | 0 .../no_builtins-at-crate.rs | 0 .../noalias-box-off.rs | 0 tests/{codegen => codegen-llvm}/noalias-box.rs | 0 .../{codegen => codegen-llvm}/noalias-flag.rs | 0 .../noalias-freeze.rs | 0 .../noalias-refcell.rs | 0 .../noalias-rwlockreadguard.rs | 0 .../{codegen => codegen-llvm}/noalias-unpin.rs | 0 .../non-terminate/infinite-loop-1.rs | 0 .../non-terminate/infinite-loop-2.rs | 0 .../non-terminate/infinite-recursion.rs | 0 .../non-terminate/nonempty-infinite-loop.rs | 0 .../noreturn-uninhabited.rs | 0 .../{codegen => codegen-llvm}/noreturnflag.rs | 0 tests/{codegen => codegen-llvm}/nounwind.rs | 0 tests/{codegen => codegen-llvm}/nrvo.rs | 0 .../optimize-attr-1.rs | 0 .../option-as-slice.rs | 0 .../option-niche-eq.rs | 0 .../option-niche-unfixed/option-nonzero-eq.rs | 0 .../overaligned-constant.rs | 0 tests/{codegen => codegen-llvm}/packed.rs | 0 .../panic-abort-windows.rs | 0 .../panic-in-drop-abort.rs | 0 .../panic-unwind-default-uwtable.rs | 0 .../patchable-function-entry-both-flags.rs | 0 .../patchable-function-entry-no-flag.rs | 0 .../patchable-function-entry-one-flag.rs | 0 .../pattern_type_symbols.rs | 0 .../personality_lifetimes.rs | 0 .../pgo-counter-bias.rs | 0 .../pgo-instrumentation.rs | 0 .../pic-relocation-model.rs | 0 .../pie-relocation-model.rs | 0 .../{codegen => codegen-llvm}/placement-new.rs | 0 .../powerpc64le-struct-align-128.rs | 0 .../precondition-checks.rs | 0 .../ptr-arithmetic.rs | 0 .../ptr-read-metadata.rs | 0 .../range-attribute.rs | 0 tests/{codegen => codegen-llvm}/range-loop.rs | 0 .../range_to_inclusive.rs | 0 tests/{codegen => codegen-llvm}/refs.rs | 0 .../reg-struct-return.rs | 0 .../{codegen => codegen-llvm}/regparm-inreg.rs | 0 .../remap_path_prefix/aux_mod.rs | 0 .../auxiliary/remap_path_prefix_aux.rs | 0 .../auxiliary/xcrate-generic.rs | 0 .../remap_path_prefix/issue-73167-remap-std.rs | 0 .../remap_path_prefix/main.rs | 0 .../remap_path_prefix/xcrate-generic.rs | 0 .../repeat-operand-zero-len.rs | 0 .../repeat-operand-zst-elem.rs | 0 .../repeat-trusted-len.rs | 0 .../repr/transparent-byval-struct-ptr.rs | 0 .../repr/transparent-imm-array.rs | 0 .../repr/transparent-mips64.rs | 0 .../repr/transparent-opaque-ptr.rs | 0 .../repr/transparent-sparc64.rs | 0 .../repr/transparent-sysv64.rs | 0 .../repr/transparent.rs | 0 tests/{codegen => codegen-llvm}/retpoline.rs | 0 .../riscv-abi/call-llvm-intrinsics.rs | 0 .../riscv-abi/cast-local-large-enough.rs | 0 .../riscv-abi/riscv64-lp64-lp64f-lp64d-abi.rs | 0 .../riscv-abi/riscv64-lp64d-abi.rs | 0 .../riscv-abi/riscv64-lp64f-lp64d-abi.rs | 0 .../riscv-target-abi.rs | 0 .../rust-abi-arch-specific-adjustment.rs | 0 tests/{codegen => codegen-llvm}/s390x-simd.rs | 0 ...aarch64-shadow-call-stack-with-fixed-x18.rs | 0 .../address-sanitizer-globals-tracking.rs | 0 .../cfi/add-canonical-jump-tables-flag.rs | 0 .../cfi/add-cfi-normalize-integers-flag.rs | 0 .../cfi/add-enable-split-lto-unit-flag.rs | 0 .../cfi/dbg-location-on-cfi-blocks.rs | 0 .../cfi/emit-type-checks-attr-no-sanitize.rs | 0 .../sanitizer/cfi/emit-type-checks.rs | 0 .../emit-type-metadata-attr-cfi-encoding.rs | 0 ...tadata-id-itanium-cxx-abi-const-generics.rs | 0 ...etadata-id-itanium-cxx-abi-drop-in-place.rs | 0 ...tadata-id-itanium-cxx-abi-function-types.rs | 0 ...pe-metadata-id-itanium-cxx-abi-lifetimes.rs | 0 ...-itanium-cxx-abi-method-secondary-typeid.rs | 0 ...t-type-metadata-id-itanium-cxx-abi-paths.rs | 0 ...etadata-id-itanium-cxx-abi-pointer-types.rs | 0 ...adata-id-itanium-cxx-abi-primitive-types.rs | 0 ...d-itanium-cxx-abi-repr-transparent-types.rs | 0 ...tadata-id-itanium-cxx-abi-sequence-types.rs | 0 ...-metadata-id-itanium-cxx-abi-trait-types.rs | 0 ...ta-id-itanium-cxx-abi-user-defined-types.rs | 0 ...ype-metadata-itanium-cxx-abi-generalized.rs | 0 ...a-itanium-cxx-abi-normalized-generalized.rs | 0 ...type-metadata-itanium-cxx-abi-normalized.rs | 0 .../cfi/emit-type-metadata-itanium-cxx-abi.rs | 0 .../cfi/emit-type-metadata-trait-objects.rs | 0 .../sanitizer/cfi/external_weak_symbols.rs | 0 .../sanitizer/cfi/generalize-pointers.rs | 0 .../sanitizer/cfi/normalize-integers.rs | 0 .../sanitizer/dataflow-instrument-functions.rs | 0 .../sanitizer/kasan-emits-instrumentation.rs | 0 .../kcfi/add-cfi-normalize-integers-flag.rs | 0 .../sanitizer/kcfi/add-kcfi-arity-flag.rs | 0 .../sanitizer/kcfi/add-kcfi-flag.rs | 0 .../sanitizer/kcfi/add-kcfi-offset-flag.rs | 0 ...mit-kcfi-operand-bundle-attr-no-sanitize.rs | 0 ...erand-bundle-itanium-cxx-abi-generalized.rs | 0 ...e-itanium-cxx-abi-normalized-generalized.rs | 0 ...perand-bundle-itanium-cxx-abi-normalized.rs | 0 ...emit-kcfi-operand-bundle-itanium-cxx-abi.rs | 0 .../sanitizer/kcfi/emit-kcfi-operand-bundle.rs | 0 .../kcfi/emit-type-metadata-trait-objects.rs | 0 .../sanitizer/kcfi/naked-function.rs | 0 .../sanitizer/memory-track-origins.rs | 0 .../sanitizer/memtag-attr-check.rs | 0 .../sanitizer/no-sanitize-inlining.rs | 0 .../sanitizer/no-sanitize.rs | 0 .../sanitizer/riscv64-shadow-call-stack.rs | 0 .../sanitizer/safestack-attr-check.rs | 0 .../sanitizer/sanitizer-recover.rs | 0 .../sanitizer/scs-attr-check.rs | 0 .../scalar-pair-bool.rs | 0 .../set-discriminant-invalid.rs | 0 .../simd-intrinsic/simd-intrinsic-float-abs.rs | 0 .../simd-intrinsic-float-ceil.rs | 0 .../simd-intrinsic/simd-intrinsic-float-cos.rs | 0 .../simd-intrinsic/simd-intrinsic-float-exp.rs | 0 .../simd-intrinsic-float-exp2.rs | 0 .../simd-intrinsic-float-floor.rs | 0 .../simd-intrinsic/simd-intrinsic-float-fma.rs | 0 .../simd-intrinsic-float-fsqrt.rs | 0 .../simd-intrinsic/simd-intrinsic-float-log.rs | 0 .../simd-intrinsic-float-log10.rs | 0 .../simd-intrinsic-float-log2.rs | 0 .../simd-intrinsic-float-minmax.rs | 0 .../simd-intrinsic/simd-intrinsic-float-sin.rs | 0 ...-intrinsic-generic-arithmetic-saturating.rs | 0 .../simd-intrinsic-generic-bitmask.rs | 0 .../simd-intrinsic-generic-gather.rs | 0 .../simd-intrinsic-generic-masked-load.rs | 0 .../simd-intrinsic-generic-masked-store.rs | 0 .../simd-intrinsic-generic-scatter.rs | 0 .../simd-intrinsic-generic-select.rs | 0 .../simd-intrinsic-mask-reduce.rs | 0 .../simd-intrinsic-transmute-array.rs | 0 .../simd/aggregate-simd.rs | 0 .../simd/extract-insert-dyn.rs | 0 .../simd/packed-simd-alignment.rs | 0 .../simd/packed-simd.rs | 0 .../simd/simd-wide-sum.rs | 0 .../simd/simd_arith_offset.rs | 0 .../simd/swap-simd-types.rs | 0 .../simd/unpadded-simd.rs | 0 .../skip-mono-inside-if-false.rs | 0 .../slice-as_chunks.rs | 0 .../slice-indexing.rs | 0 tests/{codegen => codegen-llvm}/slice-init.rs | 0 .../slice-is-ascii.rs | 0 .../slice-iter-fold.rs | 0 .../slice-iter-len-eq-zero.rs | 0 .../slice-iter-nonnull.rs | 0 .../slice-last-elements-optimization.rs | 0 .../slice-pointer-nonnull-unwrap.rs | 0 .../slice-position-bounds-check.rs | 0 .../slice-ref-equality.rs | 0 .../{codegen => codegen-llvm}/slice-reverse.rs | 0 .../slice-split-at.rs | 0 .../slice-windows-no-bounds-check.rs | 0 .../slice_as_from_ptr_range.rs | 0 .../some-abis-do-extend-params-to-32-bits.rs | 0 .../some-global-nonnull.rs | 0 .../sparc-struct-abi.rs | 0 .../split-lto-unit.rs | 0 .../src-hash-algorithm-md5.rs | 0 .../src-hash-algorithm-sha1.rs | 0 .../src-hash-algorithm-sha256.rs | 0 .../sroa-fragment-debuginfo.rs | 0 .../sse42-implies-crc32.rs | 0 .../stack-probes-inline.rs | 0 .../stack-protector.rs | 0 .../static-relocation-model-msvc.rs | 0 .../staticlib-external-inline-fns.rs | 0 .../step_by-overflow-checks.rs | 0 tests/{codegen => codegen-llvm}/stores.rs | 0 tests/{codegen => codegen-llvm}/string-push.rs | 0 .../swap-large-types.rs | 0 .../swap-small-types.rs | 0 .../target-cpu-on-functions.rs | 0 .../target-feature-inline-closure.rs | 0 .../target-feature-negative-implication.rs | 0 .../target-feature-overrides.rs | 0 .../terminating-catchpad.rs | 0 .../{codegen => codegen-llvm}/thread-local.rs | 0 .../tied-features-strength.rs | 0 tests/{codegen => codegen-llvm}/to_vec.rs | 0 .../trailing_zeros.rs | 0 .../transmute-optimized.rs | 0 .../transmute-scalar.rs | 0 .../try_question_mark_nop.rs | 0 .../tune-cpu-on-functions.rs | 0 .../tuple-layout-opt.rs | 0 tests/{codegen => codegen-llvm}/ub-checks.rs | 0 .../unchecked-float-casts.rs | 0 .../unchecked_shifts.rs | 0 .../uninhabited-transparent-return-abi.rs | 0 .../{codegen => codegen-llvm}/uninit-consts.rs | 0 .../uninit-repeat-in-aggregate.rs | 0 tests/{codegen => codegen-llvm}/union-abi.rs | 0 .../union-aggregate.rs | 0 .../unwind-abis/aapcs-unwind-abi.rs | 0 .../unwind-abis/c-unwind-abi-panic-abort.rs | 0 .../unwind-abis/c-unwind-abi.rs | 0 .../unwind-abis/cdecl-unwind-abi.rs | 0 .../unwind-abis/fastcall-unwind-abi.rs | 0 .../nounwind-on-stable-panic-abort.rs | 0 .../unwind-abis/nounwind.rs | 0 .../unwind-abis/stdcall-unwind-abi.rs | 0 .../unwind-abis/system-unwind-abi.rs | 0 .../unwind-abis/sysv64-unwind-abi.rs | 0 .../unwind-abis/thiscall-unwind-abi.rs | 0 .../unwind-abis/vectorcall-unwind-abi.rs | 0 .../unwind-abis/win64-unwind-abi.rs | 0 .../unwind-and-panic-abort.rs | 0 .../unwind-extern-exports.rs | 0 .../unwind-extern-imports.rs | 0 .../unwind-landingpad-cold.rs | 0 .../unwind-landingpad-inline.rs | 0 .../{codegen => codegen-llvm}/used_with_arg.rs | 0 tests/{codegen => codegen-llvm}/var-names.rs | 0 tests/{codegen => codegen-llvm}/vec-as-ptr.rs | 0 tests/{codegen => codegen-llvm}/vec-calloc.rs | 0 .../{codegen => codegen-llvm}/vec-in-place.rs | 0 .../vec-iter-collect-len.rs | 0 tests/{codegen => codegen-llvm}/vec-iter.rs | 0 .../vec-len-invariant.rs | 0 .../vec-optimizes-away.rs | 0 .../vec-reserve-extend.rs | 0 .../vec-shrink-panik.rs | 0 .../vec-with-capacity.rs | 0 .../vec_pop_push_noop.rs | 0 .../vecdeque-drain.rs | 0 .../vecdeque-nonempty-get-no-panic.rs | 0 .../vecdeque_no_panic.rs | 0 .../vecdeque_pop_push.rs | 0 .../virtual-call-attrs-issue-137646.rs | 0 .../virtual-function-elimination-32bit.rs | 0 .../virtual-function-elimination.rs | 0 .../{codegen => codegen-llvm}/vtable-loads.rs | 0 .../{codegen => codegen-llvm}/vtable-upcast.rs | 0 .../wasm_casts_trapping.rs | 0 .../wasm_exceptions.rs | 0 tests/{codegen => codegen-llvm}/zip.rs | 0 tests/{codegen => codegen-llvm}/zst-offset.rs | 0 tests/run-make/llvm-ident/rmake.rs | 2 +- tests/ui/abi/fixed_x18.rs | 2 +- triagebot.toml | 18 +++++++++--------- 676 files changed, 41 insertions(+), 36 deletions(-) rename tests/{codegen => codegen-llvm}/README.md (100%) rename tests/{codegen => codegen-llvm}/aarch64-softfloat.rs (100%) rename tests/{codegen => codegen-llvm}/aarch64-struct-align-128.rs (100%) rename tests/{codegen => codegen-llvm}/abi-efiapi.rs (100%) rename tests/{codegen => codegen-llvm}/abi-main-signature-16bit-c-int.rs (100%) rename tests/{codegen => codegen-llvm}/abi-main-signature-32bit-c-int.rs (100%) rename tests/{codegen => codegen-llvm}/abi-repr-ext.rs (100%) rename tests/{codegen => codegen-llvm}/abi-sysv64.rs (100%) rename tests/{codegen => codegen-llvm}/abi-win64-zst.rs (100%) rename tests/{codegen => codegen-llvm}/abi-x86-interrupt.rs (100%) rename tests/{codegen => codegen-llvm}/abi-x86-sse.rs (100%) rename tests/{codegen => codegen-llvm}/abi-x86_64_sysv.rs (100%) rename tests/{codegen => codegen-llvm}/addr-of-mutate.rs (100%) rename tests/{codegen => codegen-llvm}/adjustments.rs (100%) rename tests/{codegen => codegen-llvm}/align-byval-alignment-mismatch.rs (100%) rename tests/{codegen => codegen-llvm}/align-byval-vector.rs (100%) rename tests/{codegen => codegen-llvm}/align-byval.rs (100%) rename tests/{codegen => codegen-llvm}/align-enum.rs (100%) rename tests/{codegen => codegen-llvm}/align-fn.rs (100%) rename tests/{codegen => codegen-llvm}/align-offset.rs (100%) rename tests/{codegen => codegen-llvm}/align-struct.rs (100%) rename tests/{codegen => codegen-llvm}/alloc-optimisation.rs (100%) rename tests/{codegen => codegen-llvm}/amdgpu-addrspacecast.rs (100%) rename tests/{codegen => codegen-llvm}/array-clone.rs (100%) rename tests/{codegen => codegen-llvm}/array-cmp.rs (100%) rename tests/{codegen => codegen-llvm}/array-codegen.rs (100%) rename tests/{codegen => codegen-llvm}/array-equality.rs (100%) rename tests/{codegen => codegen-llvm}/array-from_fn.rs (100%) rename tests/{codegen => codegen-llvm}/array-map.rs (100%) rename tests/{codegen => codegen-llvm}/array-optimized.rs (100%) rename tests/{codegen => codegen-llvm}/array-repeat.rs (100%) rename tests/{codegen => codegen-llvm}/ascii-char.rs (100%) rename tests/{codegen => codegen-llvm}/asm/aarch64-clobbers.rs (100%) rename tests/{codegen => codegen-llvm}/asm/avr-clobbers.rs (100%) rename tests/{codegen => codegen-llvm}/asm/bpf-clobbers.rs (100%) rename tests/{codegen => codegen-llvm}/asm/critical.rs (100%) rename tests/{codegen => codegen-llvm}/asm/csky-clobbers.rs (100%) rename tests/{codegen => codegen-llvm}/asm/foo.s (100%) rename tests/{codegen => codegen-llvm}/asm/global_asm.rs (100%) rename tests/{codegen => codegen-llvm}/asm/global_asm_include.rs (100%) rename tests/{codegen => codegen-llvm}/asm/global_asm_x2.rs (100%) rename tests/{codegen => codegen-llvm}/asm/goto.rs (100%) rename tests/{codegen => codegen-llvm}/asm/hexagon-clobbers.rs (100%) rename tests/{codegen => codegen-llvm}/asm/may_unwind.rs (100%) rename tests/{codegen => codegen-llvm}/asm/maybe-uninit.rs (100%) rename tests/{codegen => codegen-llvm}/asm/msp430-clobbers.rs (100%) rename tests/{codegen => codegen-llvm}/asm/multiple-options.rs (100%) rename tests/{codegen => codegen-llvm}/asm/options.rs (100%) rename tests/{codegen => codegen-llvm}/asm/powerpc-clobbers.rs (100%) rename tests/{codegen => codegen-llvm}/asm/riscv-clobbers.rs (100%) rename tests/{codegen => codegen-llvm}/asm/s390x-clobbers.rs (100%) rename tests/{codegen => codegen-llvm}/asm/sanitize-llvm.rs (100%) rename tests/{codegen => codegen-llvm}/asm/sparc-clobbers.rs (100%) rename tests/{codegen => codegen-llvm}/asm/x86-clobber_abi.rs (100%) rename tests/{codegen => codegen-llvm}/asm/x86-clobbers.rs (100%) rename tests/{codegen => codegen-llvm}/asm/x86-target-clobbers.rs (100%) rename tests/{codegen => codegen-llvm}/assign-desugar-debuginfo.rs (100%) rename tests/{codegen => codegen-llvm}/async-closure-debug.rs (100%) rename tests/{codegen => codegen-llvm}/async-fn-debug-awaitee-field.rs (100%) rename tests/{codegen => codegen-llvm}/async-fn-debug-msvc.rs (100%) rename tests/{codegen => codegen-llvm}/async-fn-debug.rs (100%) rename tests/{codegen => codegen-llvm}/atomic-operations.rs (100%) rename tests/{codegen => codegen-llvm}/atomicptr.rs (100%) rename tests/{codegen => codegen-llvm}/autodiff/batched.rs (100%) rename tests/{codegen => codegen-llvm}/autodiff/generic.rs (100%) rename tests/{codegen => codegen-llvm}/autodiff/identical_fnc.rs (100%) rename tests/{codegen => codegen-llvm}/autodiff/inline.rs (100%) rename tests/{codegen => codegen-llvm}/autodiff/scalar.rs (100%) rename tests/{codegen => codegen-llvm}/autodiff/sret.rs (100%) rename tests/{codegen => codegen-llvm}/autodiffv2.rs (100%) rename tests/{codegen => codegen-llvm}/autovec/dont-shuffle-bswaps-opt2.rs (100%) rename tests/{codegen => codegen-llvm}/autovec/dont-shuffle-bswaps-opt3.rs (100%) rename tests/{codegen => codegen-llvm}/autovectorize-f32x4.rs (100%) rename tests/{codegen => codegen-llvm}/auxiliary/extern_decl.rs (100%) rename tests/{codegen => codegen-llvm}/auxiliary/nounwind.rs (100%) rename tests/{codegen => codegen-llvm}/auxiliary/thread_local_aux.rs (100%) rename tests/{codegen => codegen-llvm}/avr/avr-func-addrspace.rs (100%) rename tests/{codegen => codegen-llvm}/bigint-helpers.rs (100%) rename tests/{codegen => codegen-llvm}/binary-heap-peek-mut-pop-no-panic.rs (100%) rename tests/{codegen => codegen-llvm}/binary-search-index-no-bound-check.rs (100%) rename tests/{codegen => codegen-llvm}/bool-cmp.rs (100%) rename tests/{codegen => codegen-llvm}/bounds-checking/gep-issue-133979.rs (100%) rename tests/{codegen => codegen-llvm}/box-default-debug-copies.rs (100%) rename tests/{codegen => codegen-llvm}/box-uninit-bytes.rs (100%) rename tests/{codegen => codegen-llvm}/bpf-alu32.rs (100%) rename tests/{codegen => codegen-llvm}/branch-protection.rs (100%) rename tests/{codegen => codegen-llvm}/call-llvm-intrinsics.rs (100%) rename tests/{codegen => codegen-llvm}/call-tmps-lifetime.rs (100%) rename tests/{codegen => codegen-llvm}/cast-optimized.rs (100%) rename tests/{codegen => codegen-llvm}/cast-target-abi.rs (100%) rename tests/{codegen => codegen-llvm}/catch-unwind.rs (100%) rename tests/{codegen => codegen-llvm}/cdylib-external-inline-fns.rs (100%) rename tests/{codegen => codegen-llvm}/cf-protection.rs (100%) rename tests/{codegen => codegen-llvm}/cffi/c-variadic-copy.rs (100%) rename tests/{codegen => codegen-llvm}/cffi/c-variadic-naked.rs (100%) rename tests/{codegen => codegen-llvm}/cffi/c-variadic-opt.rs (100%) rename tests/{codegen => codegen-llvm}/cffi/c-variadic.rs (100%) rename tests/{codegen => codegen-llvm}/cffi/ffi-const.rs (100%) rename tests/{codegen => codegen-llvm}/cffi/ffi-out-of-bounds-loads.rs (100%) rename tests/{codegen => codegen-llvm}/cffi/ffi-pure.rs (100%) rename tests/{codegen => codegen-llvm}/cfguard-checks.rs (100%) rename tests/{codegen => codegen-llvm}/cfguard-disabled.rs (100%) rename tests/{codegen => codegen-llvm}/cfguard-nochecks.rs (100%) rename tests/{codegen => codegen-llvm}/cfguard-non-msvc.rs (100%) rename tests/{codegen => codegen-llvm}/char-ascii-branchless.rs (100%) rename tests/{codegen => codegen-llvm}/char-escape-debug-no-bounds-check.rs (100%) rename tests/{codegen => codegen-llvm}/checked_ilog.rs (100%) rename tests/{codegen => codegen-llvm}/checked_math.rs (100%) rename tests/{codegen => codegen-llvm}/clone-shims.rs (100%) rename tests/{codegen => codegen-llvm}/clone_as_copy.rs (100%) rename tests/{codegen => codegen-llvm}/codemodels.rs (100%) rename tests/{codegen => codegen-llvm}/coercions.rs (100%) rename tests/{codegen => codegen-llvm}/cold-call-declare-and-call.rs (100%) rename tests/{codegen => codegen-llvm}/common_prim_int_ptr.rs (100%) rename tests/{codegen => codegen-llvm}/comparison-operators-2-struct.rs (100%) rename tests/{codegen => codegen-llvm}/comparison-operators-2-tuple.rs (100%) rename tests/{codegen => codegen-llvm}/comparison-operators-newtype.rs (100%) rename tests/{codegen => codegen-llvm}/compiletest-self-test/minicore-smoke-test.rs (100%) rename tests/{codegen => codegen-llvm}/const-array.rs (100%) rename tests/{codegen => codegen-llvm}/const-vector.rs (100%) rename tests/{codegen => codegen-llvm}/const_scalar_pair.rs (100%) rename tests/{codegen => codegen-llvm}/constant-branch.rs (100%) rename tests/{codegen => codegen-llvm}/consts.rs (100%) rename tests/{codegen => codegen-llvm}/coroutine-debug-msvc.rs (100%) rename tests/{codegen => codegen-llvm}/coroutine-debug.rs (100%) rename tests/{codegen => codegen-llvm}/cross-crate-inlining/always-inline.rs (100%) rename tests/{codegen => codegen-llvm}/cross-crate-inlining/auxiliary/always.rs (100%) rename tests/{codegen => codegen-llvm}/cross-crate-inlining/auxiliary/leaf.rs (100%) rename tests/{codegen => codegen-llvm}/cross-crate-inlining/auxiliary/never.rs (100%) rename tests/{codegen => codegen-llvm}/cross-crate-inlining/leaf-inlining.rs (100%) rename tests/{codegen => codegen-llvm}/cross-crate-inlining/never-inline.rs (100%) rename tests/{codegen => codegen-llvm}/dealloc-no-unwind.rs (100%) rename tests/{codegen => codegen-llvm}/debug-accessibility/crate-enum.rs (100%) rename tests/{codegen => codegen-llvm}/debug-accessibility/crate-struct.rs (100%) rename tests/{codegen => codegen-llvm}/debug-accessibility/private-enum.rs (100%) rename tests/{codegen => codegen-llvm}/debug-accessibility/private-struct.rs (100%) rename tests/{codegen => codegen-llvm}/debug-accessibility/public-enum.rs (100%) rename tests/{codegen => codegen-llvm}/debug-accessibility/public-struct.rs (100%) rename tests/{codegen => codegen-llvm}/debug-accessibility/struct-fields.rs (100%) rename tests/{codegen => codegen-llvm}/debug-accessibility/super-enum.rs (100%) rename tests/{codegen => codegen-llvm}/debug-accessibility/super-struct.rs (100%) rename tests/{codegen => codegen-llvm}/debug-accessibility/tuple-fields.rs (100%) rename tests/{codegen => codegen-llvm}/debug-alignment.rs (100%) rename tests/{codegen => codegen-llvm}/debug-column-msvc.rs (100%) rename tests/{codegen => codegen-llvm}/debug-column.rs (100%) rename tests/{codegen => codegen-llvm}/debug-compile-unit-path.rs (100%) rename tests/{codegen => codegen-llvm}/debug-fndef-size.rs (100%) rename tests/{codegen => codegen-llvm}/debug-limited.rs (100%) rename tests/{codegen => codegen-llvm}/debug-line-directives-only.rs (100%) rename tests/{codegen => codegen-llvm}/debug-line-tables-only.rs (100%) rename tests/{codegen => codegen-llvm}/debug-linkage-name.rs (100%) rename tests/{codegen => codegen-llvm}/debug-vtable.rs (100%) rename tests/{codegen => codegen-llvm}/debuginfo-constant-locals.rs (100%) rename tests/{codegen => codegen-llvm}/debuginfo-generic-closure-env-names.rs (100%) rename tests/{codegen => codegen-llvm}/debuginfo-inline-callsite-location.rs (100%) rename tests/{codegen => codegen-llvm}/debuginfo-proc-macro/auxiliary/macro_def.rs (100%) rename tests/{codegen => codegen-llvm}/debuginfo-proc-macro/mir_inlined_twice_var_locs.rs (100%) rename tests/{codegen => codegen-llvm}/deduced-param-attrs.rs (100%) rename tests/{codegen => codegen-llvm}/default-requires-uwtable.rs (100%) rename tests/{codegen => codegen-llvm}/default-visibility.rs (100%) rename tests/{codegen => codegen-llvm}/direct-access-external-data.rs (100%) rename tests/{codegen => codegen-llvm}/dllimports/auxiliary/dummy.rs (100%) rename tests/{codegen => codegen-llvm}/dllimports/auxiliary/wrapper.rs (100%) rename tests/{codegen => codegen-llvm}/dllimports/main.rs (100%) rename tests/{codegen => codegen-llvm}/dont_codegen_private_const_fn_only_used_in_const_eval.rs (100%) rename tests/{codegen => codegen-llvm}/drop-in-place-noalias.rs (100%) rename tests/{codegen => codegen-llvm}/drop.rs (100%) rename tests/{codegen => codegen-llvm}/dst-offset.rs (100%) rename tests/{codegen => codegen-llvm}/dst-vtable-align-nonzero.rs (100%) rename tests/{codegen => codegen-llvm}/dst-vtable-size-range.rs (100%) rename tests/{codegen => codegen-llvm}/ehcontguard_disabled.rs (100%) rename tests/{codegen => codegen-llvm}/ehcontguard_enabled.rs (100%) rename tests/{codegen => codegen-llvm}/emscripten-catch-unwind-js-eh.rs (100%) rename tests/{codegen => codegen-llvm}/emscripten-catch-unwind-wasm-eh.rs (100%) rename tests/{codegen => codegen-llvm}/enable-lto-unit-splitting.rs (100%) rename tests/{codegen => codegen-llvm}/enum/enum-aggregate.rs (100%) rename tests/{codegen => codegen-llvm}/enum/enum-bounds-check-derived-idx.rs (100%) rename tests/{codegen => codegen-llvm}/enum/enum-bounds-check-issue-13926.rs (100%) rename tests/{codegen => codegen-llvm}/enum/enum-bounds-check-issue-82871.rs (100%) rename tests/{codegen => codegen-llvm}/enum/enum-bounds-check.rs (100%) rename tests/{codegen => codegen-llvm}/enum/enum-debug-clike.rs (100%) rename tests/{codegen => codegen-llvm}/enum/enum-debug-niche-2.rs (100%) rename tests/{codegen => codegen-llvm}/enum/enum-debug-niche.rs (100%) rename tests/{codegen => codegen-llvm}/enum/enum-debug-tagged.rs (100%) rename tests/{codegen => codegen-llvm}/enum/enum-discriminant-eq.rs (100%) rename tests/{codegen => codegen-llvm}/enum/enum-discriminant-value.rs (100%) rename tests/{codegen => codegen-llvm}/enum/enum-early-otherwise-branch.rs (100%) rename tests/{codegen => codegen-llvm}/enum/enum-match.rs (100%) rename tests/{codegen => codegen-llvm}/enum/enum-two-variants-match.rs (100%) rename tests/{codegen => codegen-llvm}/enum/enum-u128.rs (100%) rename tests/{codegen => codegen-llvm}/enum/unreachable_enum_default_branch.rs (100%) rename tests/{codegen => codegen-llvm}/ergonomic-clones/closure.rs (100%) rename tests/{codegen => codegen-llvm}/error-provide.rs (100%) rename tests/{codegen => codegen-llvm}/export-no-mangle.rs (100%) rename tests/{codegen => codegen-llvm}/external-no-mangle-fns.rs (100%) rename tests/{codegen => codegen-llvm}/external-no-mangle-statics.rs (100%) rename tests/{codegen => codegen-llvm}/f128-wasm32-callconv.rs (100%) rename tests/{codegen => codegen-llvm}/fastcall-inreg.rs (100%) rename tests/{codegen => codegen-llvm}/fatptr.rs (100%) rename tests/{codegen => codegen-llvm}/fewer-names.rs (100%) rename tests/{codegen => codegen-llvm}/fixed-x18.rs (100%) rename tests/{codegen => codegen-llvm}/float/algebraic.rs (100%) rename tests/{codegen => codegen-llvm}/float/f128.rs (100%) rename tests/{codegen => codegen-llvm}/float/f16-f128-inline.rs (100%) rename tests/{codegen => codegen-llvm}/float/f16.rs (100%) rename tests/{codegen => codegen-llvm}/float_math.rs (100%) rename tests/{codegen => codegen-llvm}/fn-impl-trait-self.rs (100%) rename tests/{codegen => codegen-llvm}/fn-parameters-on-different-lines-debuginfo.rs (100%) rename tests/{codegen => codegen-llvm}/force-frame-pointers.rs (100%) rename tests/{codegen => codegen-llvm}/force-no-unwind-tables.rs (100%) rename tests/{codegen => codegen-llvm}/force-unwind-tables.rs (100%) rename tests/{codegen => codegen-llvm}/frame-pointer-cli-control.rs (100%) rename tests/{codegen => codegen-llvm}/frame-pointer.rs (100%) rename tests/{codegen => codegen-llvm}/function-arguments-noopt.rs (100%) rename tests/{codegen => codegen-llvm}/function-arguments.rs (100%) rename tests/{codegen => codegen-llvm}/function-return.rs (100%) rename tests/{codegen => codegen-llvm}/gdb_debug_script_load.rs (100%) rename tests/{codegen => codegen-llvm}/generic-debug.rs (100%) rename tests/{codegen => codegen-llvm}/gep-index.rs (100%) rename tests/{codegen => codegen-llvm}/gpu-kernel-abi.rs (100%) rename tests/{codegen => codegen-llvm}/gpu_offload/gpu_host.rs (100%) rename tests/{codegen => codegen-llvm}/hint/cold_path.rs (100%) rename tests/{codegen => codegen-llvm}/hint/likely.rs (100%) rename tests/{codegen => codegen-llvm}/hint/unlikely.rs (100%) rename tests/{codegen => codegen-llvm}/i128-wasm32-callconv.rs (100%) rename tests/{codegen => codegen-llvm}/i128-x86-align.rs (100%) rename tests/{codegen => codegen-llvm}/i128-x86-callconv.rs (100%) rename tests/{codegen => codegen-llvm}/infallible-unwrap-in-opt-z.rs (100%) rename tests/{codegen => codegen-llvm}/inherit_overflow.rs (100%) rename tests/{codegen => codegen-llvm}/inline-always-works-always.rs (100%) rename tests/{codegen => codegen-llvm}/inline-debuginfo.rs (100%) rename tests/{codegen => codegen-llvm}/inline-function-args-debug-info.rs (100%) rename tests/{codegen => codegen-llvm}/inline-hint.rs (100%) rename tests/{codegen => codegen-llvm}/instrument-coverage/instrument-coverage-off.rs (100%) rename tests/{codegen => codegen-llvm}/instrument-coverage/instrument-coverage.rs (100%) rename tests/{codegen => codegen-llvm}/instrument-coverage/testprog.rs (100%) rename tests/{codegen => codegen-llvm}/instrument-mcount.rs (100%) rename tests/{codegen => codegen-llvm}/instrument-xray/basic.rs (100%) rename tests/{codegen => codegen-llvm}/instrument-xray/options-combine.rs (100%) rename tests/{codegen => codegen-llvm}/instrument-xray/options-override.rs (100%) rename tests/{codegen => codegen-llvm}/integer-cmp.rs (100%) rename tests/{codegen => codegen-llvm}/integer-overflow.rs (100%) rename tests/{codegen => codegen-llvm}/internalize-closures.rs (100%) rename tests/{codegen => codegen-llvm}/intrinsic-no-unnamed-attr.rs (100%) rename tests/{codegen => codegen-llvm}/intrinsics/aggregate-thin-pointer.rs (100%) rename tests/{codegen => codegen-llvm}/intrinsics/carrying_mul_add.rs (100%) rename tests/{codegen => codegen-llvm}/intrinsics/cold_path.rs (100%) rename tests/{codegen => codegen-llvm}/intrinsics/cold_path2.rs (100%) rename tests/{codegen => codegen-llvm}/intrinsics/cold_path3.rs (100%) rename tests/{codegen => codegen-llvm}/intrinsics/compare_bytes.rs (100%) rename tests/{codegen => codegen-llvm}/intrinsics/const_eval_select.rs (100%) rename tests/{codegen => codegen-llvm}/intrinsics/ctlz.rs (100%) rename tests/{codegen => codegen-llvm}/intrinsics/ctpop.rs (100%) rename tests/{codegen => codegen-llvm}/intrinsics/disjoint_bitor.rs (100%) rename tests/{codegen => codegen-llvm}/intrinsics/exact_div.rs (100%) rename tests/{codegen => codegen-llvm}/intrinsics/likely.rs (100%) rename tests/{codegen => codegen-llvm}/intrinsics/likely_assert.rs (100%) rename tests/{codegen => codegen-llvm}/intrinsics/mask.rs (100%) rename tests/{codegen => codegen-llvm}/intrinsics/nontemporal.rs (100%) rename tests/{codegen => codegen-llvm}/intrinsics/offset.rs (100%) rename tests/{codegen => codegen-llvm}/intrinsics/offset_from.rs (100%) rename tests/{codegen => codegen-llvm}/intrinsics/prefetch.rs (100%) rename tests/{codegen => codegen-llvm}/intrinsics/ptr_metadata.rs (100%) rename tests/{codegen => codegen-llvm}/intrinsics/rotate_left.rs (100%) rename tests/{codegen => codegen-llvm}/intrinsics/rustc_intrinsic_must_be_overridden.rs (100%) rename tests/{codegen => codegen-llvm}/intrinsics/select_unpredictable.rs (100%) rename tests/{codegen => codegen-llvm}/intrinsics/three_way_compare.rs (100%) rename tests/{codegen => codegen-llvm}/intrinsics/transmute-niched.rs (100%) rename tests/{codegen => codegen-llvm}/intrinsics/transmute-x64.rs (100%) rename tests/{codegen => codegen-llvm}/intrinsics/transmute.rs (100%) rename tests/{codegen => codegen-llvm}/intrinsics/typed_swap.rs (100%) rename tests/{codegen => codegen-llvm}/intrinsics/unchecked_math.rs (100%) rename tests/{codegen => codegen-llvm}/intrinsics/unlikely.rs (100%) rename tests/{codegen => codegen-llvm}/intrinsics/volatile.rs (100%) rename tests/{codegen => codegen-llvm}/intrinsics/volatile_order.rs (100%) rename tests/{codegen => codegen-llvm}/is_val_statically_known.rs (100%) rename tests/{codegen => codegen-llvm}/issue-97217.rs (100%) rename tests/{codegen => codegen-llvm}/issues/issue-101048.rs (100%) rename tests/{codegen => codegen-llvm}/issues/issue-101082.rs (100%) rename tests/{codegen => codegen-llvm}/issues/issue-101814.rs (100%) rename tests/{codegen => codegen-llvm}/issues/issue-103132.rs (100%) rename tests/{codegen => codegen-llvm}/issues/issue-103285-ptr-addr-overflow-check.rs (100%) rename tests/{codegen => codegen-llvm}/issues/issue-103327.rs (100%) rename tests/{codegen => codegen-llvm}/issues/issue-103840.rs (100%) rename tests/{codegen => codegen-llvm}/issues/issue-105386-ub-in-debuginfo.rs (100%) rename tests/{codegen => codegen-llvm}/issues/issue-106369.rs (100%) rename tests/{codegen => codegen-llvm}/issues/issue-107681-unwrap_unchecked.rs (100%) rename tests/{codegen => codegen-llvm}/issues/issue-108395-branchy-bool-match.rs (100%) rename tests/{codegen => codegen-llvm}/issues/issue-109328-split_first.rs (100%) rename tests/{codegen => codegen-llvm}/issues/issue-110797-enum-jump-same.rs (100%) rename tests/{codegen => codegen-llvm}/issues/issue-111603.rs (100%) rename tests/{codegen => codegen-llvm}/issues/issue-112509-slice-get-andthen-get.rs (100%) rename tests/{codegen => codegen-llvm}/issues/issue-113757-bounds-check-after-cmp-max.rs (100%) rename tests/{codegen => codegen-llvm}/issues/issue-114312.rs (100%) rename tests/{codegen => codegen-llvm}/issues/issue-115385-llvm-jump-threading.rs (100%) rename tests/{codegen => codegen-llvm}/issues/issue-116878.rs (100%) rename tests/{codegen => codegen-llvm}/issues/issue-118306.rs (100%) rename tests/{codegen => codegen-llvm}/issues/issue-118392.rs (100%) rename tests/{codegen => codegen-llvm}/issues/issue-119422.rs (100%) rename tests/{codegen => codegen-llvm}/issues/issue-121719-common-field-offset.rs (100%) rename tests/{codegen => codegen-llvm}/issues/issue-122600-ptr-discriminant-update.rs (100%) rename tests/{codegen => codegen-llvm}/issues/issue-123712-str-to-lower-autovectorization.rs (100%) rename tests/{codegen => codegen-llvm}/issues/issue-126585.rs (100%) rename tests/{codegen => codegen-llvm}/issues/issue-129795.rs (100%) rename tests/{codegen => codegen-llvm}/issues/issue-13018.rs (100%) rename tests/{codegen => codegen-llvm}/issues/issue-136329-optnone-noinline.rs (100%) rename tests/{codegen => codegen-llvm}/issues/issue-15953.rs (100%) rename tests/{codegen => codegen-llvm}/issues/issue-27130.rs (100%) rename tests/{codegen => codegen-llvm}/issues/issue-32031.rs (100%) rename tests/{codegen => codegen-llvm}/issues/issue-32364.rs (100%) rename tests/{codegen => codegen-llvm}/issues/issue-34634.rs (100%) rename tests/{codegen => codegen-llvm}/issues/issue-34947-pow-i32.rs (100%) rename tests/{codegen => codegen-llvm}/issues/issue-36010-some-box-is_some.rs (100%) rename tests/{codegen => codegen-llvm}/issues/issue-37945.rs (100%) rename tests/{codegen => codegen-llvm}/issues/issue-45222.rs (100%) rename tests/{codegen => codegen-llvm}/issues/issue-45466.rs (100%) rename tests/{codegen => codegen-llvm}/issues/issue-45964-bounds-check-slice-pos.rs (100%) rename tests/{codegen => codegen-llvm}/issues/issue-47278.rs (100%) rename tests/{codegen => codegen-llvm}/issues/issue-47442.rs (100%) rename tests/{codegen => codegen-llvm}/issues/issue-56267-2.rs (100%) rename tests/{codegen => codegen-llvm}/issues/issue-56267.rs (100%) rename tests/{codegen => codegen-llvm}/issues/issue-56927.rs (100%) rename tests/{codegen => codegen-llvm}/issues/issue-58881.rs (100%) rename tests/{codegen => codegen-llvm}/issues/issue-59352.rs (100%) rename tests/{codegen => codegen-llvm}/issues/issue-64219-fn-ptr-call-returning-never-is-noreturn.rs (100%) rename tests/{codegen => codegen-llvm}/issues/issue-68667-unwrap-combinators.rs (100%) rename tests/{codegen => codegen-llvm}/issues/issue-69101-bounds-check.rs (100%) rename tests/{codegen => codegen-llvm}/issues/issue-73031.rs (100%) rename tests/{codegen => codegen-llvm}/issues/issue-73258.rs (100%) rename tests/{codegen => codegen-llvm}/issues/issue-73338-effecient-cmp.rs (100%) rename tests/{codegen => codegen-llvm}/issues/issue-73396-bounds-check-after-position.rs (100%) rename tests/{codegen => codegen-llvm}/issues/issue-73827-bounds-check-index-in-subexpr.rs (100%) rename tests/{codegen => codegen-llvm}/issues/issue-74938-array-split-at.rs (100%) rename tests/{codegen => codegen-llvm}/issues/issue-75525-bounds-checks.rs (100%) rename tests/{codegen => codegen-llvm}/issues/issue-75546.rs (100%) rename tests/{codegen => codegen-llvm}/issues/issue-75659.rs (100%) rename tests/{codegen => codegen-llvm}/issues/issue-75978.rs (100%) rename tests/{codegen => codegen-llvm}/issues/issue-77812.rs (100%) rename tests/{codegen => codegen-llvm}/issues/issue-84268.rs (100%) rename tests/{codegen => codegen-llvm}/issues/issue-85872-multiple-reverse.rs (100%) rename tests/{codegen => codegen-llvm}/issues/issue-86106.rs (100%) rename tests/{codegen => codegen-llvm}/issues/issue-86109-eliminate-div-by-zero-check.rs (100%) rename tests/{codegen => codegen-llvm}/issues/issue-93036-assert-index.rs (100%) rename tests/{codegen => codegen-llvm}/issues/issue-96274.rs (100%) rename tests/{codegen => codegen-llvm}/issues/issue-96497-slice-size-nowrap.rs (100%) rename tests/{codegen => codegen-llvm}/issues/issue-98294-get-mut-copy-from-slice-opt.rs (100%) rename tests/{codegen => codegen-llvm}/issues/issue-98678-async.rs (100%) rename tests/{codegen => codegen-llvm}/issues/issue-98678-closure-coroutine.rs (100%) rename tests/{codegen => codegen-llvm}/issues/issue-98678-enum.rs (100%) rename tests/{codegen => codegen-llvm}/issues/issue-98678-struct-union.rs (100%) rename tests/{codegen => codegen-llvm}/issues/issue-99960.rs (100%) rename tests/{codegen => codegen-llvm}/issues/looping-over-ne-bytes-133528.rs (100%) rename tests/{codegen => codegen-llvm}/issues/str-to-string-128690.rs (100%) rename tests/{codegen => codegen-llvm}/iter-repeat-n-trivial-drop.rs (100%) rename tests/{codegen => codegen-llvm}/layout-size-checks.rs (100%) rename tests/{codegen => codegen-llvm}/lib-optimizations/iter-sum.rs (100%) rename tests/{codegen => codegen-llvm}/lib-optimizations/slice_rotate.rs (100%) rename tests/{codegen => codegen-llvm}/lifetime_start_end.rs (100%) rename tests/{codegen => codegen-llvm}/link-dead-code.rs (100%) rename tests/{codegen => codegen-llvm}/link_section.rs (100%) rename tests/{codegen => codegen-llvm}/llvm-ident.rs (100%) rename tests/{codegen => codegen-llvm}/llvm_module_flags.rs (100%) rename tests/{codegen => codegen-llvm}/loads.rs (100%) rename tests/{codegen => codegen-llvm}/local-generics-in-exe-internalized.rs (100%) rename tests/{codegen => codegen-llvm}/loongarch-abi/call-llvm-intrinsics.rs (100%) rename tests/{codegen => codegen-llvm}/loongarch-abi/loongarch64-lp64d-abi.rs (100%) rename tests/{codegen => codegen-llvm}/lto-removes-invokes.rs (100%) rename tests/{codegen => codegen-llvm}/macos/i686-macosx-deployment-target.rs (100%) rename tests/{codegen => codegen-llvm}/macos/i686-no-macosx-deployment-target.rs (100%) rename tests/{codegen => codegen-llvm}/macos/x86_64-macosx-deployment-target.rs (100%) rename tests/{codegen => codegen-llvm}/macos/x86_64-no-macosx-deployment-target.rs (100%) rename tests/{codegen => codegen-llvm}/mainsubprogram.rs (100%) rename tests/{codegen => codegen-llvm}/match-optimized.rs (100%) rename tests/{codegen => codegen-llvm}/match-optimizes-away.rs (100%) rename tests/{codegen => codegen-llvm}/match-unoptimized.rs (100%) rename tests/{codegen => codegen-llvm}/maybeuninit-rvo.rs (100%) rename tests/{codegen => codegen-llvm}/mem-replace-big-type.rs (100%) rename tests/{codegen => codegen-llvm}/mem-replace-simple-type.rs (100%) rename tests/{codegen => codegen-llvm}/merge-functions.rs (100%) rename tests/{codegen => codegen-llvm}/meta-filecheck/check-prefix.rs (100%) rename tests/{codegen => codegen-llvm}/meta-filecheck/filecheck-flags.rs (100%) rename tests/{codegen => codegen-llvm}/meta-filecheck/msvc-prefix-bad.rs (100%) rename tests/{codegen => codegen-llvm}/meta-filecheck/no-directives.rs (100%) rename tests/{codegen => codegen-llvm}/meta-filecheck/revision-prefix.rs (100%) rename tests/{codegen => codegen-llvm}/method-declaration.rs (100%) rename tests/{codegen => codegen-llvm}/min-function-alignment.rs (100%) rename tests/{codegen => codegen-llvm}/mir-aggregate-no-alloca.rs (100%) rename tests/{codegen => codegen-llvm}/mir-inlined-line-numbers.rs (100%) rename tests/{codegen => codegen-llvm}/mir_zst_stores.rs (100%) rename tests/{codegen => codegen-llvm}/move-before-nocapture-ref-arg.rs (100%) rename tests/{codegen => codegen-llvm}/move-operands.rs (100%) rename tests/{codegen => codegen-llvm}/naked-asan.rs (100%) rename tests/{codegen => codegen-llvm}/naked-fn/aligned.rs (100%) rename tests/{codegen => codegen-llvm}/naked-fn/generics.rs (100%) rename tests/{codegen => codegen-llvm}/naked-fn/instruction-set.rs (100%) rename tests/{codegen => codegen-llvm}/naked-fn/min-function-alignment.rs (100%) rename tests/{codegen => codegen-llvm}/naked-fn/naked-functions.rs (100%) rename tests/{codegen => codegen-llvm}/no-alloca-inside-if-false.rs (100%) rename tests/{codegen => codegen-llvm}/no-assumes-on-casts.rs (100%) rename tests/{codegen => codegen-llvm}/no-dllimport-w-cross-lang-lto.rs (100%) rename tests/{codegen => codegen-llvm}/no-jump-tables.rs (100%) rename tests/{codegen => codegen-llvm}/no-plt.rs (100%) rename tests/{codegen => codegen-llvm}/no-redundant-item-monomorphization.rs (100%) rename tests/{codegen => codegen-llvm}/no_builtins-at-crate.rs (100%) rename tests/{codegen => codegen-llvm}/noalias-box-off.rs (100%) rename tests/{codegen => codegen-llvm}/noalias-box.rs (100%) rename tests/{codegen => codegen-llvm}/noalias-flag.rs (100%) rename tests/{codegen => codegen-llvm}/noalias-freeze.rs (100%) rename tests/{codegen => codegen-llvm}/noalias-refcell.rs (100%) rename tests/{codegen => codegen-llvm}/noalias-rwlockreadguard.rs (100%) rename tests/{codegen => codegen-llvm}/noalias-unpin.rs (100%) rename tests/{codegen => codegen-llvm}/non-terminate/infinite-loop-1.rs (100%) rename tests/{codegen => codegen-llvm}/non-terminate/infinite-loop-2.rs (100%) rename tests/{codegen => codegen-llvm}/non-terminate/infinite-recursion.rs (100%) rename tests/{codegen => codegen-llvm}/non-terminate/nonempty-infinite-loop.rs (100%) rename tests/{codegen => codegen-llvm}/noreturn-uninhabited.rs (100%) rename tests/{codegen => codegen-llvm}/noreturnflag.rs (100%) rename tests/{codegen => codegen-llvm}/nounwind.rs (100%) rename tests/{codegen => codegen-llvm}/nrvo.rs (100%) rename tests/{codegen => codegen-llvm}/optimize-attr-1.rs (100%) rename tests/{codegen => codegen-llvm}/option-as-slice.rs (100%) rename tests/{codegen => codegen-llvm}/option-niche-eq.rs (100%) rename tests/{codegen => codegen-llvm}/option-niche-unfixed/option-nonzero-eq.rs (100%) rename tests/{codegen => codegen-llvm}/overaligned-constant.rs (100%) rename tests/{codegen => codegen-llvm}/packed.rs (100%) rename tests/{codegen => codegen-llvm}/panic-abort-windows.rs (100%) rename tests/{codegen => codegen-llvm}/panic-in-drop-abort.rs (100%) rename tests/{codegen => codegen-llvm}/panic-unwind-default-uwtable.rs (100%) rename tests/{codegen => codegen-llvm}/patchable-function-entry/patchable-function-entry-both-flags.rs (100%) rename tests/{codegen => codegen-llvm}/patchable-function-entry/patchable-function-entry-no-flag.rs (100%) rename tests/{codegen => codegen-llvm}/patchable-function-entry/patchable-function-entry-one-flag.rs (100%) rename tests/{codegen => codegen-llvm}/pattern_type_symbols.rs (100%) rename tests/{codegen => codegen-llvm}/personality_lifetimes.rs (100%) rename tests/{codegen => codegen-llvm}/pgo-counter-bias.rs (100%) rename tests/{codegen => codegen-llvm}/pgo-instrumentation.rs (100%) rename tests/{codegen => codegen-llvm}/pic-relocation-model.rs (100%) rename tests/{codegen => codegen-llvm}/pie-relocation-model.rs (100%) rename tests/{codegen => codegen-llvm}/placement-new.rs (100%) rename tests/{codegen => codegen-llvm}/powerpc64le-struct-align-128.rs (100%) rename tests/{codegen => codegen-llvm}/precondition-checks.rs (100%) rename tests/{codegen => codegen-llvm}/ptr-arithmetic.rs (100%) rename tests/{codegen => codegen-llvm}/ptr-read-metadata.rs (100%) rename tests/{codegen => codegen-llvm}/range-attribute.rs (100%) rename tests/{codegen => codegen-llvm}/range-loop.rs (100%) rename tests/{codegen => codegen-llvm}/range_to_inclusive.rs (100%) rename tests/{codegen => codegen-llvm}/refs.rs (100%) rename tests/{codegen => codegen-llvm}/reg-struct-return.rs (100%) rename tests/{codegen => codegen-llvm}/regparm-inreg.rs (100%) rename tests/{codegen => codegen-llvm}/remap_path_prefix/aux_mod.rs (100%) rename tests/{codegen => codegen-llvm}/remap_path_prefix/auxiliary/remap_path_prefix_aux.rs (100%) rename tests/{codegen => codegen-llvm}/remap_path_prefix/auxiliary/xcrate-generic.rs (100%) rename tests/{codegen => codegen-llvm}/remap_path_prefix/issue-73167-remap-std.rs (100%) rename tests/{codegen => codegen-llvm}/remap_path_prefix/main.rs (100%) rename tests/{codegen => codegen-llvm}/remap_path_prefix/xcrate-generic.rs (100%) rename tests/{codegen => codegen-llvm}/repeat-operand-zero-len.rs (100%) rename tests/{codegen => codegen-llvm}/repeat-operand-zst-elem.rs (100%) rename tests/{codegen => codegen-llvm}/repeat-trusted-len.rs (100%) rename tests/{codegen => codegen-llvm}/repr/transparent-byval-struct-ptr.rs (100%) rename tests/{codegen => codegen-llvm}/repr/transparent-imm-array.rs (100%) rename tests/{codegen => codegen-llvm}/repr/transparent-mips64.rs (100%) rename tests/{codegen => codegen-llvm}/repr/transparent-opaque-ptr.rs (100%) rename tests/{codegen => codegen-llvm}/repr/transparent-sparc64.rs (100%) rename tests/{codegen => codegen-llvm}/repr/transparent-sysv64.rs (100%) rename tests/{codegen => codegen-llvm}/repr/transparent.rs (100%) rename tests/{codegen => codegen-llvm}/retpoline.rs (100%) rename tests/{codegen => codegen-llvm}/riscv-abi/call-llvm-intrinsics.rs (100%) rename tests/{codegen => codegen-llvm}/riscv-abi/cast-local-large-enough.rs (100%) rename tests/{codegen => codegen-llvm}/riscv-abi/riscv64-lp64-lp64f-lp64d-abi.rs (100%) rename tests/{codegen => codegen-llvm}/riscv-abi/riscv64-lp64d-abi.rs (100%) rename tests/{codegen => codegen-llvm}/riscv-abi/riscv64-lp64f-lp64d-abi.rs (100%) rename tests/{codegen => codegen-llvm}/riscv-target-abi.rs (100%) rename tests/{codegen => codegen-llvm}/rust-abi-arch-specific-adjustment.rs (100%) rename tests/{codegen => codegen-llvm}/s390x-simd.rs (100%) rename tests/{codegen => codegen-llvm}/sanitizer/aarch64-shadow-call-stack-with-fixed-x18.rs (100%) rename tests/{codegen => codegen-llvm}/sanitizer/address-sanitizer-globals-tracking.rs (100%) rename tests/{codegen => codegen-llvm}/sanitizer/cfi/add-canonical-jump-tables-flag.rs (100%) rename tests/{codegen => codegen-llvm}/sanitizer/cfi/add-cfi-normalize-integers-flag.rs (100%) rename tests/{codegen => codegen-llvm}/sanitizer/cfi/add-enable-split-lto-unit-flag.rs (100%) rename tests/{codegen => codegen-llvm}/sanitizer/cfi/dbg-location-on-cfi-blocks.rs (100%) rename tests/{codegen => codegen-llvm}/sanitizer/cfi/emit-type-checks-attr-no-sanitize.rs (100%) rename tests/{codegen => codegen-llvm}/sanitizer/cfi/emit-type-checks.rs (100%) rename tests/{codegen => codegen-llvm}/sanitizer/cfi/emit-type-metadata-attr-cfi-encoding.rs (100%) rename tests/{codegen => codegen-llvm}/sanitizer/cfi/emit-type-metadata-id-itanium-cxx-abi-const-generics.rs (100%) rename tests/{codegen => codegen-llvm}/sanitizer/cfi/emit-type-metadata-id-itanium-cxx-abi-drop-in-place.rs (100%) rename tests/{codegen => codegen-llvm}/sanitizer/cfi/emit-type-metadata-id-itanium-cxx-abi-function-types.rs (100%) rename tests/{codegen => codegen-llvm}/sanitizer/cfi/emit-type-metadata-id-itanium-cxx-abi-lifetimes.rs (100%) rename tests/{codegen => codegen-llvm}/sanitizer/cfi/emit-type-metadata-id-itanium-cxx-abi-method-secondary-typeid.rs (100%) rename tests/{codegen => codegen-llvm}/sanitizer/cfi/emit-type-metadata-id-itanium-cxx-abi-paths.rs (100%) rename tests/{codegen => codegen-llvm}/sanitizer/cfi/emit-type-metadata-id-itanium-cxx-abi-pointer-types.rs (100%) rename tests/{codegen => codegen-llvm}/sanitizer/cfi/emit-type-metadata-id-itanium-cxx-abi-primitive-types.rs (100%) rename tests/{codegen => codegen-llvm}/sanitizer/cfi/emit-type-metadata-id-itanium-cxx-abi-repr-transparent-types.rs (100%) rename tests/{codegen => codegen-llvm}/sanitizer/cfi/emit-type-metadata-id-itanium-cxx-abi-sequence-types.rs (100%) rename tests/{codegen => codegen-llvm}/sanitizer/cfi/emit-type-metadata-id-itanium-cxx-abi-trait-types.rs (100%) rename tests/{codegen => codegen-llvm}/sanitizer/cfi/emit-type-metadata-id-itanium-cxx-abi-user-defined-types.rs (100%) rename tests/{codegen => codegen-llvm}/sanitizer/cfi/emit-type-metadata-itanium-cxx-abi-generalized.rs (100%) rename tests/{codegen => codegen-llvm}/sanitizer/cfi/emit-type-metadata-itanium-cxx-abi-normalized-generalized.rs (100%) rename tests/{codegen => codegen-llvm}/sanitizer/cfi/emit-type-metadata-itanium-cxx-abi-normalized.rs (100%) rename tests/{codegen => codegen-llvm}/sanitizer/cfi/emit-type-metadata-itanium-cxx-abi.rs (100%) rename tests/{codegen => codegen-llvm}/sanitizer/cfi/emit-type-metadata-trait-objects.rs (100%) rename tests/{codegen => codegen-llvm}/sanitizer/cfi/external_weak_symbols.rs (100%) rename tests/{codegen => codegen-llvm}/sanitizer/cfi/generalize-pointers.rs (100%) rename tests/{codegen => codegen-llvm}/sanitizer/cfi/normalize-integers.rs (100%) rename tests/{codegen => codegen-llvm}/sanitizer/dataflow-instrument-functions.rs (100%) rename tests/{codegen => codegen-llvm}/sanitizer/kasan-emits-instrumentation.rs (100%) rename tests/{codegen => codegen-llvm}/sanitizer/kcfi/add-cfi-normalize-integers-flag.rs (100%) rename tests/{codegen => codegen-llvm}/sanitizer/kcfi/add-kcfi-arity-flag.rs (100%) rename tests/{codegen => codegen-llvm}/sanitizer/kcfi/add-kcfi-flag.rs (100%) rename tests/{codegen => codegen-llvm}/sanitizer/kcfi/add-kcfi-offset-flag.rs (100%) rename tests/{codegen => codegen-llvm}/sanitizer/kcfi/emit-kcfi-operand-bundle-attr-no-sanitize.rs (100%) rename tests/{codegen => codegen-llvm}/sanitizer/kcfi/emit-kcfi-operand-bundle-itanium-cxx-abi-generalized.rs (100%) rename tests/{codegen => codegen-llvm}/sanitizer/kcfi/emit-kcfi-operand-bundle-itanium-cxx-abi-normalized-generalized.rs (100%) rename tests/{codegen => codegen-llvm}/sanitizer/kcfi/emit-kcfi-operand-bundle-itanium-cxx-abi-normalized.rs (100%) rename tests/{codegen => codegen-llvm}/sanitizer/kcfi/emit-kcfi-operand-bundle-itanium-cxx-abi.rs (100%) rename tests/{codegen => codegen-llvm}/sanitizer/kcfi/emit-kcfi-operand-bundle.rs (100%) rename tests/{codegen => codegen-llvm}/sanitizer/kcfi/emit-type-metadata-trait-objects.rs (100%) rename tests/{codegen => codegen-llvm}/sanitizer/kcfi/naked-function.rs (100%) rename tests/{codegen => codegen-llvm}/sanitizer/memory-track-origins.rs (100%) rename tests/{codegen => codegen-llvm}/sanitizer/memtag-attr-check.rs (100%) rename tests/{codegen => codegen-llvm}/sanitizer/no-sanitize-inlining.rs (100%) rename tests/{codegen => codegen-llvm}/sanitizer/no-sanitize.rs (100%) rename tests/{codegen => codegen-llvm}/sanitizer/riscv64-shadow-call-stack.rs (100%) rename tests/{codegen => codegen-llvm}/sanitizer/safestack-attr-check.rs (100%) rename tests/{codegen => codegen-llvm}/sanitizer/sanitizer-recover.rs (100%) rename tests/{codegen => codegen-llvm}/sanitizer/scs-attr-check.rs (100%) rename tests/{codegen => codegen-llvm}/scalar-pair-bool.rs (100%) rename tests/{codegen => codegen-llvm}/set-discriminant-invalid.rs (100%) rename tests/{codegen => codegen-llvm}/simd-intrinsic/simd-intrinsic-float-abs.rs (100%) rename tests/{codegen => codegen-llvm}/simd-intrinsic/simd-intrinsic-float-ceil.rs (100%) rename tests/{codegen => codegen-llvm}/simd-intrinsic/simd-intrinsic-float-cos.rs (100%) rename tests/{codegen => codegen-llvm}/simd-intrinsic/simd-intrinsic-float-exp.rs (100%) rename tests/{codegen => codegen-llvm}/simd-intrinsic/simd-intrinsic-float-exp2.rs (100%) rename tests/{codegen => codegen-llvm}/simd-intrinsic/simd-intrinsic-float-floor.rs (100%) rename tests/{codegen => codegen-llvm}/simd-intrinsic/simd-intrinsic-float-fma.rs (100%) rename tests/{codegen => codegen-llvm}/simd-intrinsic/simd-intrinsic-float-fsqrt.rs (100%) rename tests/{codegen => codegen-llvm}/simd-intrinsic/simd-intrinsic-float-log.rs (100%) rename tests/{codegen => codegen-llvm}/simd-intrinsic/simd-intrinsic-float-log10.rs (100%) rename tests/{codegen => codegen-llvm}/simd-intrinsic/simd-intrinsic-float-log2.rs (100%) rename tests/{codegen => codegen-llvm}/simd-intrinsic/simd-intrinsic-float-minmax.rs (100%) rename tests/{codegen => codegen-llvm}/simd-intrinsic/simd-intrinsic-float-sin.rs (100%) rename tests/{codegen => codegen-llvm}/simd-intrinsic/simd-intrinsic-generic-arithmetic-saturating.rs (100%) rename tests/{codegen => codegen-llvm}/simd-intrinsic/simd-intrinsic-generic-bitmask.rs (100%) rename tests/{codegen => codegen-llvm}/simd-intrinsic/simd-intrinsic-generic-gather.rs (100%) rename tests/{codegen => codegen-llvm}/simd-intrinsic/simd-intrinsic-generic-masked-load.rs (100%) rename tests/{codegen => codegen-llvm}/simd-intrinsic/simd-intrinsic-generic-masked-store.rs (100%) rename tests/{codegen => codegen-llvm}/simd-intrinsic/simd-intrinsic-generic-scatter.rs (100%) rename tests/{codegen => codegen-llvm}/simd-intrinsic/simd-intrinsic-generic-select.rs (100%) rename tests/{codegen => codegen-llvm}/simd-intrinsic/simd-intrinsic-mask-reduce.rs (100%) rename tests/{codegen => codegen-llvm}/simd-intrinsic/simd-intrinsic-transmute-array.rs (100%) rename tests/{codegen => codegen-llvm}/simd/aggregate-simd.rs (100%) rename tests/{codegen => codegen-llvm}/simd/extract-insert-dyn.rs (100%) rename tests/{codegen => codegen-llvm}/simd/packed-simd-alignment.rs (100%) rename tests/{codegen => codegen-llvm}/simd/packed-simd.rs (100%) rename tests/{codegen => codegen-llvm}/simd/simd-wide-sum.rs (100%) rename tests/{codegen => codegen-llvm}/simd/simd_arith_offset.rs (100%) rename tests/{codegen => codegen-llvm}/simd/swap-simd-types.rs (100%) rename tests/{codegen => codegen-llvm}/simd/unpadded-simd.rs (100%) rename tests/{codegen => codegen-llvm}/skip-mono-inside-if-false.rs (100%) rename tests/{codegen => codegen-llvm}/slice-as_chunks.rs (100%) rename tests/{codegen => codegen-llvm}/slice-indexing.rs (100%) rename tests/{codegen => codegen-llvm}/slice-init.rs (100%) rename tests/{codegen => codegen-llvm}/slice-is-ascii.rs (100%) rename tests/{codegen => codegen-llvm}/slice-iter-fold.rs (100%) rename tests/{codegen => codegen-llvm}/slice-iter-len-eq-zero.rs (100%) rename tests/{codegen => codegen-llvm}/slice-iter-nonnull.rs (100%) rename tests/{codegen => codegen-llvm}/slice-last-elements-optimization.rs (100%) rename tests/{codegen => codegen-llvm}/slice-pointer-nonnull-unwrap.rs (100%) rename tests/{codegen => codegen-llvm}/slice-position-bounds-check.rs (100%) rename tests/{codegen => codegen-llvm}/slice-ref-equality.rs (100%) rename tests/{codegen => codegen-llvm}/slice-reverse.rs (100%) rename tests/{codegen => codegen-llvm}/slice-split-at.rs (100%) rename tests/{codegen => codegen-llvm}/slice-windows-no-bounds-check.rs (100%) rename tests/{codegen => codegen-llvm}/slice_as_from_ptr_range.rs (100%) rename tests/{codegen => codegen-llvm}/some-abis-do-extend-params-to-32-bits.rs (100%) rename tests/{codegen => codegen-llvm}/some-global-nonnull.rs (100%) rename tests/{codegen => codegen-llvm}/sparc-struct-abi.rs (100%) rename tests/{codegen => codegen-llvm}/split-lto-unit.rs (100%) rename tests/{codegen => codegen-llvm}/src-hash-algorithm/src-hash-algorithm-md5.rs (100%) rename tests/{codegen => codegen-llvm}/src-hash-algorithm/src-hash-algorithm-sha1.rs (100%) rename tests/{codegen => codegen-llvm}/src-hash-algorithm/src-hash-algorithm-sha256.rs (100%) rename tests/{codegen => codegen-llvm}/sroa-fragment-debuginfo.rs (100%) rename tests/{codegen => codegen-llvm}/sse42-implies-crc32.rs (100%) rename tests/{codegen => codegen-llvm}/stack-probes-inline.rs (100%) rename tests/{codegen => codegen-llvm}/stack-protector.rs (100%) rename tests/{codegen => codegen-llvm}/static-relocation-model-msvc.rs (100%) rename tests/{codegen => codegen-llvm}/staticlib-external-inline-fns.rs (100%) rename tests/{codegen => codegen-llvm}/step_by-overflow-checks.rs (100%) rename tests/{codegen => codegen-llvm}/stores.rs (100%) rename tests/{codegen => codegen-llvm}/string-push.rs (100%) rename tests/{codegen => codegen-llvm}/swap-large-types.rs (100%) rename tests/{codegen => codegen-llvm}/swap-small-types.rs (100%) rename tests/{codegen => codegen-llvm}/target-cpu-on-functions.rs (100%) rename tests/{codegen => codegen-llvm}/target-feature-inline-closure.rs (100%) rename tests/{codegen => codegen-llvm}/target-feature-negative-implication.rs (100%) rename tests/{codegen => codegen-llvm}/target-feature-overrides.rs (100%) rename tests/{codegen => codegen-llvm}/terminating-catchpad.rs (100%) rename tests/{codegen => codegen-llvm}/thread-local.rs (100%) rename tests/{codegen => codegen-llvm}/tied-features-strength.rs (100%) rename tests/{codegen => codegen-llvm}/to_vec.rs (100%) rename tests/{codegen => codegen-llvm}/trailing_zeros.rs (100%) rename tests/{codegen => codegen-llvm}/transmute-optimized.rs (100%) rename tests/{codegen => codegen-llvm}/transmute-scalar.rs (100%) rename tests/{codegen => codegen-llvm}/try_question_mark_nop.rs (100%) rename tests/{codegen => codegen-llvm}/tune-cpu-on-functions.rs (100%) rename tests/{codegen => codegen-llvm}/tuple-layout-opt.rs (100%) rename tests/{codegen => codegen-llvm}/ub-checks.rs (100%) rename tests/{codegen => codegen-llvm}/unchecked-float-casts.rs (100%) rename tests/{codegen => codegen-llvm}/unchecked_shifts.rs (100%) rename tests/{codegen => codegen-llvm}/uninhabited-transparent-return-abi.rs (100%) rename tests/{codegen => codegen-llvm}/uninit-consts.rs (100%) rename tests/{codegen => codegen-llvm}/uninit-repeat-in-aggregate.rs (100%) rename tests/{codegen => codegen-llvm}/union-abi.rs (100%) rename tests/{codegen => codegen-llvm}/union-aggregate.rs (100%) rename tests/{codegen => codegen-llvm}/unwind-abis/aapcs-unwind-abi.rs (100%) rename tests/{codegen => codegen-llvm}/unwind-abis/c-unwind-abi-panic-abort.rs (100%) rename tests/{codegen => codegen-llvm}/unwind-abis/c-unwind-abi.rs (100%) rename tests/{codegen => codegen-llvm}/unwind-abis/cdecl-unwind-abi.rs (100%) rename tests/{codegen => codegen-llvm}/unwind-abis/fastcall-unwind-abi.rs (100%) rename tests/{codegen => codegen-llvm}/unwind-abis/nounwind-on-stable-panic-abort.rs (100%) rename tests/{codegen => codegen-llvm}/unwind-abis/nounwind.rs (100%) rename tests/{codegen => codegen-llvm}/unwind-abis/stdcall-unwind-abi.rs (100%) rename tests/{codegen => codegen-llvm}/unwind-abis/system-unwind-abi.rs (100%) rename tests/{codegen => codegen-llvm}/unwind-abis/sysv64-unwind-abi.rs (100%) rename tests/{codegen => codegen-llvm}/unwind-abis/thiscall-unwind-abi.rs (100%) rename tests/{codegen => codegen-llvm}/unwind-abis/vectorcall-unwind-abi.rs (100%) rename tests/{codegen => codegen-llvm}/unwind-abis/win64-unwind-abi.rs (100%) rename tests/{codegen => codegen-llvm}/unwind-and-panic-abort.rs (100%) rename tests/{codegen => codegen-llvm}/unwind-extern-exports.rs (100%) rename tests/{codegen => codegen-llvm}/unwind-extern-imports.rs (100%) rename tests/{codegen => codegen-llvm}/unwind-landingpad-cold.rs (100%) rename tests/{codegen => codegen-llvm}/unwind-landingpad-inline.rs (100%) rename tests/{codegen => codegen-llvm}/used_with_arg.rs (100%) rename tests/{codegen => codegen-llvm}/var-names.rs (100%) rename tests/{codegen => codegen-llvm}/vec-as-ptr.rs (100%) rename tests/{codegen => codegen-llvm}/vec-calloc.rs (100%) rename tests/{codegen => codegen-llvm}/vec-in-place.rs (100%) rename tests/{codegen => codegen-llvm}/vec-iter-collect-len.rs (100%) rename tests/{codegen => codegen-llvm}/vec-iter.rs (100%) rename tests/{codegen => codegen-llvm}/vec-len-invariant.rs (100%) rename tests/{codegen => codegen-llvm}/vec-optimizes-away.rs (100%) rename tests/{codegen => codegen-llvm}/vec-reserve-extend.rs (100%) rename tests/{codegen => codegen-llvm}/vec-shrink-panik.rs (100%) rename tests/{codegen => codegen-llvm}/vec-with-capacity.rs (100%) rename tests/{codegen => codegen-llvm}/vec_pop_push_noop.rs (100%) rename tests/{codegen => codegen-llvm}/vecdeque-drain.rs (100%) rename tests/{codegen => codegen-llvm}/vecdeque-nonempty-get-no-panic.rs (100%) rename tests/{codegen => codegen-llvm}/vecdeque_no_panic.rs (100%) rename tests/{codegen => codegen-llvm}/vecdeque_pop_push.rs (100%) rename tests/{codegen => codegen-llvm}/virtual-call-attrs-issue-137646.rs (100%) rename tests/{codegen => codegen-llvm}/virtual-function-elimination-32bit.rs (100%) rename tests/{codegen => codegen-llvm}/virtual-function-elimination.rs (100%) rename tests/{codegen => codegen-llvm}/vtable-loads.rs (100%) rename tests/{codegen => codegen-llvm}/vtable-upcast.rs (100%) rename tests/{codegen => codegen-llvm}/wasm_casts_trapping.rs (100%) rename tests/{codegen => codegen-llvm}/wasm_exceptions.rs (100%) rename tests/{codegen => codegen-llvm}/zip.rs (100%) rename tests/{codegen => codegen-llvm}/zst-offset.rs (100%) diff --git a/compiler/rustc_codegen_ssa/src/mir/rvalue.rs b/compiler/rustc_codegen_ssa/src/mir/rvalue.rs index e872f8434e56e..610e2fd231117 100644 --- a/compiler/rustc_codegen_ssa/src/mir/rvalue.rs +++ b/compiler/rustc_codegen_ssa/src/mir/rvalue.rs @@ -869,7 +869,7 @@ impl<'a, 'tcx, Bx: BuilderMethods<'a, 'tcx>> FunctionCx<'a, 'tcx, Bx> { let ltext = bx.zext(is_lt, bx.type_i8()); bx.unchecked_ssub(gtext, ltext) } else { - // These operations are those expected by `tests/codegen/integer-cmp.rs`, + // These operations are those expected by `tests/codegen-llvm/integer-cmp.rs`, // from . let is_lt = bx.icmp(pred(mir::BinOp::Lt), lhs, rhs); let is_ne = bx.icmp(pred(mir::BinOp::Ne), lhs, rhs); diff --git a/compiler/rustc_mir_transform/src/unreachable_prop.rs b/compiler/rustc_mir_transform/src/unreachable_prop.rs index 13fb5b3e56f2f..c417a9272f2a9 100644 --- a/compiler/rustc_mir_transform/src/unreachable_prop.rs +++ b/compiler/rustc_mir_transform/src/unreachable_prop.rs @@ -75,7 +75,7 @@ fn remove_successors_from_switch<'tcx>( let is_unreachable = |bb| unreachable_blocks.contains(&bb); // If there are multiple targets, we want to keep information about reachability for codegen. - // For example (see tests/codegen/match-optimizes-away.rs) + // For example (see tests/codegen-llvm/match-optimizes-away.rs) // // pub enum Two { A, B } // pub fn identity(x: Two) -> Two { diff --git a/library/alloc/src/collections/vec_deque/drain.rs b/library/alloc/src/collections/vec_deque/drain.rs index 44fcef4ed7dc4..321621d18be9f 100644 --- a/library/alloc/src/collections/vec_deque/drain.rs +++ b/library/alloc/src/collections/vec_deque/drain.rs @@ -192,7 +192,7 @@ impl 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( source_deque: &mut VecDeque, diff --git a/library/alloc/src/raw_vec/mod.rs b/library/alloc/src/raw_vec/mod.rs index 3e006a2d1bdf1..40716755aad34 100644 --- a/library/alloc/src/raw_vec/mod.rs +++ b/library/alloc/src/raw_vec/mod.rs @@ -761,7 +761,7 @@ impl RawVecInner { } // 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( new_layout: Layout, diff --git a/rustfmt.toml b/rustfmt.toml index 689e390b990c2..6172a2bb3bf97 100644 --- a/rustfmt.toml +++ b/rustfmt.toml @@ -14,7 +14,7 @@ ignore = [ "/vendor/", # Some tests are not formatted, for various reasons. - "/tests/codegen/simd-intrinsic/", # Many types like `u8x64` are better hand-formatted. + "/tests/codegen-llvm/simd-intrinsic/", # Many types like `u8x64` are better hand-formatted. "/tests/crashes/", # Many of these tests contain syntax errors. "/tests/debuginfo/", # These tests are somewhat sensitive to source code layout. "/tests/incremental/", # These tests are somewhat sensitive to source code layout. @@ -58,5 +58,5 @@ ignore = [ # Rustfmt doesn't support use closures yet "tests/mir-opt/ergonomic-clones/closure.rs", - "tests/codegen/ergonomic-clones/closure.rs", + "tests/codegen-llvm/ergonomic-clones/closure.rs", ] diff --git a/src/bootstrap/src/core/build_steps/test.rs b/src/bootstrap/src/core/build_steps/test.rs index 99c9e8ae92ebf..d346062761c1d 100644 --- a/src/bootstrap/src/core/build_steps/test.rs +++ b/src/bootstrap/src/core/build_steps/test.rs @@ -1342,7 +1342,12 @@ test!(Ui { path: "tests/ui", mode: "ui", suite: "ui", default: true }); test!(Crashes { path: "tests/crashes", mode: "crashes", suite: "crashes", default: true }); -test!(Codegen { path: "tests/codegen", mode: "codegen", suite: "codegen", default: true }); +test!(CodegenLlvm { + path: "tests/codegen-llvm", + mode: "codegen", + suite: "codegen-llvm", + default: true +}); test!(CodegenUnits { path: "tests/codegen-units", @@ -1620,7 +1625,7 @@ NOTE: if you're sure you want to do this, please open an issue as to why. In the let suite_path = self.path; // Skip codegen tests if they aren't enabled in configuration. - if !builder.config.codegen_tests && suite == "codegen" { + if !builder.config.codegen_tests && mode == "codegen" { return; } @@ -1817,7 +1822,7 @@ NOTE: if you're sure you want to do this, please open an issue as to why. In the let mut flags = if is_rustdoc { Vec::new() } else { vec!["-Crpath".to_string()] }; flags.push(format!( "-Cdebuginfo={}", - if suite == "codegen" { + if mode == "codegen" { // codegen tests typically check LLVM IR and are sensitive to additional debuginfo. // So do not apply `rust.debuginfo-level-tests` for codegen tests. if builder.config.rust_debuginfo_level_tests diff --git a/src/bootstrap/src/core/builder/mod.rs b/src/bootstrap/src/core/builder/mod.rs index 925e47a416445..923c3a9a93501 100644 --- a/src/bootstrap/src/core/builder/mod.rs +++ b/src/bootstrap/src/core/builder/mod.rs @@ -412,7 +412,7 @@ const PATH_REMAP: &[(&str, &[&str])] = &[ &[ // tidy-alphabetical-start "tests/assembly-llvm", - "tests/codegen", + "tests/codegen-llvm", "tests/codegen-units", "tests/coverage", "tests/coverage-run-rustdoc", @@ -1049,7 +1049,7 @@ impl<'a> Builder<'a> { test::Crashes, test::Coverage, test::MirOpt, - test::Codegen, + test::CodegenLlvm, test::CodegenUnits, test::AssemblyLlvm, test::Incremental, diff --git a/src/ci/docker/host-x86_64/test-various/Dockerfile b/src/ci/docker/host-x86_64/test-various/Dockerfile index 54ca7131608e4..4d09bea69c08d 100644 --- a/src/ci/docker/host-x86_64/test-various/Dockerfile +++ b/src/ci/docker/host-x86_64/test-various/Dockerfile @@ -65,7 +65,7 @@ ENV WASM_SCRIPT python3 /checkout/x.py --stage 2 test --host='' --target $WASM_T tests/ui \ tests/mir-opt \ tests/codegen-units \ - tests/codegen \ + tests/codegen-llvm \ tests/assembly-llvm \ library/core diff --git a/src/doc/rustc-dev-guide/src/asm.md b/src/doc/rustc-dev-guide/src/asm.md index 3d93d5a4c57e8..1bb493e73d584 100644 --- a/src/doc/rustc-dev-guide/src/asm.md +++ b/src/doc/rustc-dev-guide/src/asm.md @@ -157,7 +157,7 @@ Various tests for inline assembly are available: - `tests/assembly-llvm/asm` - `tests/ui/asm` -- `tests/codegen/asm-*` +- `tests/codegen-llvm/asm-*` Every architecture supported by inline assembly must have exhaustive tests in `tests/assembly-llvm/asm` which test all combinations of register classes and types. diff --git a/src/doc/rustc-dev-guide/src/autodiff/installation.md b/src/doc/rustc-dev-guide/src/autodiff/installation.md index a550f6d233eb5..ddbb3a054241a 100644 --- a/src/doc/rustc-dev-guide/src/autodiff/installation.md +++ b/src/doc/rustc-dev-guide/src/autodiff/installation.md @@ -25,7 +25,7 @@ rustup toolchain install nightly # enables -Z unstable-options You can then run our test cases: ```bash -./x test --stage 1 tests/codegen/autodiff +./x test --stage 1 tests/codegen-llvm/autodiff ./x test --stage 1 tests/pretty/autodiff ./x test --stage 1 tests/ui/autodiff ./x test --stage 1 tests/ui/feature-gates/feature-gate-autodiff.rs diff --git a/src/doc/rustc-dev-guide/src/llvm-coverage-instrumentation.md b/src/doc/rustc-dev-guide/src/llvm-coverage-instrumentation.md index 28e0e7a908d6b..880363b94bf2b 100644 --- a/src/doc/rustc-dev-guide/src/llvm-coverage-instrumentation.md +++ b/src/doc/rustc-dev-guide/src/llvm-coverage-instrumentation.md @@ -117,7 +117,7 @@ human-readable coverage report. > directive, so they will be skipped if the profiler runtime has not been > [enabled in `bootstrap.toml`](#recommended-configtoml-settings). -Finally, the [`tests/codegen/instrument-coverage/testprog.rs`] test compiles a simple Rust program +Finally, the [`tests/codegen-llvm/instrument-coverage/testprog.rs`] test compiles a simple Rust program with `-C instrument-coverage` and compares the compiled program's LLVM IR to expected LLVM IR instructions and structured data for a coverage-enabled program, including various checks for Coverage Map-related metadata and the LLVM @@ -136,4 +136,4 @@ and `mir-opt` tests can be refreshed by running: [`tests/coverage`]: https://github.com/rust-lang/rust/tree/master/tests/coverage [`src/tools/coverage-dump`]: https://github.com/rust-lang/rust/tree/master/src/tools/coverage-dump [`tests/coverage-run-rustdoc`]: https://github.com/rust-lang/rust/tree/master/tests/coverage-run-rustdoc -[`tests/codegen/instrument-coverage/testprog.rs`]: https://github.com/rust-lang/rust/blob/master/tests/mir-opt/coverage/instrument_coverage.rs +[`tests/codegen-llvm/instrument-coverage/testprog.rs`]: https://github.com/rust-lang/rust/blob/master/tests/mir-opt/coverage/instrument_coverage.rs diff --git a/src/doc/rustc-dev-guide/src/offload/installation.md b/src/doc/rustc-dev-guide/src/offload/installation.md index 1962314c70ac8..1e792de3c8cea 100644 --- a/src/doc/rustc-dev-guide/src/offload/installation.md +++ b/src/doc/rustc-dev-guide/src/offload/installation.md @@ -40,7 +40,7 @@ This gives you a working LLVM build. ## Testing run ``` -./x test --stage 1 tests/codegen/gpu_offload +./x test --stage 1 tests/codegen-llvm/gpu_offload ``` ## Usage diff --git a/src/doc/rustc-dev-guide/src/profile-guided-optimization.md b/src/doc/rustc-dev-guide/src/profile-guided-optimization.md index d279786ac45e3..2fa8102104513 100644 --- a/src/doc/rustc-dev-guide/src/profile-guided-optimization.md +++ b/src/doc/rustc-dev-guide/src/profile-guided-optimization.md @@ -132,7 +132,7 @@ There is also a [codegen test][codegen-test] that checks that some expected instrumentation artifacts show up in LLVM IR. [rmake-tests]: https://github.com/rust-lang/rust/tree/master/tests/run-make -[codegen-test]: https://github.com/rust-lang/rust/blob/master/tests/codegen/pgo-instrumentation.rs +[codegen-test]: https://github.com/rust-lang/rust/blob/master/tests/codegen-llvm/pgo-instrumentation.rs ## Additional information diff --git a/src/doc/rustc-dev-guide/src/sanitizers.md b/src/doc/rustc-dev-guide/src/sanitizers.md index 664b4feac4f01..29d9056c15d04 100644 --- a/src/doc/rustc-dev-guide/src/sanitizers.md +++ b/src/doc/rustc-dev-guide/src/sanitizers.md @@ -76,7 +76,7 @@ implementation: ## Testing sanitizers Sanitizers are validated by code generation tests in -[`tests/codegen/sanitize*.rs`][test-cg] and end-to-end functional tests in +[`tests/codegen-llvm/sanitize*.rs`][test-cg] and end-to-end functional tests in [`tests/ui/sanitizer/`][test-ui] directory. Testing sanitizer functionality requires the sanitizer runtimes (built when @@ -85,7 +85,7 @@ sanitizer. When sanitizer is unsupported on given target, sanitizers tests will be ignored. This behaviour is controlled by compiletest `needs-sanitizer-*` directives. -[test-cg]: https://github.com/rust-lang/rust/tree/master/tests/codegen +[test-cg]: https://github.com/rust-lang/rust/tree/master/tests/codegen-llvm [test-ui]: https://github.com/rust-lang/rust/tree/master/tests/ui/sanitizer ## Enabling sanitizer on a new target diff --git a/src/doc/rustc-dev-guide/src/tests/compiletest.md b/src/doc/rustc-dev-guide/src/tests/compiletest.md index 6a60e7118d382..a108dfdef9b3f 100644 --- a/src/doc/rustc-dev-guide/src/tests/compiletest.md +++ b/src/doc/rustc-dev-guide/src/tests/compiletest.md @@ -68,7 +68,7 @@ The following test suites are available, with links for more information: | [`pretty`](#pretty-printer-tests) | Check pretty printing | | [`incremental`](#incremental-tests) | Check incremental compilation behavior | | [`debuginfo`](#debuginfo-tests) | Check debuginfo generation running debuggers | -| [`codegen`](#codegen-tests) | Check code generation | +| [`codegen-*`](#codegen-tests) | Check code generation | | [`codegen-units`](#codegen-units-tests) | Check codegen unit partitioning | | [`assembly`](#assembly-tests) | Check assembly output | | [`mir-opt`](#mir-opt-tests) | Check MIR generation and optimizations | @@ -290,7 +290,7 @@ For example, `./x test tests/debuginfo -- --debugger gdb` will only test GDB com ### Codegen tests -The tests in [`tests/codegen`] test LLVM code generation. They compile the test +The tests in [`tests/codegen-llvm`] test LLVM code generation. They compile the test with the `--emit=llvm-ir` flag to emit LLVM IR. They then run the LLVM [FileCheck] tool. The test is annotated with various `// CHECK` comments to check the generated code. See the [FileCheck] documentation for a tutorial and @@ -301,7 +301,7 @@ See also the [assembly tests](#assembly-tests) for a similar set of tests. If you need to work with `#![no_std]` cross-compiling tests, consult the [`minicore` test auxiliary](./minicore.md) chapter. -[`tests/codegen`]: https://github.com/rust-lang/rust/tree/master/tests/codegen +[`tests/codegen-llvm`]: https://github.com/rust-lang/rust/tree/master/tests/codegen-llvm [FileCheck]: https://llvm.org/docs/CommandGuide/FileCheck.html diff --git a/src/tools/opt-dist/src/tests.rs b/src/tools/opt-dist/src/tests.rs index a70c257e52bff..c9a21fc6fb298 100644 --- a/src/tools/opt-dist/src/tests.rs +++ b/src/tools/opt-dist/src/tests.rs @@ -101,7 +101,7 @@ llvm-config = "{llvm_config}" "--stage", "0", "tests/assembly-llvm", - "tests/codegen", + "tests/codegen-llvm", "tests/codegen-units", "tests/incremental", "tests/mir-opt", diff --git a/tests/assembly-llvm/target-feature-multiple.rs b/tests/assembly-llvm/target-feature-multiple.rs index bc432d2193176..9a941c52bdac4 100644 --- a/tests/assembly-llvm/target-feature-multiple.rs +++ b/tests/assembly-llvm/target-feature-multiple.rs @@ -15,7 +15,7 @@ // > LLVM ERROR: Cannot select: 0x7f00f400c010: i32,i32,ch = X86ISD::RDSEED 0x7f00f400bfa8:2 // > In function: foo // -// See also tests/codegen/target-feature-overrides.rs +// See also tests/codegen-llvm/target-feature-overrides.rs #![feature(no_core, lang_items, link_llvm_intrinsics, abi_unadjusted)] #![crate_type = "lib"] #![no_core] diff --git a/tests/codegen/README.md b/tests/codegen-llvm/README.md similarity index 100% rename from tests/codegen/README.md rename to tests/codegen-llvm/README.md diff --git a/tests/codegen/aarch64-softfloat.rs b/tests/codegen-llvm/aarch64-softfloat.rs similarity index 100% rename from tests/codegen/aarch64-softfloat.rs rename to tests/codegen-llvm/aarch64-softfloat.rs diff --git a/tests/codegen/aarch64-struct-align-128.rs b/tests/codegen-llvm/aarch64-struct-align-128.rs similarity index 100% rename from tests/codegen/aarch64-struct-align-128.rs rename to tests/codegen-llvm/aarch64-struct-align-128.rs diff --git a/tests/codegen/abi-efiapi.rs b/tests/codegen-llvm/abi-efiapi.rs similarity index 100% rename from tests/codegen/abi-efiapi.rs rename to tests/codegen-llvm/abi-efiapi.rs diff --git a/tests/codegen/abi-main-signature-16bit-c-int.rs b/tests/codegen-llvm/abi-main-signature-16bit-c-int.rs similarity index 100% rename from tests/codegen/abi-main-signature-16bit-c-int.rs rename to tests/codegen-llvm/abi-main-signature-16bit-c-int.rs diff --git a/tests/codegen/abi-main-signature-32bit-c-int.rs b/tests/codegen-llvm/abi-main-signature-32bit-c-int.rs similarity index 100% rename from tests/codegen/abi-main-signature-32bit-c-int.rs rename to tests/codegen-llvm/abi-main-signature-32bit-c-int.rs diff --git a/tests/codegen/abi-repr-ext.rs b/tests/codegen-llvm/abi-repr-ext.rs similarity index 100% rename from tests/codegen/abi-repr-ext.rs rename to tests/codegen-llvm/abi-repr-ext.rs diff --git a/tests/codegen/abi-sysv64.rs b/tests/codegen-llvm/abi-sysv64.rs similarity index 100% rename from tests/codegen/abi-sysv64.rs rename to tests/codegen-llvm/abi-sysv64.rs diff --git a/tests/codegen/abi-win64-zst.rs b/tests/codegen-llvm/abi-win64-zst.rs similarity index 100% rename from tests/codegen/abi-win64-zst.rs rename to tests/codegen-llvm/abi-win64-zst.rs diff --git a/tests/codegen/abi-x86-interrupt.rs b/tests/codegen-llvm/abi-x86-interrupt.rs similarity index 100% rename from tests/codegen/abi-x86-interrupt.rs rename to tests/codegen-llvm/abi-x86-interrupt.rs diff --git a/tests/codegen/abi-x86-sse.rs b/tests/codegen-llvm/abi-x86-sse.rs similarity index 100% rename from tests/codegen/abi-x86-sse.rs rename to tests/codegen-llvm/abi-x86-sse.rs diff --git a/tests/codegen/abi-x86_64_sysv.rs b/tests/codegen-llvm/abi-x86_64_sysv.rs similarity index 100% rename from tests/codegen/abi-x86_64_sysv.rs rename to tests/codegen-llvm/abi-x86_64_sysv.rs diff --git a/tests/codegen/addr-of-mutate.rs b/tests/codegen-llvm/addr-of-mutate.rs similarity index 100% rename from tests/codegen/addr-of-mutate.rs rename to tests/codegen-llvm/addr-of-mutate.rs diff --git a/tests/codegen/adjustments.rs b/tests/codegen-llvm/adjustments.rs similarity index 100% rename from tests/codegen/adjustments.rs rename to tests/codegen-llvm/adjustments.rs diff --git a/tests/codegen/align-byval-alignment-mismatch.rs b/tests/codegen-llvm/align-byval-alignment-mismatch.rs similarity index 100% rename from tests/codegen/align-byval-alignment-mismatch.rs rename to tests/codegen-llvm/align-byval-alignment-mismatch.rs diff --git a/tests/codegen/align-byval-vector.rs b/tests/codegen-llvm/align-byval-vector.rs similarity index 100% rename from tests/codegen/align-byval-vector.rs rename to tests/codegen-llvm/align-byval-vector.rs diff --git a/tests/codegen/align-byval.rs b/tests/codegen-llvm/align-byval.rs similarity index 100% rename from tests/codegen/align-byval.rs rename to tests/codegen-llvm/align-byval.rs diff --git a/tests/codegen/align-enum.rs b/tests/codegen-llvm/align-enum.rs similarity index 100% rename from tests/codegen/align-enum.rs rename to tests/codegen-llvm/align-enum.rs diff --git a/tests/codegen/align-fn.rs b/tests/codegen-llvm/align-fn.rs similarity index 100% rename from tests/codegen/align-fn.rs rename to tests/codegen-llvm/align-fn.rs diff --git a/tests/codegen/align-offset.rs b/tests/codegen-llvm/align-offset.rs similarity index 100% rename from tests/codegen/align-offset.rs rename to tests/codegen-llvm/align-offset.rs diff --git a/tests/codegen/align-struct.rs b/tests/codegen-llvm/align-struct.rs similarity index 100% rename from tests/codegen/align-struct.rs rename to tests/codegen-llvm/align-struct.rs diff --git a/tests/codegen/alloc-optimisation.rs b/tests/codegen-llvm/alloc-optimisation.rs similarity index 100% rename from tests/codegen/alloc-optimisation.rs rename to tests/codegen-llvm/alloc-optimisation.rs diff --git a/tests/codegen/amdgpu-addrspacecast.rs b/tests/codegen-llvm/amdgpu-addrspacecast.rs similarity index 100% rename from tests/codegen/amdgpu-addrspacecast.rs rename to tests/codegen-llvm/amdgpu-addrspacecast.rs diff --git a/tests/codegen/array-clone.rs b/tests/codegen-llvm/array-clone.rs similarity index 100% rename from tests/codegen/array-clone.rs rename to tests/codegen-llvm/array-clone.rs diff --git a/tests/codegen/array-cmp.rs b/tests/codegen-llvm/array-cmp.rs similarity index 100% rename from tests/codegen/array-cmp.rs rename to tests/codegen-llvm/array-cmp.rs diff --git a/tests/codegen/array-codegen.rs b/tests/codegen-llvm/array-codegen.rs similarity index 100% rename from tests/codegen/array-codegen.rs rename to tests/codegen-llvm/array-codegen.rs diff --git a/tests/codegen/array-equality.rs b/tests/codegen-llvm/array-equality.rs similarity index 100% rename from tests/codegen/array-equality.rs rename to tests/codegen-llvm/array-equality.rs diff --git a/tests/codegen/array-from_fn.rs b/tests/codegen-llvm/array-from_fn.rs similarity index 100% rename from tests/codegen/array-from_fn.rs rename to tests/codegen-llvm/array-from_fn.rs diff --git a/tests/codegen/array-map.rs b/tests/codegen-llvm/array-map.rs similarity index 100% rename from tests/codegen/array-map.rs rename to tests/codegen-llvm/array-map.rs diff --git a/tests/codegen/array-optimized.rs b/tests/codegen-llvm/array-optimized.rs similarity index 100% rename from tests/codegen/array-optimized.rs rename to tests/codegen-llvm/array-optimized.rs diff --git a/tests/codegen/array-repeat.rs b/tests/codegen-llvm/array-repeat.rs similarity index 100% rename from tests/codegen/array-repeat.rs rename to tests/codegen-llvm/array-repeat.rs diff --git a/tests/codegen/ascii-char.rs b/tests/codegen-llvm/ascii-char.rs similarity index 100% rename from tests/codegen/ascii-char.rs rename to tests/codegen-llvm/ascii-char.rs diff --git a/tests/codegen/asm/aarch64-clobbers.rs b/tests/codegen-llvm/asm/aarch64-clobbers.rs similarity index 100% rename from tests/codegen/asm/aarch64-clobbers.rs rename to tests/codegen-llvm/asm/aarch64-clobbers.rs diff --git a/tests/codegen/asm/avr-clobbers.rs b/tests/codegen-llvm/asm/avr-clobbers.rs similarity index 100% rename from tests/codegen/asm/avr-clobbers.rs rename to tests/codegen-llvm/asm/avr-clobbers.rs diff --git a/tests/codegen/asm/bpf-clobbers.rs b/tests/codegen-llvm/asm/bpf-clobbers.rs similarity index 100% rename from tests/codegen/asm/bpf-clobbers.rs rename to tests/codegen-llvm/asm/bpf-clobbers.rs diff --git a/tests/codegen/asm/critical.rs b/tests/codegen-llvm/asm/critical.rs similarity index 100% rename from tests/codegen/asm/critical.rs rename to tests/codegen-llvm/asm/critical.rs diff --git a/tests/codegen/asm/csky-clobbers.rs b/tests/codegen-llvm/asm/csky-clobbers.rs similarity index 100% rename from tests/codegen/asm/csky-clobbers.rs rename to tests/codegen-llvm/asm/csky-clobbers.rs diff --git a/tests/codegen/asm/foo.s b/tests/codegen-llvm/asm/foo.s similarity index 100% rename from tests/codegen/asm/foo.s rename to tests/codegen-llvm/asm/foo.s diff --git a/tests/codegen/asm/global_asm.rs b/tests/codegen-llvm/asm/global_asm.rs similarity index 100% rename from tests/codegen/asm/global_asm.rs rename to tests/codegen-llvm/asm/global_asm.rs diff --git a/tests/codegen/asm/global_asm_include.rs b/tests/codegen-llvm/asm/global_asm_include.rs similarity index 100% rename from tests/codegen/asm/global_asm_include.rs rename to tests/codegen-llvm/asm/global_asm_include.rs diff --git a/tests/codegen/asm/global_asm_x2.rs b/tests/codegen-llvm/asm/global_asm_x2.rs similarity index 100% rename from tests/codegen/asm/global_asm_x2.rs rename to tests/codegen-llvm/asm/global_asm_x2.rs diff --git a/tests/codegen/asm/goto.rs b/tests/codegen-llvm/asm/goto.rs similarity index 100% rename from tests/codegen/asm/goto.rs rename to tests/codegen-llvm/asm/goto.rs diff --git a/tests/codegen/asm/hexagon-clobbers.rs b/tests/codegen-llvm/asm/hexagon-clobbers.rs similarity index 100% rename from tests/codegen/asm/hexagon-clobbers.rs rename to tests/codegen-llvm/asm/hexagon-clobbers.rs diff --git a/tests/codegen/asm/may_unwind.rs b/tests/codegen-llvm/asm/may_unwind.rs similarity index 100% rename from tests/codegen/asm/may_unwind.rs rename to tests/codegen-llvm/asm/may_unwind.rs diff --git a/tests/codegen/asm/maybe-uninit.rs b/tests/codegen-llvm/asm/maybe-uninit.rs similarity index 100% rename from tests/codegen/asm/maybe-uninit.rs rename to tests/codegen-llvm/asm/maybe-uninit.rs diff --git a/tests/codegen/asm/msp430-clobbers.rs b/tests/codegen-llvm/asm/msp430-clobbers.rs similarity index 100% rename from tests/codegen/asm/msp430-clobbers.rs rename to tests/codegen-llvm/asm/msp430-clobbers.rs diff --git a/tests/codegen/asm/multiple-options.rs b/tests/codegen-llvm/asm/multiple-options.rs similarity index 100% rename from tests/codegen/asm/multiple-options.rs rename to tests/codegen-llvm/asm/multiple-options.rs diff --git a/tests/codegen/asm/options.rs b/tests/codegen-llvm/asm/options.rs similarity index 100% rename from tests/codegen/asm/options.rs rename to tests/codegen-llvm/asm/options.rs diff --git a/tests/codegen/asm/powerpc-clobbers.rs b/tests/codegen-llvm/asm/powerpc-clobbers.rs similarity index 100% rename from tests/codegen/asm/powerpc-clobbers.rs rename to tests/codegen-llvm/asm/powerpc-clobbers.rs diff --git a/tests/codegen/asm/riscv-clobbers.rs b/tests/codegen-llvm/asm/riscv-clobbers.rs similarity index 100% rename from tests/codegen/asm/riscv-clobbers.rs rename to tests/codegen-llvm/asm/riscv-clobbers.rs diff --git a/tests/codegen/asm/s390x-clobbers.rs b/tests/codegen-llvm/asm/s390x-clobbers.rs similarity index 100% rename from tests/codegen/asm/s390x-clobbers.rs rename to tests/codegen-llvm/asm/s390x-clobbers.rs diff --git a/tests/codegen/asm/sanitize-llvm.rs b/tests/codegen-llvm/asm/sanitize-llvm.rs similarity index 100% rename from tests/codegen/asm/sanitize-llvm.rs rename to tests/codegen-llvm/asm/sanitize-llvm.rs diff --git a/tests/codegen/asm/sparc-clobbers.rs b/tests/codegen-llvm/asm/sparc-clobbers.rs similarity index 100% rename from tests/codegen/asm/sparc-clobbers.rs rename to tests/codegen-llvm/asm/sparc-clobbers.rs diff --git a/tests/codegen/asm/x86-clobber_abi.rs b/tests/codegen-llvm/asm/x86-clobber_abi.rs similarity index 100% rename from tests/codegen/asm/x86-clobber_abi.rs rename to tests/codegen-llvm/asm/x86-clobber_abi.rs diff --git a/tests/codegen/asm/x86-clobbers.rs b/tests/codegen-llvm/asm/x86-clobbers.rs similarity index 100% rename from tests/codegen/asm/x86-clobbers.rs rename to tests/codegen-llvm/asm/x86-clobbers.rs diff --git a/tests/codegen/asm/x86-target-clobbers.rs b/tests/codegen-llvm/asm/x86-target-clobbers.rs similarity index 100% rename from tests/codegen/asm/x86-target-clobbers.rs rename to tests/codegen-llvm/asm/x86-target-clobbers.rs diff --git a/tests/codegen/assign-desugar-debuginfo.rs b/tests/codegen-llvm/assign-desugar-debuginfo.rs similarity index 100% rename from tests/codegen/assign-desugar-debuginfo.rs rename to tests/codegen-llvm/assign-desugar-debuginfo.rs diff --git a/tests/codegen/async-closure-debug.rs b/tests/codegen-llvm/async-closure-debug.rs similarity index 100% rename from tests/codegen/async-closure-debug.rs rename to tests/codegen-llvm/async-closure-debug.rs diff --git a/tests/codegen/async-fn-debug-awaitee-field.rs b/tests/codegen-llvm/async-fn-debug-awaitee-field.rs similarity index 100% rename from tests/codegen/async-fn-debug-awaitee-field.rs rename to tests/codegen-llvm/async-fn-debug-awaitee-field.rs diff --git a/tests/codegen/async-fn-debug-msvc.rs b/tests/codegen-llvm/async-fn-debug-msvc.rs similarity index 100% rename from tests/codegen/async-fn-debug-msvc.rs rename to tests/codegen-llvm/async-fn-debug-msvc.rs diff --git a/tests/codegen/async-fn-debug.rs b/tests/codegen-llvm/async-fn-debug.rs similarity index 100% rename from tests/codegen/async-fn-debug.rs rename to tests/codegen-llvm/async-fn-debug.rs diff --git a/tests/codegen/atomic-operations.rs b/tests/codegen-llvm/atomic-operations.rs similarity index 100% rename from tests/codegen/atomic-operations.rs rename to tests/codegen-llvm/atomic-operations.rs diff --git a/tests/codegen/atomicptr.rs b/tests/codegen-llvm/atomicptr.rs similarity index 100% rename from tests/codegen/atomicptr.rs rename to tests/codegen-llvm/atomicptr.rs diff --git a/tests/codegen/autodiff/batched.rs b/tests/codegen-llvm/autodiff/batched.rs similarity index 100% rename from tests/codegen/autodiff/batched.rs rename to tests/codegen-llvm/autodiff/batched.rs diff --git a/tests/codegen/autodiff/generic.rs b/tests/codegen-llvm/autodiff/generic.rs similarity index 100% rename from tests/codegen/autodiff/generic.rs rename to tests/codegen-llvm/autodiff/generic.rs diff --git a/tests/codegen/autodiff/identical_fnc.rs b/tests/codegen-llvm/autodiff/identical_fnc.rs similarity index 100% rename from tests/codegen/autodiff/identical_fnc.rs rename to tests/codegen-llvm/autodiff/identical_fnc.rs diff --git a/tests/codegen/autodiff/inline.rs b/tests/codegen-llvm/autodiff/inline.rs similarity index 100% rename from tests/codegen/autodiff/inline.rs rename to tests/codegen-llvm/autodiff/inline.rs diff --git a/tests/codegen/autodiff/scalar.rs b/tests/codegen-llvm/autodiff/scalar.rs similarity index 100% rename from tests/codegen/autodiff/scalar.rs rename to tests/codegen-llvm/autodiff/scalar.rs diff --git a/tests/codegen/autodiff/sret.rs b/tests/codegen-llvm/autodiff/sret.rs similarity index 100% rename from tests/codegen/autodiff/sret.rs rename to tests/codegen-llvm/autodiff/sret.rs diff --git a/tests/codegen/autodiffv2.rs b/tests/codegen-llvm/autodiffv2.rs similarity index 100% rename from tests/codegen/autodiffv2.rs rename to tests/codegen-llvm/autodiffv2.rs diff --git a/tests/codegen/autovec/dont-shuffle-bswaps-opt2.rs b/tests/codegen-llvm/autovec/dont-shuffle-bswaps-opt2.rs similarity index 100% rename from tests/codegen/autovec/dont-shuffle-bswaps-opt2.rs rename to tests/codegen-llvm/autovec/dont-shuffle-bswaps-opt2.rs diff --git a/tests/codegen/autovec/dont-shuffle-bswaps-opt3.rs b/tests/codegen-llvm/autovec/dont-shuffle-bswaps-opt3.rs similarity index 100% rename from tests/codegen/autovec/dont-shuffle-bswaps-opt3.rs rename to tests/codegen-llvm/autovec/dont-shuffle-bswaps-opt3.rs diff --git a/tests/codegen/autovectorize-f32x4.rs b/tests/codegen-llvm/autovectorize-f32x4.rs similarity index 100% rename from tests/codegen/autovectorize-f32x4.rs rename to tests/codegen-llvm/autovectorize-f32x4.rs diff --git a/tests/codegen/auxiliary/extern_decl.rs b/tests/codegen-llvm/auxiliary/extern_decl.rs similarity index 100% rename from tests/codegen/auxiliary/extern_decl.rs rename to tests/codegen-llvm/auxiliary/extern_decl.rs diff --git a/tests/codegen/auxiliary/nounwind.rs b/tests/codegen-llvm/auxiliary/nounwind.rs similarity index 100% rename from tests/codegen/auxiliary/nounwind.rs rename to tests/codegen-llvm/auxiliary/nounwind.rs diff --git a/tests/codegen/auxiliary/thread_local_aux.rs b/tests/codegen-llvm/auxiliary/thread_local_aux.rs similarity index 100% rename from tests/codegen/auxiliary/thread_local_aux.rs rename to tests/codegen-llvm/auxiliary/thread_local_aux.rs diff --git a/tests/codegen/avr/avr-func-addrspace.rs b/tests/codegen-llvm/avr/avr-func-addrspace.rs similarity index 100% rename from tests/codegen/avr/avr-func-addrspace.rs rename to tests/codegen-llvm/avr/avr-func-addrspace.rs diff --git a/tests/codegen/bigint-helpers.rs b/tests/codegen-llvm/bigint-helpers.rs similarity index 100% rename from tests/codegen/bigint-helpers.rs rename to tests/codegen-llvm/bigint-helpers.rs diff --git a/tests/codegen/binary-heap-peek-mut-pop-no-panic.rs b/tests/codegen-llvm/binary-heap-peek-mut-pop-no-panic.rs similarity index 100% rename from tests/codegen/binary-heap-peek-mut-pop-no-panic.rs rename to tests/codegen-llvm/binary-heap-peek-mut-pop-no-panic.rs diff --git a/tests/codegen/binary-search-index-no-bound-check.rs b/tests/codegen-llvm/binary-search-index-no-bound-check.rs similarity index 100% rename from tests/codegen/binary-search-index-no-bound-check.rs rename to tests/codegen-llvm/binary-search-index-no-bound-check.rs diff --git a/tests/codegen/bool-cmp.rs b/tests/codegen-llvm/bool-cmp.rs similarity index 100% rename from tests/codegen/bool-cmp.rs rename to tests/codegen-llvm/bool-cmp.rs diff --git a/tests/codegen/bounds-checking/gep-issue-133979.rs b/tests/codegen-llvm/bounds-checking/gep-issue-133979.rs similarity index 100% rename from tests/codegen/bounds-checking/gep-issue-133979.rs rename to tests/codegen-llvm/bounds-checking/gep-issue-133979.rs diff --git a/tests/codegen/box-default-debug-copies.rs b/tests/codegen-llvm/box-default-debug-copies.rs similarity index 100% rename from tests/codegen/box-default-debug-copies.rs rename to tests/codegen-llvm/box-default-debug-copies.rs diff --git a/tests/codegen/box-uninit-bytes.rs b/tests/codegen-llvm/box-uninit-bytes.rs similarity index 100% rename from tests/codegen/box-uninit-bytes.rs rename to tests/codegen-llvm/box-uninit-bytes.rs diff --git a/tests/codegen/bpf-alu32.rs b/tests/codegen-llvm/bpf-alu32.rs similarity index 100% rename from tests/codegen/bpf-alu32.rs rename to tests/codegen-llvm/bpf-alu32.rs diff --git a/tests/codegen/branch-protection.rs b/tests/codegen-llvm/branch-protection.rs similarity index 100% rename from tests/codegen/branch-protection.rs rename to tests/codegen-llvm/branch-protection.rs diff --git a/tests/codegen/call-llvm-intrinsics.rs b/tests/codegen-llvm/call-llvm-intrinsics.rs similarity index 100% rename from tests/codegen/call-llvm-intrinsics.rs rename to tests/codegen-llvm/call-llvm-intrinsics.rs diff --git a/tests/codegen/call-tmps-lifetime.rs b/tests/codegen-llvm/call-tmps-lifetime.rs similarity index 100% rename from tests/codegen/call-tmps-lifetime.rs rename to tests/codegen-llvm/call-tmps-lifetime.rs diff --git a/tests/codegen/cast-optimized.rs b/tests/codegen-llvm/cast-optimized.rs similarity index 100% rename from tests/codegen/cast-optimized.rs rename to tests/codegen-llvm/cast-optimized.rs diff --git a/tests/codegen/cast-target-abi.rs b/tests/codegen-llvm/cast-target-abi.rs similarity index 100% rename from tests/codegen/cast-target-abi.rs rename to tests/codegen-llvm/cast-target-abi.rs diff --git a/tests/codegen/catch-unwind.rs b/tests/codegen-llvm/catch-unwind.rs similarity index 100% rename from tests/codegen/catch-unwind.rs rename to tests/codegen-llvm/catch-unwind.rs diff --git a/tests/codegen/cdylib-external-inline-fns.rs b/tests/codegen-llvm/cdylib-external-inline-fns.rs similarity index 100% rename from tests/codegen/cdylib-external-inline-fns.rs rename to tests/codegen-llvm/cdylib-external-inline-fns.rs diff --git a/tests/codegen/cf-protection.rs b/tests/codegen-llvm/cf-protection.rs similarity index 100% rename from tests/codegen/cf-protection.rs rename to tests/codegen-llvm/cf-protection.rs diff --git a/tests/codegen/cffi/c-variadic-copy.rs b/tests/codegen-llvm/cffi/c-variadic-copy.rs similarity index 100% rename from tests/codegen/cffi/c-variadic-copy.rs rename to tests/codegen-llvm/cffi/c-variadic-copy.rs diff --git a/tests/codegen/cffi/c-variadic-naked.rs b/tests/codegen-llvm/cffi/c-variadic-naked.rs similarity index 100% rename from tests/codegen/cffi/c-variadic-naked.rs rename to tests/codegen-llvm/cffi/c-variadic-naked.rs diff --git a/tests/codegen/cffi/c-variadic-opt.rs b/tests/codegen-llvm/cffi/c-variadic-opt.rs similarity index 100% rename from tests/codegen/cffi/c-variadic-opt.rs rename to tests/codegen-llvm/cffi/c-variadic-opt.rs diff --git a/tests/codegen/cffi/c-variadic.rs b/tests/codegen-llvm/cffi/c-variadic.rs similarity index 100% rename from tests/codegen/cffi/c-variadic.rs rename to tests/codegen-llvm/cffi/c-variadic.rs diff --git a/tests/codegen/cffi/ffi-const.rs b/tests/codegen-llvm/cffi/ffi-const.rs similarity index 100% rename from tests/codegen/cffi/ffi-const.rs rename to tests/codegen-llvm/cffi/ffi-const.rs diff --git a/tests/codegen/cffi/ffi-out-of-bounds-loads.rs b/tests/codegen-llvm/cffi/ffi-out-of-bounds-loads.rs similarity index 100% rename from tests/codegen/cffi/ffi-out-of-bounds-loads.rs rename to tests/codegen-llvm/cffi/ffi-out-of-bounds-loads.rs diff --git a/tests/codegen/cffi/ffi-pure.rs b/tests/codegen-llvm/cffi/ffi-pure.rs similarity index 100% rename from tests/codegen/cffi/ffi-pure.rs rename to tests/codegen-llvm/cffi/ffi-pure.rs diff --git a/tests/codegen/cfguard-checks.rs b/tests/codegen-llvm/cfguard-checks.rs similarity index 100% rename from tests/codegen/cfguard-checks.rs rename to tests/codegen-llvm/cfguard-checks.rs diff --git a/tests/codegen/cfguard-disabled.rs b/tests/codegen-llvm/cfguard-disabled.rs similarity index 100% rename from tests/codegen/cfguard-disabled.rs rename to tests/codegen-llvm/cfguard-disabled.rs diff --git a/tests/codegen/cfguard-nochecks.rs b/tests/codegen-llvm/cfguard-nochecks.rs similarity index 100% rename from tests/codegen/cfguard-nochecks.rs rename to tests/codegen-llvm/cfguard-nochecks.rs diff --git a/tests/codegen/cfguard-non-msvc.rs b/tests/codegen-llvm/cfguard-non-msvc.rs similarity index 100% rename from tests/codegen/cfguard-non-msvc.rs rename to tests/codegen-llvm/cfguard-non-msvc.rs diff --git a/tests/codegen/char-ascii-branchless.rs b/tests/codegen-llvm/char-ascii-branchless.rs similarity index 100% rename from tests/codegen/char-ascii-branchless.rs rename to tests/codegen-llvm/char-ascii-branchless.rs diff --git a/tests/codegen/char-escape-debug-no-bounds-check.rs b/tests/codegen-llvm/char-escape-debug-no-bounds-check.rs similarity index 100% rename from tests/codegen/char-escape-debug-no-bounds-check.rs rename to tests/codegen-llvm/char-escape-debug-no-bounds-check.rs diff --git a/tests/codegen/checked_ilog.rs b/tests/codegen-llvm/checked_ilog.rs similarity index 100% rename from tests/codegen/checked_ilog.rs rename to tests/codegen-llvm/checked_ilog.rs diff --git a/tests/codegen/checked_math.rs b/tests/codegen-llvm/checked_math.rs similarity index 100% rename from tests/codegen/checked_math.rs rename to tests/codegen-llvm/checked_math.rs diff --git a/tests/codegen/clone-shims.rs b/tests/codegen-llvm/clone-shims.rs similarity index 100% rename from tests/codegen/clone-shims.rs rename to tests/codegen-llvm/clone-shims.rs diff --git a/tests/codegen/clone_as_copy.rs b/tests/codegen-llvm/clone_as_copy.rs similarity index 100% rename from tests/codegen/clone_as_copy.rs rename to tests/codegen-llvm/clone_as_copy.rs diff --git a/tests/codegen/codemodels.rs b/tests/codegen-llvm/codemodels.rs similarity index 100% rename from tests/codegen/codemodels.rs rename to tests/codegen-llvm/codemodels.rs diff --git a/tests/codegen/coercions.rs b/tests/codegen-llvm/coercions.rs similarity index 100% rename from tests/codegen/coercions.rs rename to tests/codegen-llvm/coercions.rs diff --git a/tests/codegen/cold-call-declare-and-call.rs b/tests/codegen-llvm/cold-call-declare-and-call.rs similarity index 100% rename from tests/codegen/cold-call-declare-and-call.rs rename to tests/codegen-llvm/cold-call-declare-and-call.rs diff --git a/tests/codegen/common_prim_int_ptr.rs b/tests/codegen-llvm/common_prim_int_ptr.rs similarity index 100% rename from tests/codegen/common_prim_int_ptr.rs rename to tests/codegen-llvm/common_prim_int_ptr.rs diff --git a/tests/codegen/comparison-operators-2-struct.rs b/tests/codegen-llvm/comparison-operators-2-struct.rs similarity index 100% rename from tests/codegen/comparison-operators-2-struct.rs rename to tests/codegen-llvm/comparison-operators-2-struct.rs diff --git a/tests/codegen/comparison-operators-2-tuple.rs b/tests/codegen-llvm/comparison-operators-2-tuple.rs similarity index 100% rename from tests/codegen/comparison-operators-2-tuple.rs rename to tests/codegen-llvm/comparison-operators-2-tuple.rs diff --git a/tests/codegen/comparison-operators-newtype.rs b/tests/codegen-llvm/comparison-operators-newtype.rs similarity index 100% rename from tests/codegen/comparison-operators-newtype.rs rename to tests/codegen-llvm/comparison-operators-newtype.rs diff --git a/tests/codegen/compiletest-self-test/minicore-smoke-test.rs b/tests/codegen-llvm/compiletest-self-test/minicore-smoke-test.rs similarity index 100% rename from tests/codegen/compiletest-self-test/minicore-smoke-test.rs rename to tests/codegen-llvm/compiletest-self-test/minicore-smoke-test.rs diff --git a/tests/codegen/const-array.rs b/tests/codegen-llvm/const-array.rs similarity index 100% rename from tests/codegen/const-array.rs rename to tests/codegen-llvm/const-array.rs diff --git a/tests/codegen/const-vector.rs b/tests/codegen-llvm/const-vector.rs similarity index 100% rename from tests/codegen/const-vector.rs rename to tests/codegen-llvm/const-vector.rs diff --git a/tests/codegen/const_scalar_pair.rs b/tests/codegen-llvm/const_scalar_pair.rs similarity index 100% rename from tests/codegen/const_scalar_pair.rs rename to tests/codegen-llvm/const_scalar_pair.rs diff --git a/tests/codegen/constant-branch.rs b/tests/codegen-llvm/constant-branch.rs similarity index 100% rename from tests/codegen/constant-branch.rs rename to tests/codegen-llvm/constant-branch.rs diff --git a/tests/codegen/consts.rs b/tests/codegen-llvm/consts.rs similarity index 100% rename from tests/codegen/consts.rs rename to tests/codegen-llvm/consts.rs diff --git a/tests/codegen/coroutine-debug-msvc.rs b/tests/codegen-llvm/coroutine-debug-msvc.rs similarity index 100% rename from tests/codegen/coroutine-debug-msvc.rs rename to tests/codegen-llvm/coroutine-debug-msvc.rs diff --git a/tests/codegen/coroutine-debug.rs b/tests/codegen-llvm/coroutine-debug.rs similarity index 100% rename from tests/codegen/coroutine-debug.rs rename to tests/codegen-llvm/coroutine-debug.rs diff --git a/tests/codegen/cross-crate-inlining/always-inline.rs b/tests/codegen-llvm/cross-crate-inlining/always-inline.rs similarity index 100% rename from tests/codegen/cross-crate-inlining/always-inline.rs rename to tests/codegen-llvm/cross-crate-inlining/always-inline.rs diff --git a/tests/codegen/cross-crate-inlining/auxiliary/always.rs b/tests/codegen-llvm/cross-crate-inlining/auxiliary/always.rs similarity index 100% rename from tests/codegen/cross-crate-inlining/auxiliary/always.rs rename to tests/codegen-llvm/cross-crate-inlining/auxiliary/always.rs diff --git a/tests/codegen/cross-crate-inlining/auxiliary/leaf.rs b/tests/codegen-llvm/cross-crate-inlining/auxiliary/leaf.rs similarity index 100% rename from tests/codegen/cross-crate-inlining/auxiliary/leaf.rs rename to tests/codegen-llvm/cross-crate-inlining/auxiliary/leaf.rs diff --git a/tests/codegen/cross-crate-inlining/auxiliary/never.rs b/tests/codegen-llvm/cross-crate-inlining/auxiliary/never.rs similarity index 100% rename from tests/codegen/cross-crate-inlining/auxiliary/never.rs rename to tests/codegen-llvm/cross-crate-inlining/auxiliary/never.rs diff --git a/tests/codegen/cross-crate-inlining/leaf-inlining.rs b/tests/codegen-llvm/cross-crate-inlining/leaf-inlining.rs similarity index 100% rename from tests/codegen/cross-crate-inlining/leaf-inlining.rs rename to tests/codegen-llvm/cross-crate-inlining/leaf-inlining.rs diff --git a/tests/codegen/cross-crate-inlining/never-inline.rs b/tests/codegen-llvm/cross-crate-inlining/never-inline.rs similarity index 100% rename from tests/codegen/cross-crate-inlining/never-inline.rs rename to tests/codegen-llvm/cross-crate-inlining/never-inline.rs diff --git a/tests/codegen/dealloc-no-unwind.rs b/tests/codegen-llvm/dealloc-no-unwind.rs similarity index 100% rename from tests/codegen/dealloc-no-unwind.rs rename to tests/codegen-llvm/dealloc-no-unwind.rs diff --git a/tests/codegen/debug-accessibility/crate-enum.rs b/tests/codegen-llvm/debug-accessibility/crate-enum.rs similarity index 100% rename from tests/codegen/debug-accessibility/crate-enum.rs rename to tests/codegen-llvm/debug-accessibility/crate-enum.rs diff --git a/tests/codegen/debug-accessibility/crate-struct.rs b/tests/codegen-llvm/debug-accessibility/crate-struct.rs similarity index 100% rename from tests/codegen/debug-accessibility/crate-struct.rs rename to tests/codegen-llvm/debug-accessibility/crate-struct.rs diff --git a/tests/codegen/debug-accessibility/private-enum.rs b/tests/codegen-llvm/debug-accessibility/private-enum.rs similarity index 100% rename from tests/codegen/debug-accessibility/private-enum.rs rename to tests/codegen-llvm/debug-accessibility/private-enum.rs diff --git a/tests/codegen/debug-accessibility/private-struct.rs b/tests/codegen-llvm/debug-accessibility/private-struct.rs similarity index 100% rename from tests/codegen/debug-accessibility/private-struct.rs rename to tests/codegen-llvm/debug-accessibility/private-struct.rs diff --git a/tests/codegen/debug-accessibility/public-enum.rs b/tests/codegen-llvm/debug-accessibility/public-enum.rs similarity index 100% rename from tests/codegen/debug-accessibility/public-enum.rs rename to tests/codegen-llvm/debug-accessibility/public-enum.rs diff --git a/tests/codegen/debug-accessibility/public-struct.rs b/tests/codegen-llvm/debug-accessibility/public-struct.rs similarity index 100% rename from tests/codegen/debug-accessibility/public-struct.rs rename to tests/codegen-llvm/debug-accessibility/public-struct.rs diff --git a/tests/codegen/debug-accessibility/struct-fields.rs b/tests/codegen-llvm/debug-accessibility/struct-fields.rs similarity index 100% rename from tests/codegen/debug-accessibility/struct-fields.rs rename to tests/codegen-llvm/debug-accessibility/struct-fields.rs diff --git a/tests/codegen/debug-accessibility/super-enum.rs b/tests/codegen-llvm/debug-accessibility/super-enum.rs similarity index 100% rename from tests/codegen/debug-accessibility/super-enum.rs rename to tests/codegen-llvm/debug-accessibility/super-enum.rs diff --git a/tests/codegen/debug-accessibility/super-struct.rs b/tests/codegen-llvm/debug-accessibility/super-struct.rs similarity index 100% rename from tests/codegen/debug-accessibility/super-struct.rs rename to tests/codegen-llvm/debug-accessibility/super-struct.rs diff --git a/tests/codegen/debug-accessibility/tuple-fields.rs b/tests/codegen-llvm/debug-accessibility/tuple-fields.rs similarity index 100% rename from tests/codegen/debug-accessibility/tuple-fields.rs rename to tests/codegen-llvm/debug-accessibility/tuple-fields.rs diff --git a/tests/codegen/debug-alignment.rs b/tests/codegen-llvm/debug-alignment.rs similarity index 100% rename from tests/codegen/debug-alignment.rs rename to tests/codegen-llvm/debug-alignment.rs diff --git a/tests/codegen/debug-column-msvc.rs b/tests/codegen-llvm/debug-column-msvc.rs similarity index 100% rename from tests/codegen/debug-column-msvc.rs rename to tests/codegen-llvm/debug-column-msvc.rs diff --git a/tests/codegen/debug-column.rs b/tests/codegen-llvm/debug-column.rs similarity index 100% rename from tests/codegen/debug-column.rs rename to tests/codegen-llvm/debug-column.rs diff --git a/tests/codegen/debug-compile-unit-path.rs b/tests/codegen-llvm/debug-compile-unit-path.rs similarity index 100% rename from tests/codegen/debug-compile-unit-path.rs rename to tests/codegen-llvm/debug-compile-unit-path.rs diff --git a/tests/codegen/debug-fndef-size.rs b/tests/codegen-llvm/debug-fndef-size.rs similarity index 100% rename from tests/codegen/debug-fndef-size.rs rename to tests/codegen-llvm/debug-fndef-size.rs diff --git a/tests/codegen/debug-limited.rs b/tests/codegen-llvm/debug-limited.rs similarity index 100% rename from tests/codegen/debug-limited.rs rename to tests/codegen-llvm/debug-limited.rs diff --git a/tests/codegen/debug-line-directives-only.rs b/tests/codegen-llvm/debug-line-directives-only.rs similarity index 100% rename from tests/codegen/debug-line-directives-only.rs rename to tests/codegen-llvm/debug-line-directives-only.rs diff --git a/tests/codegen/debug-line-tables-only.rs b/tests/codegen-llvm/debug-line-tables-only.rs similarity index 100% rename from tests/codegen/debug-line-tables-only.rs rename to tests/codegen-llvm/debug-line-tables-only.rs diff --git a/tests/codegen/debug-linkage-name.rs b/tests/codegen-llvm/debug-linkage-name.rs similarity index 100% rename from tests/codegen/debug-linkage-name.rs rename to tests/codegen-llvm/debug-linkage-name.rs diff --git a/tests/codegen/debug-vtable.rs b/tests/codegen-llvm/debug-vtable.rs similarity index 100% rename from tests/codegen/debug-vtable.rs rename to tests/codegen-llvm/debug-vtable.rs diff --git a/tests/codegen/debuginfo-constant-locals.rs b/tests/codegen-llvm/debuginfo-constant-locals.rs similarity index 100% rename from tests/codegen/debuginfo-constant-locals.rs rename to tests/codegen-llvm/debuginfo-constant-locals.rs diff --git a/tests/codegen/debuginfo-generic-closure-env-names.rs b/tests/codegen-llvm/debuginfo-generic-closure-env-names.rs similarity index 100% rename from tests/codegen/debuginfo-generic-closure-env-names.rs rename to tests/codegen-llvm/debuginfo-generic-closure-env-names.rs diff --git a/tests/codegen/debuginfo-inline-callsite-location.rs b/tests/codegen-llvm/debuginfo-inline-callsite-location.rs similarity index 100% rename from tests/codegen/debuginfo-inline-callsite-location.rs rename to tests/codegen-llvm/debuginfo-inline-callsite-location.rs diff --git a/tests/codegen/debuginfo-proc-macro/auxiliary/macro_def.rs b/tests/codegen-llvm/debuginfo-proc-macro/auxiliary/macro_def.rs similarity index 100% rename from tests/codegen/debuginfo-proc-macro/auxiliary/macro_def.rs rename to tests/codegen-llvm/debuginfo-proc-macro/auxiliary/macro_def.rs diff --git a/tests/codegen/debuginfo-proc-macro/mir_inlined_twice_var_locs.rs b/tests/codegen-llvm/debuginfo-proc-macro/mir_inlined_twice_var_locs.rs similarity index 100% rename from tests/codegen/debuginfo-proc-macro/mir_inlined_twice_var_locs.rs rename to tests/codegen-llvm/debuginfo-proc-macro/mir_inlined_twice_var_locs.rs diff --git a/tests/codegen/deduced-param-attrs.rs b/tests/codegen-llvm/deduced-param-attrs.rs similarity index 100% rename from tests/codegen/deduced-param-attrs.rs rename to tests/codegen-llvm/deduced-param-attrs.rs diff --git a/tests/codegen/default-requires-uwtable.rs b/tests/codegen-llvm/default-requires-uwtable.rs similarity index 100% rename from tests/codegen/default-requires-uwtable.rs rename to tests/codegen-llvm/default-requires-uwtable.rs diff --git a/tests/codegen/default-visibility.rs b/tests/codegen-llvm/default-visibility.rs similarity index 100% rename from tests/codegen/default-visibility.rs rename to tests/codegen-llvm/default-visibility.rs diff --git a/tests/codegen/direct-access-external-data.rs b/tests/codegen-llvm/direct-access-external-data.rs similarity index 100% rename from tests/codegen/direct-access-external-data.rs rename to tests/codegen-llvm/direct-access-external-data.rs diff --git a/tests/codegen/dllimports/auxiliary/dummy.rs b/tests/codegen-llvm/dllimports/auxiliary/dummy.rs similarity index 100% rename from tests/codegen/dllimports/auxiliary/dummy.rs rename to tests/codegen-llvm/dllimports/auxiliary/dummy.rs diff --git a/tests/codegen/dllimports/auxiliary/wrapper.rs b/tests/codegen-llvm/dllimports/auxiliary/wrapper.rs similarity index 100% rename from tests/codegen/dllimports/auxiliary/wrapper.rs rename to tests/codegen-llvm/dllimports/auxiliary/wrapper.rs diff --git a/tests/codegen/dllimports/main.rs b/tests/codegen-llvm/dllimports/main.rs similarity index 100% rename from tests/codegen/dllimports/main.rs rename to tests/codegen-llvm/dllimports/main.rs diff --git a/tests/codegen/dont_codegen_private_const_fn_only_used_in_const_eval.rs b/tests/codegen-llvm/dont_codegen_private_const_fn_only_used_in_const_eval.rs similarity index 100% rename from tests/codegen/dont_codegen_private_const_fn_only_used_in_const_eval.rs rename to tests/codegen-llvm/dont_codegen_private_const_fn_only_used_in_const_eval.rs diff --git a/tests/codegen/drop-in-place-noalias.rs b/tests/codegen-llvm/drop-in-place-noalias.rs similarity index 100% rename from tests/codegen/drop-in-place-noalias.rs rename to tests/codegen-llvm/drop-in-place-noalias.rs diff --git a/tests/codegen/drop.rs b/tests/codegen-llvm/drop.rs similarity index 100% rename from tests/codegen/drop.rs rename to tests/codegen-llvm/drop.rs diff --git a/tests/codegen/dst-offset.rs b/tests/codegen-llvm/dst-offset.rs similarity index 100% rename from tests/codegen/dst-offset.rs rename to tests/codegen-llvm/dst-offset.rs diff --git a/tests/codegen/dst-vtable-align-nonzero.rs b/tests/codegen-llvm/dst-vtable-align-nonzero.rs similarity index 100% rename from tests/codegen/dst-vtable-align-nonzero.rs rename to tests/codegen-llvm/dst-vtable-align-nonzero.rs diff --git a/tests/codegen/dst-vtable-size-range.rs b/tests/codegen-llvm/dst-vtable-size-range.rs similarity index 100% rename from tests/codegen/dst-vtable-size-range.rs rename to tests/codegen-llvm/dst-vtable-size-range.rs diff --git a/tests/codegen/ehcontguard_disabled.rs b/tests/codegen-llvm/ehcontguard_disabled.rs similarity index 100% rename from tests/codegen/ehcontguard_disabled.rs rename to tests/codegen-llvm/ehcontguard_disabled.rs diff --git a/tests/codegen/ehcontguard_enabled.rs b/tests/codegen-llvm/ehcontguard_enabled.rs similarity index 100% rename from tests/codegen/ehcontguard_enabled.rs rename to tests/codegen-llvm/ehcontguard_enabled.rs diff --git a/tests/codegen/emscripten-catch-unwind-js-eh.rs b/tests/codegen-llvm/emscripten-catch-unwind-js-eh.rs similarity index 100% rename from tests/codegen/emscripten-catch-unwind-js-eh.rs rename to tests/codegen-llvm/emscripten-catch-unwind-js-eh.rs diff --git a/tests/codegen/emscripten-catch-unwind-wasm-eh.rs b/tests/codegen-llvm/emscripten-catch-unwind-wasm-eh.rs similarity index 100% rename from tests/codegen/emscripten-catch-unwind-wasm-eh.rs rename to tests/codegen-llvm/emscripten-catch-unwind-wasm-eh.rs diff --git a/tests/codegen/enable-lto-unit-splitting.rs b/tests/codegen-llvm/enable-lto-unit-splitting.rs similarity index 100% rename from tests/codegen/enable-lto-unit-splitting.rs rename to tests/codegen-llvm/enable-lto-unit-splitting.rs diff --git a/tests/codegen/enum/enum-aggregate.rs b/tests/codegen-llvm/enum/enum-aggregate.rs similarity index 100% rename from tests/codegen/enum/enum-aggregate.rs rename to tests/codegen-llvm/enum/enum-aggregate.rs diff --git a/tests/codegen/enum/enum-bounds-check-derived-idx.rs b/tests/codegen-llvm/enum/enum-bounds-check-derived-idx.rs similarity index 100% rename from tests/codegen/enum/enum-bounds-check-derived-idx.rs rename to tests/codegen-llvm/enum/enum-bounds-check-derived-idx.rs diff --git a/tests/codegen/enum/enum-bounds-check-issue-13926.rs b/tests/codegen-llvm/enum/enum-bounds-check-issue-13926.rs similarity index 100% rename from tests/codegen/enum/enum-bounds-check-issue-13926.rs rename to tests/codegen-llvm/enum/enum-bounds-check-issue-13926.rs diff --git a/tests/codegen/enum/enum-bounds-check-issue-82871.rs b/tests/codegen-llvm/enum/enum-bounds-check-issue-82871.rs similarity index 100% rename from tests/codegen/enum/enum-bounds-check-issue-82871.rs rename to tests/codegen-llvm/enum/enum-bounds-check-issue-82871.rs diff --git a/tests/codegen/enum/enum-bounds-check.rs b/tests/codegen-llvm/enum/enum-bounds-check.rs similarity index 100% rename from tests/codegen/enum/enum-bounds-check.rs rename to tests/codegen-llvm/enum/enum-bounds-check.rs diff --git a/tests/codegen/enum/enum-debug-clike.rs b/tests/codegen-llvm/enum/enum-debug-clike.rs similarity index 100% rename from tests/codegen/enum/enum-debug-clike.rs rename to tests/codegen-llvm/enum/enum-debug-clike.rs diff --git a/tests/codegen/enum/enum-debug-niche-2.rs b/tests/codegen-llvm/enum/enum-debug-niche-2.rs similarity index 100% rename from tests/codegen/enum/enum-debug-niche-2.rs rename to tests/codegen-llvm/enum/enum-debug-niche-2.rs diff --git a/tests/codegen/enum/enum-debug-niche.rs b/tests/codegen-llvm/enum/enum-debug-niche.rs similarity index 100% rename from tests/codegen/enum/enum-debug-niche.rs rename to tests/codegen-llvm/enum/enum-debug-niche.rs diff --git a/tests/codegen/enum/enum-debug-tagged.rs b/tests/codegen-llvm/enum/enum-debug-tagged.rs similarity index 100% rename from tests/codegen/enum/enum-debug-tagged.rs rename to tests/codegen-llvm/enum/enum-debug-tagged.rs diff --git a/tests/codegen/enum/enum-discriminant-eq.rs b/tests/codegen-llvm/enum/enum-discriminant-eq.rs similarity index 100% rename from tests/codegen/enum/enum-discriminant-eq.rs rename to tests/codegen-llvm/enum/enum-discriminant-eq.rs diff --git a/tests/codegen/enum/enum-discriminant-value.rs b/tests/codegen-llvm/enum/enum-discriminant-value.rs similarity index 100% rename from tests/codegen/enum/enum-discriminant-value.rs rename to tests/codegen-llvm/enum/enum-discriminant-value.rs diff --git a/tests/codegen/enum/enum-early-otherwise-branch.rs b/tests/codegen-llvm/enum/enum-early-otherwise-branch.rs similarity index 100% rename from tests/codegen/enum/enum-early-otherwise-branch.rs rename to tests/codegen-llvm/enum/enum-early-otherwise-branch.rs diff --git a/tests/codegen/enum/enum-match.rs b/tests/codegen-llvm/enum/enum-match.rs similarity index 100% rename from tests/codegen/enum/enum-match.rs rename to tests/codegen-llvm/enum/enum-match.rs diff --git a/tests/codegen/enum/enum-two-variants-match.rs b/tests/codegen-llvm/enum/enum-two-variants-match.rs similarity index 100% rename from tests/codegen/enum/enum-two-variants-match.rs rename to tests/codegen-llvm/enum/enum-two-variants-match.rs diff --git a/tests/codegen/enum/enum-u128.rs b/tests/codegen-llvm/enum/enum-u128.rs similarity index 100% rename from tests/codegen/enum/enum-u128.rs rename to tests/codegen-llvm/enum/enum-u128.rs diff --git a/tests/codegen/enum/unreachable_enum_default_branch.rs b/tests/codegen-llvm/enum/unreachable_enum_default_branch.rs similarity index 100% rename from tests/codegen/enum/unreachable_enum_default_branch.rs rename to tests/codegen-llvm/enum/unreachable_enum_default_branch.rs diff --git a/tests/codegen/ergonomic-clones/closure.rs b/tests/codegen-llvm/ergonomic-clones/closure.rs similarity index 100% rename from tests/codegen/ergonomic-clones/closure.rs rename to tests/codegen-llvm/ergonomic-clones/closure.rs diff --git a/tests/codegen/error-provide.rs b/tests/codegen-llvm/error-provide.rs similarity index 100% rename from tests/codegen/error-provide.rs rename to tests/codegen-llvm/error-provide.rs diff --git a/tests/codegen/export-no-mangle.rs b/tests/codegen-llvm/export-no-mangle.rs similarity index 100% rename from tests/codegen/export-no-mangle.rs rename to tests/codegen-llvm/export-no-mangle.rs diff --git a/tests/codegen/external-no-mangle-fns.rs b/tests/codegen-llvm/external-no-mangle-fns.rs similarity index 100% rename from tests/codegen/external-no-mangle-fns.rs rename to tests/codegen-llvm/external-no-mangle-fns.rs diff --git a/tests/codegen/external-no-mangle-statics.rs b/tests/codegen-llvm/external-no-mangle-statics.rs similarity index 100% rename from tests/codegen/external-no-mangle-statics.rs rename to tests/codegen-llvm/external-no-mangle-statics.rs diff --git a/tests/codegen/f128-wasm32-callconv.rs b/tests/codegen-llvm/f128-wasm32-callconv.rs similarity index 100% rename from tests/codegen/f128-wasm32-callconv.rs rename to tests/codegen-llvm/f128-wasm32-callconv.rs diff --git a/tests/codegen/fastcall-inreg.rs b/tests/codegen-llvm/fastcall-inreg.rs similarity index 100% rename from tests/codegen/fastcall-inreg.rs rename to tests/codegen-llvm/fastcall-inreg.rs diff --git a/tests/codegen/fatptr.rs b/tests/codegen-llvm/fatptr.rs similarity index 100% rename from tests/codegen/fatptr.rs rename to tests/codegen-llvm/fatptr.rs diff --git a/tests/codegen/fewer-names.rs b/tests/codegen-llvm/fewer-names.rs similarity index 100% rename from tests/codegen/fewer-names.rs rename to tests/codegen-llvm/fewer-names.rs diff --git a/tests/codegen/fixed-x18.rs b/tests/codegen-llvm/fixed-x18.rs similarity index 100% rename from tests/codegen/fixed-x18.rs rename to tests/codegen-llvm/fixed-x18.rs diff --git a/tests/codegen/float/algebraic.rs b/tests/codegen-llvm/float/algebraic.rs similarity index 100% rename from tests/codegen/float/algebraic.rs rename to tests/codegen-llvm/float/algebraic.rs diff --git a/tests/codegen/float/f128.rs b/tests/codegen-llvm/float/f128.rs similarity index 100% rename from tests/codegen/float/f128.rs rename to tests/codegen-llvm/float/f128.rs diff --git a/tests/codegen/float/f16-f128-inline.rs b/tests/codegen-llvm/float/f16-f128-inline.rs similarity index 100% rename from tests/codegen/float/f16-f128-inline.rs rename to tests/codegen-llvm/float/f16-f128-inline.rs diff --git a/tests/codegen/float/f16.rs b/tests/codegen-llvm/float/f16.rs similarity index 100% rename from tests/codegen/float/f16.rs rename to tests/codegen-llvm/float/f16.rs diff --git a/tests/codegen/float_math.rs b/tests/codegen-llvm/float_math.rs similarity index 100% rename from tests/codegen/float_math.rs rename to tests/codegen-llvm/float_math.rs diff --git a/tests/codegen/fn-impl-trait-self.rs b/tests/codegen-llvm/fn-impl-trait-self.rs similarity index 100% rename from tests/codegen/fn-impl-trait-self.rs rename to tests/codegen-llvm/fn-impl-trait-self.rs diff --git a/tests/codegen/fn-parameters-on-different-lines-debuginfo.rs b/tests/codegen-llvm/fn-parameters-on-different-lines-debuginfo.rs similarity index 100% rename from tests/codegen/fn-parameters-on-different-lines-debuginfo.rs rename to tests/codegen-llvm/fn-parameters-on-different-lines-debuginfo.rs diff --git a/tests/codegen/force-frame-pointers.rs b/tests/codegen-llvm/force-frame-pointers.rs similarity index 100% rename from tests/codegen/force-frame-pointers.rs rename to tests/codegen-llvm/force-frame-pointers.rs diff --git a/tests/codegen/force-no-unwind-tables.rs b/tests/codegen-llvm/force-no-unwind-tables.rs similarity index 100% rename from tests/codegen/force-no-unwind-tables.rs rename to tests/codegen-llvm/force-no-unwind-tables.rs diff --git a/tests/codegen/force-unwind-tables.rs b/tests/codegen-llvm/force-unwind-tables.rs similarity index 100% rename from tests/codegen/force-unwind-tables.rs rename to tests/codegen-llvm/force-unwind-tables.rs diff --git a/tests/codegen/frame-pointer-cli-control.rs b/tests/codegen-llvm/frame-pointer-cli-control.rs similarity index 100% rename from tests/codegen/frame-pointer-cli-control.rs rename to tests/codegen-llvm/frame-pointer-cli-control.rs diff --git a/tests/codegen/frame-pointer.rs b/tests/codegen-llvm/frame-pointer.rs similarity index 100% rename from tests/codegen/frame-pointer.rs rename to tests/codegen-llvm/frame-pointer.rs diff --git a/tests/codegen/function-arguments-noopt.rs b/tests/codegen-llvm/function-arguments-noopt.rs similarity index 100% rename from tests/codegen/function-arguments-noopt.rs rename to tests/codegen-llvm/function-arguments-noopt.rs diff --git a/tests/codegen/function-arguments.rs b/tests/codegen-llvm/function-arguments.rs similarity index 100% rename from tests/codegen/function-arguments.rs rename to tests/codegen-llvm/function-arguments.rs diff --git a/tests/codegen/function-return.rs b/tests/codegen-llvm/function-return.rs similarity index 100% rename from tests/codegen/function-return.rs rename to tests/codegen-llvm/function-return.rs diff --git a/tests/codegen/gdb_debug_script_load.rs b/tests/codegen-llvm/gdb_debug_script_load.rs similarity index 100% rename from tests/codegen/gdb_debug_script_load.rs rename to tests/codegen-llvm/gdb_debug_script_load.rs diff --git a/tests/codegen/generic-debug.rs b/tests/codegen-llvm/generic-debug.rs similarity index 100% rename from tests/codegen/generic-debug.rs rename to tests/codegen-llvm/generic-debug.rs diff --git a/tests/codegen/gep-index.rs b/tests/codegen-llvm/gep-index.rs similarity index 100% rename from tests/codegen/gep-index.rs rename to tests/codegen-llvm/gep-index.rs diff --git a/tests/codegen/gpu-kernel-abi.rs b/tests/codegen-llvm/gpu-kernel-abi.rs similarity index 100% rename from tests/codegen/gpu-kernel-abi.rs rename to tests/codegen-llvm/gpu-kernel-abi.rs diff --git a/tests/codegen/gpu_offload/gpu_host.rs b/tests/codegen-llvm/gpu_offload/gpu_host.rs similarity index 100% rename from tests/codegen/gpu_offload/gpu_host.rs rename to tests/codegen-llvm/gpu_offload/gpu_host.rs diff --git a/tests/codegen/hint/cold_path.rs b/tests/codegen-llvm/hint/cold_path.rs similarity index 100% rename from tests/codegen/hint/cold_path.rs rename to tests/codegen-llvm/hint/cold_path.rs diff --git a/tests/codegen/hint/likely.rs b/tests/codegen-llvm/hint/likely.rs similarity index 100% rename from tests/codegen/hint/likely.rs rename to tests/codegen-llvm/hint/likely.rs diff --git a/tests/codegen/hint/unlikely.rs b/tests/codegen-llvm/hint/unlikely.rs similarity index 100% rename from tests/codegen/hint/unlikely.rs rename to tests/codegen-llvm/hint/unlikely.rs diff --git a/tests/codegen/i128-wasm32-callconv.rs b/tests/codegen-llvm/i128-wasm32-callconv.rs similarity index 100% rename from tests/codegen/i128-wasm32-callconv.rs rename to tests/codegen-llvm/i128-wasm32-callconv.rs diff --git a/tests/codegen/i128-x86-align.rs b/tests/codegen-llvm/i128-x86-align.rs similarity index 100% rename from tests/codegen/i128-x86-align.rs rename to tests/codegen-llvm/i128-x86-align.rs diff --git a/tests/codegen/i128-x86-callconv.rs b/tests/codegen-llvm/i128-x86-callconv.rs similarity index 100% rename from tests/codegen/i128-x86-callconv.rs rename to tests/codegen-llvm/i128-x86-callconv.rs diff --git a/tests/codegen/infallible-unwrap-in-opt-z.rs b/tests/codegen-llvm/infallible-unwrap-in-opt-z.rs similarity index 100% rename from tests/codegen/infallible-unwrap-in-opt-z.rs rename to tests/codegen-llvm/infallible-unwrap-in-opt-z.rs diff --git a/tests/codegen/inherit_overflow.rs b/tests/codegen-llvm/inherit_overflow.rs similarity index 100% rename from tests/codegen/inherit_overflow.rs rename to tests/codegen-llvm/inherit_overflow.rs diff --git a/tests/codegen/inline-always-works-always.rs b/tests/codegen-llvm/inline-always-works-always.rs similarity index 100% rename from tests/codegen/inline-always-works-always.rs rename to tests/codegen-llvm/inline-always-works-always.rs diff --git a/tests/codegen/inline-debuginfo.rs b/tests/codegen-llvm/inline-debuginfo.rs similarity index 100% rename from tests/codegen/inline-debuginfo.rs rename to tests/codegen-llvm/inline-debuginfo.rs diff --git a/tests/codegen/inline-function-args-debug-info.rs b/tests/codegen-llvm/inline-function-args-debug-info.rs similarity index 100% rename from tests/codegen/inline-function-args-debug-info.rs rename to tests/codegen-llvm/inline-function-args-debug-info.rs diff --git a/tests/codegen/inline-hint.rs b/tests/codegen-llvm/inline-hint.rs similarity index 100% rename from tests/codegen/inline-hint.rs rename to tests/codegen-llvm/inline-hint.rs diff --git a/tests/codegen/instrument-coverage/instrument-coverage-off.rs b/tests/codegen-llvm/instrument-coverage/instrument-coverage-off.rs similarity index 100% rename from tests/codegen/instrument-coverage/instrument-coverage-off.rs rename to tests/codegen-llvm/instrument-coverage/instrument-coverage-off.rs diff --git a/tests/codegen/instrument-coverage/instrument-coverage.rs b/tests/codegen-llvm/instrument-coverage/instrument-coverage.rs similarity index 100% rename from tests/codegen/instrument-coverage/instrument-coverage.rs rename to tests/codegen-llvm/instrument-coverage/instrument-coverage.rs diff --git a/tests/codegen/instrument-coverage/testprog.rs b/tests/codegen-llvm/instrument-coverage/testprog.rs similarity index 100% rename from tests/codegen/instrument-coverage/testprog.rs rename to tests/codegen-llvm/instrument-coverage/testprog.rs diff --git a/tests/codegen/instrument-mcount.rs b/tests/codegen-llvm/instrument-mcount.rs similarity index 100% rename from tests/codegen/instrument-mcount.rs rename to tests/codegen-llvm/instrument-mcount.rs diff --git a/tests/codegen/instrument-xray/basic.rs b/tests/codegen-llvm/instrument-xray/basic.rs similarity index 100% rename from tests/codegen/instrument-xray/basic.rs rename to tests/codegen-llvm/instrument-xray/basic.rs diff --git a/tests/codegen/instrument-xray/options-combine.rs b/tests/codegen-llvm/instrument-xray/options-combine.rs similarity index 100% rename from tests/codegen/instrument-xray/options-combine.rs rename to tests/codegen-llvm/instrument-xray/options-combine.rs diff --git a/tests/codegen/instrument-xray/options-override.rs b/tests/codegen-llvm/instrument-xray/options-override.rs similarity index 100% rename from tests/codegen/instrument-xray/options-override.rs rename to tests/codegen-llvm/instrument-xray/options-override.rs diff --git a/tests/codegen/integer-cmp.rs b/tests/codegen-llvm/integer-cmp.rs similarity index 100% rename from tests/codegen/integer-cmp.rs rename to tests/codegen-llvm/integer-cmp.rs diff --git a/tests/codegen/integer-overflow.rs b/tests/codegen-llvm/integer-overflow.rs similarity index 100% rename from tests/codegen/integer-overflow.rs rename to tests/codegen-llvm/integer-overflow.rs diff --git a/tests/codegen/internalize-closures.rs b/tests/codegen-llvm/internalize-closures.rs similarity index 100% rename from tests/codegen/internalize-closures.rs rename to tests/codegen-llvm/internalize-closures.rs diff --git a/tests/codegen/intrinsic-no-unnamed-attr.rs b/tests/codegen-llvm/intrinsic-no-unnamed-attr.rs similarity index 100% rename from tests/codegen/intrinsic-no-unnamed-attr.rs rename to tests/codegen-llvm/intrinsic-no-unnamed-attr.rs diff --git a/tests/codegen/intrinsics/aggregate-thin-pointer.rs b/tests/codegen-llvm/intrinsics/aggregate-thin-pointer.rs similarity index 100% rename from tests/codegen/intrinsics/aggregate-thin-pointer.rs rename to tests/codegen-llvm/intrinsics/aggregate-thin-pointer.rs diff --git a/tests/codegen/intrinsics/carrying_mul_add.rs b/tests/codegen-llvm/intrinsics/carrying_mul_add.rs similarity index 100% rename from tests/codegen/intrinsics/carrying_mul_add.rs rename to tests/codegen-llvm/intrinsics/carrying_mul_add.rs diff --git a/tests/codegen/intrinsics/cold_path.rs b/tests/codegen-llvm/intrinsics/cold_path.rs similarity index 100% rename from tests/codegen/intrinsics/cold_path.rs rename to tests/codegen-llvm/intrinsics/cold_path.rs diff --git a/tests/codegen/intrinsics/cold_path2.rs b/tests/codegen-llvm/intrinsics/cold_path2.rs similarity index 100% rename from tests/codegen/intrinsics/cold_path2.rs rename to tests/codegen-llvm/intrinsics/cold_path2.rs diff --git a/tests/codegen/intrinsics/cold_path3.rs b/tests/codegen-llvm/intrinsics/cold_path3.rs similarity index 100% rename from tests/codegen/intrinsics/cold_path3.rs rename to tests/codegen-llvm/intrinsics/cold_path3.rs diff --git a/tests/codegen/intrinsics/compare_bytes.rs b/tests/codegen-llvm/intrinsics/compare_bytes.rs similarity index 100% rename from tests/codegen/intrinsics/compare_bytes.rs rename to tests/codegen-llvm/intrinsics/compare_bytes.rs diff --git a/tests/codegen/intrinsics/const_eval_select.rs b/tests/codegen-llvm/intrinsics/const_eval_select.rs similarity index 100% rename from tests/codegen/intrinsics/const_eval_select.rs rename to tests/codegen-llvm/intrinsics/const_eval_select.rs diff --git a/tests/codegen/intrinsics/ctlz.rs b/tests/codegen-llvm/intrinsics/ctlz.rs similarity index 100% rename from tests/codegen/intrinsics/ctlz.rs rename to tests/codegen-llvm/intrinsics/ctlz.rs diff --git a/tests/codegen/intrinsics/ctpop.rs b/tests/codegen-llvm/intrinsics/ctpop.rs similarity index 100% rename from tests/codegen/intrinsics/ctpop.rs rename to tests/codegen-llvm/intrinsics/ctpop.rs diff --git a/tests/codegen/intrinsics/disjoint_bitor.rs b/tests/codegen-llvm/intrinsics/disjoint_bitor.rs similarity index 100% rename from tests/codegen/intrinsics/disjoint_bitor.rs rename to tests/codegen-llvm/intrinsics/disjoint_bitor.rs diff --git a/tests/codegen/intrinsics/exact_div.rs b/tests/codegen-llvm/intrinsics/exact_div.rs similarity index 100% rename from tests/codegen/intrinsics/exact_div.rs rename to tests/codegen-llvm/intrinsics/exact_div.rs diff --git a/tests/codegen/intrinsics/likely.rs b/tests/codegen-llvm/intrinsics/likely.rs similarity index 100% rename from tests/codegen/intrinsics/likely.rs rename to tests/codegen-llvm/intrinsics/likely.rs diff --git a/tests/codegen/intrinsics/likely_assert.rs b/tests/codegen-llvm/intrinsics/likely_assert.rs similarity index 100% rename from tests/codegen/intrinsics/likely_assert.rs rename to tests/codegen-llvm/intrinsics/likely_assert.rs diff --git a/tests/codegen/intrinsics/mask.rs b/tests/codegen-llvm/intrinsics/mask.rs similarity index 100% rename from tests/codegen/intrinsics/mask.rs rename to tests/codegen-llvm/intrinsics/mask.rs diff --git a/tests/codegen/intrinsics/nontemporal.rs b/tests/codegen-llvm/intrinsics/nontemporal.rs similarity index 100% rename from tests/codegen/intrinsics/nontemporal.rs rename to tests/codegen-llvm/intrinsics/nontemporal.rs diff --git a/tests/codegen/intrinsics/offset.rs b/tests/codegen-llvm/intrinsics/offset.rs similarity index 100% rename from tests/codegen/intrinsics/offset.rs rename to tests/codegen-llvm/intrinsics/offset.rs diff --git a/tests/codegen/intrinsics/offset_from.rs b/tests/codegen-llvm/intrinsics/offset_from.rs similarity index 100% rename from tests/codegen/intrinsics/offset_from.rs rename to tests/codegen-llvm/intrinsics/offset_from.rs diff --git a/tests/codegen/intrinsics/prefetch.rs b/tests/codegen-llvm/intrinsics/prefetch.rs similarity index 100% rename from tests/codegen/intrinsics/prefetch.rs rename to tests/codegen-llvm/intrinsics/prefetch.rs diff --git a/tests/codegen/intrinsics/ptr_metadata.rs b/tests/codegen-llvm/intrinsics/ptr_metadata.rs similarity index 100% rename from tests/codegen/intrinsics/ptr_metadata.rs rename to tests/codegen-llvm/intrinsics/ptr_metadata.rs diff --git a/tests/codegen/intrinsics/rotate_left.rs b/tests/codegen-llvm/intrinsics/rotate_left.rs similarity index 100% rename from tests/codegen/intrinsics/rotate_left.rs rename to tests/codegen-llvm/intrinsics/rotate_left.rs diff --git a/tests/codegen/intrinsics/rustc_intrinsic_must_be_overridden.rs b/tests/codegen-llvm/intrinsics/rustc_intrinsic_must_be_overridden.rs similarity index 100% rename from tests/codegen/intrinsics/rustc_intrinsic_must_be_overridden.rs rename to tests/codegen-llvm/intrinsics/rustc_intrinsic_must_be_overridden.rs diff --git a/tests/codegen/intrinsics/select_unpredictable.rs b/tests/codegen-llvm/intrinsics/select_unpredictable.rs similarity index 100% rename from tests/codegen/intrinsics/select_unpredictable.rs rename to tests/codegen-llvm/intrinsics/select_unpredictable.rs diff --git a/tests/codegen/intrinsics/three_way_compare.rs b/tests/codegen-llvm/intrinsics/three_way_compare.rs similarity index 100% rename from tests/codegen/intrinsics/three_way_compare.rs rename to tests/codegen-llvm/intrinsics/three_way_compare.rs diff --git a/tests/codegen/intrinsics/transmute-niched.rs b/tests/codegen-llvm/intrinsics/transmute-niched.rs similarity index 100% rename from tests/codegen/intrinsics/transmute-niched.rs rename to tests/codegen-llvm/intrinsics/transmute-niched.rs diff --git a/tests/codegen/intrinsics/transmute-x64.rs b/tests/codegen-llvm/intrinsics/transmute-x64.rs similarity index 100% rename from tests/codegen/intrinsics/transmute-x64.rs rename to tests/codegen-llvm/intrinsics/transmute-x64.rs diff --git a/tests/codegen/intrinsics/transmute.rs b/tests/codegen-llvm/intrinsics/transmute.rs similarity index 100% rename from tests/codegen/intrinsics/transmute.rs rename to tests/codegen-llvm/intrinsics/transmute.rs diff --git a/tests/codegen/intrinsics/typed_swap.rs b/tests/codegen-llvm/intrinsics/typed_swap.rs similarity index 100% rename from tests/codegen/intrinsics/typed_swap.rs rename to tests/codegen-llvm/intrinsics/typed_swap.rs diff --git a/tests/codegen/intrinsics/unchecked_math.rs b/tests/codegen-llvm/intrinsics/unchecked_math.rs similarity index 100% rename from tests/codegen/intrinsics/unchecked_math.rs rename to tests/codegen-llvm/intrinsics/unchecked_math.rs diff --git a/tests/codegen/intrinsics/unlikely.rs b/tests/codegen-llvm/intrinsics/unlikely.rs similarity index 100% rename from tests/codegen/intrinsics/unlikely.rs rename to tests/codegen-llvm/intrinsics/unlikely.rs diff --git a/tests/codegen/intrinsics/volatile.rs b/tests/codegen-llvm/intrinsics/volatile.rs similarity index 100% rename from tests/codegen/intrinsics/volatile.rs rename to tests/codegen-llvm/intrinsics/volatile.rs diff --git a/tests/codegen/intrinsics/volatile_order.rs b/tests/codegen-llvm/intrinsics/volatile_order.rs similarity index 100% rename from tests/codegen/intrinsics/volatile_order.rs rename to tests/codegen-llvm/intrinsics/volatile_order.rs diff --git a/tests/codegen/is_val_statically_known.rs b/tests/codegen-llvm/is_val_statically_known.rs similarity index 100% rename from tests/codegen/is_val_statically_known.rs rename to tests/codegen-llvm/is_val_statically_known.rs diff --git a/tests/codegen/issue-97217.rs b/tests/codegen-llvm/issue-97217.rs similarity index 100% rename from tests/codegen/issue-97217.rs rename to tests/codegen-llvm/issue-97217.rs diff --git a/tests/codegen/issues/issue-101048.rs b/tests/codegen-llvm/issues/issue-101048.rs similarity index 100% rename from tests/codegen/issues/issue-101048.rs rename to tests/codegen-llvm/issues/issue-101048.rs diff --git a/tests/codegen/issues/issue-101082.rs b/tests/codegen-llvm/issues/issue-101082.rs similarity index 100% rename from tests/codegen/issues/issue-101082.rs rename to tests/codegen-llvm/issues/issue-101082.rs diff --git a/tests/codegen/issues/issue-101814.rs b/tests/codegen-llvm/issues/issue-101814.rs similarity index 100% rename from tests/codegen/issues/issue-101814.rs rename to tests/codegen-llvm/issues/issue-101814.rs diff --git a/tests/codegen/issues/issue-103132.rs b/tests/codegen-llvm/issues/issue-103132.rs similarity index 100% rename from tests/codegen/issues/issue-103132.rs rename to tests/codegen-llvm/issues/issue-103132.rs diff --git a/tests/codegen/issues/issue-103285-ptr-addr-overflow-check.rs b/tests/codegen-llvm/issues/issue-103285-ptr-addr-overflow-check.rs similarity index 100% rename from tests/codegen/issues/issue-103285-ptr-addr-overflow-check.rs rename to tests/codegen-llvm/issues/issue-103285-ptr-addr-overflow-check.rs diff --git a/tests/codegen/issues/issue-103327.rs b/tests/codegen-llvm/issues/issue-103327.rs similarity index 100% rename from tests/codegen/issues/issue-103327.rs rename to tests/codegen-llvm/issues/issue-103327.rs diff --git a/tests/codegen/issues/issue-103840.rs b/tests/codegen-llvm/issues/issue-103840.rs similarity index 100% rename from tests/codegen/issues/issue-103840.rs rename to tests/codegen-llvm/issues/issue-103840.rs diff --git a/tests/codegen/issues/issue-105386-ub-in-debuginfo.rs b/tests/codegen-llvm/issues/issue-105386-ub-in-debuginfo.rs similarity index 100% rename from tests/codegen/issues/issue-105386-ub-in-debuginfo.rs rename to tests/codegen-llvm/issues/issue-105386-ub-in-debuginfo.rs diff --git a/tests/codegen/issues/issue-106369.rs b/tests/codegen-llvm/issues/issue-106369.rs similarity index 100% rename from tests/codegen/issues/issue-106369.rs rename to tests/codegen-llvm/issues/issue-106369.rs diff --git a/tests/codegen/issues/issue-107681-unwrap_unchecked.rs b/tests/codegen-llvm/issues/issue-107681-unwrap_unchecked.rs similarity index 100% rename from tests/codegen/issues/issue-107681-unwrap_unchecked.rs rename to tests/codegen-llvm/issues/issue-107681-unwrap_unchecked.rs diff --git a/tests/codegen/issues/issue-108395-branchy-bool-match.rs b/tests/codegen-llvm/issues/issue-108395-branchy-bool-match.rs similarity index 100% rename from tests/codegen/issues/issue-108395-branchy-bool-match.rs rename to tests/codegen-llvm/issues/issue-108395-branchy-bool-match.rs diff --git a/tests/codegen/issues/issue-109328-split_first.rs b/tests/codegen-llvm/issues/issue-109328-split_first.rs similarity index 100% rename from tests/codegen/issues/issue-109328-split_first.rs rename to tests/codegen-llvm/issues/issue-109328-split_first.rs diff --git a/tests/codegen/issues/issue-110797-enum-jump-same.rs b/tests/codegen-llvm/issues/issue-110797-enum-jump-same.rs similarity index 100% rename from tests/codegen/issues/issue-110797-enum-jump-same.rs rename to tests/codegen-llvm/issues/issue-110797-enum-jump-same.rs diff --git a/tests/codegen/issues/issue-111603.rs b/tests/codegen-llvm/issues/issue-111603.rs similarity index 100% rename from tests/codegen/issues/issue-111603.rs rename to tests/codegen-llvm/issues/issue-111603.rs diff --git a/tests/codegen/issues/issue-112509-slice-get-andthen-get.rs b/tests/codegen-llvm/issues/issue-112509-slice-get-andthen-get.rs similarity index 100% rename from tests/codegen/issues/issue-112509-slice-get-andthen-get.rs rename to tests/codegen-llvm/issues/issue-112509-slice-get-andthen-get.rs diff --git a/tests/codegen/issues/issue-113757-bounds-check-after-cmp-max.rs b/tests/codegen-llvm/issues/issue-113757-bounds-check-after-cmp-max.rs similarity index 100% rename from tests/codegen/issues/issue-113757-bounds-check-after-cmp-max.rs rename to tests/codegen-llvm/issues/issue-113757-bounds-check-after-cmp-max.rs diff --git a/tests/codegen/issues/issue-114312.rs b/tests/codegen-llvm/issues/issue-114312.rs similarity index 100% rename from tests/codegen/issues/issue-114312.rs rename to tests/codegen-llvm/issues/issue-114312.rs diff --git a/tests/codegen/issues/issue-115385-llvm-jump-threading.rs b/tests/codegen-llvm/issues/issue-115385-llvm-jump-threading.rs similarity index 100% rename from tests/codegen/issues/issue-115385-llvm-jump-threading.rs rename to tests/codegen-llvm/issues/issue-115385-llvm-jump-threading.rs diff --git a/tests/codegen/issues/issue-116878.rs b/tests/codegen-llvm/issues/issue-116878.rs similarity index 100% rename from tests/codegen/issues/issue-116878.rs rename to tests/codegen-llvm/issues/issue-116878.rs diff --git a/tests/codegen/issues/issue-118306.rs b/tests/codegen-llvm/issues/issue-118306.rs similarity index 100% rename from tests/codegen/issues/issue-118306.rs rename to tests/codegen-llvm/issues/issue-118306.rs diff --git a/tests/codegen/issues/issue-118392.rs b/tests/codegen-llvm/issues/issue-118392.rs similarity index 100% rename from tests/codegen/issues/issue-118392.rs rename to tests/codegen-llvm/issues/issue-118392.rs diff --git a/tests/codegen/issues/issue-119422.rs b/tests/codegen-llvm/issues/issue-119422.rs similarity index 100% rename from tests/codegen/issues/issue-119422.rs rename to tests/codegen-llvm/issues/issue-119422.rs diff --git a/tests/codegen/issues/issue-121719-common-field-offset.rs b/tests/codegen-llvm/issues/issue-121719-common-field-offset.rs similarity index 100% rename from tests/codegen/issues/issue-121719-common-field-offset.rs rename to tests/codegen-llvm/issues/issue-121719-common-field-offset.rs diff --git a/tests/codegen/issues/issue-122600-ptr-discriminant-update.rs b/tests/codegen-llvm/issues/issue-122600-ptr-discriminant-update.rs similarity index 100% rename from tests/codegen/issues/issue-122600-ptr-discriminant-update.rs rename to tests/codegen-llvm/issues/issue-122600-ptr-discriminant-update.rs diff --git a/tests/codegen/issues/issue-123712-str-to-lower-autovectorization.rs b/tests/codegen-llvm/issues/issue-123712-str-to-lower-autovectorization.rs similarity index 100% rename from tests/codegen/issues/issue-123712-str-to-lower-autovectorization.rs rename to tests/codegen-llvm/issues/issue-123712-str-to-lower-autovectorization.rs diff --git a/tests/codegen/issues/issue-126585.rs b/tests/codegen-llvm/issues/issue-126585.rs similarity index 100% rename from tests/codegen/issues/issue-126585.rs rename to tests/codegen-llvm/issues/issue-126585.rs diff --git a/tests/codegen/issues/issue-129795.rs b/tests/codegen-llvm/issues/issue-129795.rs similarity index 100% rename from tests/codegen/issues/issue-129795.rs rename to tests/codegen-llvm/issues/issue-129795.rs diff --git a/tests/codegen/issues/issue-13018.rs b/tests/codegen-llvm/issues/issue-13018.rs similarity index 100% rename from tests/codegen/issues/issue-13018.rs rename to tests/codegen-llvm/issues/issue-13018.rs diff --git a/tests/codegen/issues/issue-136329-optnone-noinline.rs b/tests/codegen-llvm/issues/issue-136329-optnone-noinline.rs similarity index 100% rename from tests/codegen/issues/issue-136329-optnone-noinline.rs rename to tests/codegen-llvm/issues/issue-136329-optnone-noinline.rs diff --git a/tests/codegen/issues/issue-15953.rs b/tests/codegen-llvm/issues/issue-15953.rs similarity index 100% rename from tests/codegen/issues/issue-15953.rs rename to tests/codegen-llvm/issues/issue-15953.rs diff --git a/tests/codegen/issues/issue-27130.rs b/tests/codegen-llvm/issues/issue-27130.rs similarity index 100% rename from tests/codegen/issues/issue-27130.rs rename to tests/codegen-llvm/issues/issue-27130.rs diff --git a/tests/codegen/issues/issue-32031.rs b/tests/codegen-llvm/issues/issue-32031.rs similarity index 100% rename from tests/codegen/issues/issue-32031.rs rename to tests/codegen-llvm/issues/issue-32031.rs diff --git a/tests/codegen/issues/issue-32364.rs b/tests/codegen-llvm/issues/issue-32364.rs similarity index 100% rename from tests/codegen/issues/issue-32364.rs rename to tests/codegen-llvm/issues/issue-32364.rs diff --git a/tests/codegen/issues/issue-34634.rs b/tests/codegen-llvm/issues/issue-34634.rs similarity index 100% rename from tests/codegen/issues/issue-34634.rs rename to tests/codegen-llvm/issues/issue-34634.rs diff --git a/tests/codegen/issues/issue-34947-pow-i32.rs b/tests/codegen-llvm/issues/issue-34947-pow-i32.rs similarity index 100% rename from tests/codegen/issues/issue-34947-pow-i32.rs rename to tests/codegen-llvm/issues/issue-34947-pow-i32.rs diff --git a/tests/codegen/issues/issue-36010-some-box-is_some.rs b/tests/codegen-llvm/issues/issue-36010-some-box-is_some.rs similarity index 100% rename from tests/codegen/issues/issue-36010-some-box-is_some.rs rename to tests/codegen-llvm/issues/issue-36010-some-box-is_some.rs diff --git a/tests/codegen/issues/issue-37945.rs b/tests/codegen-llvm/issues/issue-37945.rs similarity index 100% rename from tests/codegen/issues/issue-37945.rs rename to tests/codegen-llvm/issues/issue-37945.rs diff --git a/tests/codegen/issues/issue-45222.rs b/tests/codegen-llvm/issues/issue-45222.rs similarity index 100% rename from tests/codegen/issues/issue-45222.rs rename to tests/codegen-llvm/issues/issue-45222.rs diff --git a/tests/codegen/issues/issue-45466.rs b/tests/codegen-llvm/issues/issue-45466.rs similarity index 100% rename from tests/codegen/issues/issue-45466.rs rename to tests/codegen-llvm/issues/issue-45466.rs diff --git a/tests/codegen/issues/issue-45964-bounds-check-slice-pos.rs b/tests/codegen-llvm/issues/issue-45964-bounds-check-slice-pos.rs similarity index 100% rename from tests/codegen/issues/issue-45964-bounds-check-slice-pos.rs rename to tests/codegen-llvm/issues/issue-45964-bounds-check-slice-pos.rs diff --git a/tests/codegen/issues/issue-47278.rs b/tests/codegen-llvm/issues/issue-47278.rs similarity index 100% rename from tests/codegen/issues/issue-47278.rs rename to tests/codegen-llvm/issues/issue-47278.rs diff --git a/tests/codegen/issues/issue-47442.rs b/tests/codegen-llvm/issues/issue-47442.rs similarity index 100% rename from tests/codegen/issues/issue-47442.rs rename to tests/codegen-llvm/issues/issue-47442.rs diff --git a/tests/codegen/issues/issue-56267-2.rs b/tests/codegen-llvm/issues/issue-56267-2.rs similarity index 100% rename from tests/codegen/issues/issue-56267-2.rs rename to tests/codegen-llvm/issues/issue-56267-2.rs diff --git a/tests/codegen/issues/issue-56267.rs b/tests/codegen-llvm/issues/issue-56267.rs similarity index 100% rename from tests/codegen/issues/issue-56267.rs rename to tests/codegen-llvm/issues/issue-56267.rs diff --git a/tests/codegen/issues/issue-56927.rs b/tests/codegen-llvm/issues/issue-56927.rs similarity index 100% rename from tests/codegen/issues/issue-56927.rs rename to tests/codegen-llvm/issues/issue-56927.rs diff --git a/tests/codegen/issues/issue-58881.rs b/tests/codegen-llvm/issues/issue-58881.rs similarity index 100% rename from tests/codegen/issues/issue-58881.rs rename to tests/codegen-llvm/issues/issue-58881.rs diff --git a/tests/codegen/issues/issue-59352.rs b/tests/codegen-llvm/issues/issue-59352.rs similarity index 100% rename from tests/codegen/issues/issue-59352.rs rename to tests/codegen-llvm/issues/issue-59352.rs diff --git a/tests/codegen/issues/issue-64219-fn-ptr-call-returning-never-is-noreturn.rs b/tests/codegen-llvm/issues/issue-64219-fn-ptr-call-returning-never-is-noreturn.rs similarity index 100% rename from tests/codegen/issues/issue-64219-fn-ptr-call-returning-never-is-noreturn.rs rename to tests/codegen-llvm/issues/issue-64219-fn-ptr-call-returning-never-is-noreturn.rs diff --git a/tests/codegen/issues/issue-68667-unwrap-combinators.rs b/tests/codegen-llvm/issues/issue-68667-unwrap-combinators.rs similarity index 100% rename from tests/codegen/issues/issue-68667-unwrap-combinators.rs rename to tests/codegen-llvm/issues/issue-68667-unwrap-combinators.rs diff --git a/tests/codegen/issues/issue-69101-bounds-check.rs b/tests/codegen-llvm/issues/issue-69101-bounds-check.rs similarity index 100% rename from tests/codegen/issues/issue-69101-bounds-check.rs rename to tests/codegen-llvm/issues/issue-69101-bounds-check.rs diff --git a/tests/codegen/issues/issue-73031.rs b/tests/codegen-llvm/issues/issue-73031.rs similarity index 100% rename from tests/codegen/issues/issue-73031.rs rename to tests/codegen-llvm/issues/issue-73031.rs diff --git a/tests/codegen/issues/issue-73258.rs b/tests/codegen-llvm/issues/issue-73258.rs similarity index 100% rename from tests/codegen/issues/issue-73258.rs rename to tests/codegen-llvm/issues/issue-73258.rs diff --git a/tests/codegen/issues/issue-73338-effecient-cmp.rs b/tests/codegen-llvm/issues/issue-73338-effecient-cmp.rs similarity index 100% rename from tests/codegen/issues/issue-73338-effecient-cmp.rs rename to tests/codegen-llvm/issues/issue-73338-effecient-cmp.rs diff --git a/tests/codegen/issues/issue-73396-bounds-check-after-position.rs b/tests/codegen-llvm/issues/issue-73396-bounds-check-after-position.rs similarity index 100% rename from tests/codegen/issues/issue-73396-bounds-check-after-position.rs rename to tests/codegen-llvm/issues/issue-73396-bounds-check-after-position.rs diff --git a/tests/codegen/issues/issue-73827-bounds-check-index-in-subexpr.rs b/tests/codegen-llvm/issues/issue-73827-bounds-check-index-in-subexpr.rs similarity index 100% rename from tests/codegen/issues/issue-73827-bounds-check-index-in-subexpr.rs rename to tests/codegen-llvm/issues/issue-73827-bounds-check-index-in-subexpr.rs diff --git a/tests/codegen/issues/issue-74938-array-split-at.rs b/tests/codegen-llvm/issues/issue-74938-array-split-at.rs similarity index 100% rename from tests/codegen/issues/issue-74938-array-split-at.rs rename to tests/codegen-llvm/issues/issue-74938-array-split-at.rs diff --git a/tests/codegen/issues/issue-75525-bounds-checks.rs b/tests/codegen-llvm/issues/issue-75525-bounds-checks.rs similarity index 100% rename from tests/codegen/issues/issue-75525-bounds-checks.rs rename to tests/codegen-llvm/issues/issue-75525-bounds-checks.rs diff --git a/tests/codegen/issues/issue-75546.rs b/tests/codegen-llvm/issues/issue-75546.rs similarity index 100% rename from tests/codegen/issues/issue-75546.rs rename to tests/codegen-llvm/issues/issue-75546.rs diff --git a/tests/codegen/issues/issue-75659.rs b/tests/codegen-llvm/issues/issue-75659.rs similarity index 100% rename from tests/codegen/issues/issue-75659.rs rename to tests/codegen-llvm/issues/issue-75659.rs diff --git a/tests/codegen/issues/issue-75978.rs b/tests/codegen-llvm/issues/issue-75978.rs similarity index 100% rename from tests/codegen/issues/issue-75978.rs rename to tests/codegen-llvm/issues/issue-75978.rs diff --git a/tests/codegen/issues/issue-77812.rs b/tests/codegen-llvm/issues/issue-77812.rs similarity index 100% rename from tests/codegen/issues/issue-77812.rs rename to tests/codegen-llvm/issues/issue-77812.rs diff --git a/tests/codegen/issues/issue-84268.rs b/tests/codegen-llvm/issues/issue-84268.rs similarity index 100% rename from tests/codegen/issues/issue-84268.rs rename to tests/codegen-llvm/issues/issue-84268.rs diff --git a/tests/codegen/issues/issue-85872-multiple-reverse.rs b/tests/codegen-llvm/issues/issue-85872-multiple-reverse.rs similarity index 100% rename from tests/codegen/issues/issue-85872-multiple-reverse.rs rename to tests/codegen-llvm/issues/issue-85872-multiple-reverse.rs diff --git a/tests/codegen/issues/issue-86106.rs b/tests/codegen-llvm/issues/issue-86106.rs similarity index 100% rename from tests/codegen/issues/issue-86106.rs rename to tests/codegen-llvm/issues/issue-86106.rs diff --git a/tests/codegen/issues/issue-86109-eliminate-div-by-zero-check.rs b/tests/codegen-llvm/issues/issue-86109-eliminate-div-by-zero-check.rs similarity index 100% rename from tests/codegen/issues/issue-86109-eliminate-div-by-zero-check.rs rename to tests/codegen-llvm/issues/issue-86109-eliminate-div-by-zero-check.rs diff --git a/tests/codegen/issues/issue-93036-assert-index.rs b/tests/codegen-llvm/issues/issue-93036-assert-index.rs similarity index 100% rename from tests/codegen/issues/issue-93036-assert-index.rs rename to tests/codegen-llvm/issues/issue-93036-assert-index.rs diff --git a/tests/codegen/issues/issue-96274.rs b/tests/codegen-llvm/issues/issue-96274.rs similarity index 100% rename from tests/codegen/issues/issue-96274.rs rename to tests/codegen-llvm/issues/issue-96274.rs diff --git a/tests/codegen/issues/issue-96497-slice-size-nowrap.rs b/tests/codegen-llvm/issues/issue-96497-slice-size-nowrap.rs similarity index 100% rename from tests/codegen/issues/issue-96497-slice-size-nowrap.rs rename to tests/codegen-llvm/issues/issue-96497-slice-size-nowrap.rs diff --git a/tests/codegen/issues/issue-98294-get-mut-copy-from-slice-opt.rs b/tests/codegen-llvm/issues/issue-98294-get-mut-copy-from-slice-opt.rs similarity index 100% rename from tests/codegen/issues/issue-98294-get-mut-copy-from-slice-opt.rs rename to tests/codegen-llvm/issues/issue-98294-get-mut-copy-from-slice-opt.rs diff --git a/tests/codegen/issues/issue-98678-async.rs b/tests/codegen-llvm/issues/issue-98678-async.rs similarity index 100% rename from tests/codegen/issues/issue-98678-async.rs rename to tests/codegen-llvm/issues/issue-98678-async.rs diff --git a/tests/codegen/issues/issue-98678-closure-coroutine.rs b/tests/codegen-llvm/issues/issue-98678-closure-coroutine.rs similarity index 100% rename from tests/codegen/issues/issue-98678-closure-coroutine.rs rename to tests/codegen-llvm/issues/issue-98678-closure-coroutine.rs diff --git a/tests/codegen/issues/issue-98678-enum.rs b/tests/codegen-llvm/issues/issue-98678-enum.rs similarity index 100% rename from tests/codegen/issues/issue-98678-enum.rs rename to tests/codegen-llvm/issues/issue-98678-enum.rs diff --git a/tests/codegen/issues/issue-98678-struct-union.rs b/tests/codegen-llvm/issues/issue-98678-struct-union.rs similarity index 100% rename from tests/codegen/issues/issue-98678-struct-union.rs rename to tests/codegen-llvm/issues/issue-98678-struct-union.rs diff --git a/tests/codegen/issues/issue-99960.rs b/tests/codegen-llvm/issues/issue-99960.rs similarity index 100% rename from tests/codegen/issues/issue-99960.rs rename to tests/codegen-llvm/issues/issue-99960.rs diff --git a/tests/codegen/issues/looping-over-ne-bytes-133528.rs b/tests/codegen-llvm/issues/looping-over-ne-bytes-133528.rs similarity index 100% rename from tests/codegen/issues/looping-over-ne-bytes-133528.rs rename to tests/codegen-llvm/issues/looping-over-ne-bytes-133528.rs diff --git a/tests/codegen/issues/str-to-string-128690.rs b/tests/codegen-llvm/issues/str-to-string-128690.rs similarity index 100% rename from tests/codegen/issues/str-to-string-128690.rs rename to tests/codegen-llvm/issues/str-to-string-128690.rs diff --git a/tests/codegen/iter-repeat-n-trivial-drop.rs b/tests/codegen-llvm/iter-repeat-n-trivial-drop.rs similarity index 100% rename from tests/codegen/iter-repeat-n-trivial-drop.rs rename to tests/codegen-llvm/iter-repeat-n-trivial-drop.rs diff --git a/tests/codegen/layout-size-checks.rs b/tests/codegen-llvm/layout-size-checks.rs similarity index 100% rename from tests/codegen/layout-size-checks.rs rename to tests/codegen-llvm/layout-size-checks.rs diff --git a/tests/codegen/lib-optimizations/iter-sum.rs b/tests/codegen-llvm/lib-optimizations/iter-sum.rs similarity index 100% rename from tests/codegen/lib-optimizations/iter-sum.rs rename to tests/codegen-llvm/lib-optimizations/iter-sum.rs diff --git a/tests/codegen/lib-optimizations/slice_rotate.rs b/tests/codegen-llvm/lib-optimizations/slice_rotate.rs similarity index 100% rename from tests/codegen/lib-optimizations/slice_rotate.rs rename to tests/codegen-llvm/lib-optimizations/slice_rotate.rs diff --git a/tests/codegen/lifetime_start_end.rs b/tests/codegen-llvm/lifetime_start_end.rs similarity index 100% rename from tests/codegen/lifetime_start_end.rs rename to tests/codegen-llvm/lifetime_start_end.rs diff --git a/tests/codegen/link-dead-code.rs b/tests/codegen-llvm/link-dead-code.rs similarity index 100% rename from tests/codegen/link-dead-code.rs rename to tests/codegen-llvm/link-dead-code.rs diff --git a/tests/codegen/link_section.rs b/tests/codegen-llvm/link_section.rs similarity index 100% rename from tests/codegen/link_section.rs rename to tests/codegen-llvm/link_section.rs diff --git a/tests/codegen/llvm-ident.rs b/tests/codegen-llvm/llvm-ident.rs similarity index 100% rename from tests/codegen/llvm-ident.rs rename to tests/codegen-llvm/llvm-ident.rs diff --git a/tests/codegen/llvm_module_flags.rs b/tests/codegen-llvm/llvm_module_flags.rs similarity index 100% rename from tests/codegen/llvm_module_flags.rs rename to tests/codegen-llvm/llvm_module_flags.rs diff --git a/tests/codegen/loads.rs b/tests/codegen-llvm/loads.rs similarity index 100% rename from tests/codegen/loads.rs rename to tests/codegen-llvm/loads.rs diff --git a/tests/codegen/local-generics-in-exe-internalized.rs b/tests/codegen-llvm/local-generics-in-exe-internalized.rs similarity index 100% rename from tests/codegen/local-generics-in-exe-internalized.rs rename to tests/codegen-llvm/local-generics-in-exe-internalized.rs diff --git a/tests/codegen/loongarch-abi/call-llvm-intrinsics.rs b/tests/codegen-llvm/loongarch-abi/call-llvm-intrinsics.rs similarity index 100% rename from tests/codegen/loongarch-abi/call-llvm-intrinsics.rs rename to tests/codegen-llvm/loongarch-abi/call-llvm-intrinsics.rs diff --git a/tests/codegen/loongarch-abi/loongarch64-lp64d-abi.rs b/tests/codegen-llvm/loongarch-abi/loongarch64-lp64d-abi.rs similarity index 100% rename from tests/codegen/loongarch-abi/loongarch64-lp64d-abi.rs rename to tests/codegen-llvm/loongarch-abi/loongarch64-lp64d-abi.rs diff --git a/tests/codegen/lto-removes-invokes.rs b/tests/codegen-llvm/lto-removes-invokes.rs similarity index 100% rename from tests/codegen/lto-removes-invokes.rs rename to tests/codegen-llvm/lto-removes-invokes.rs diff --git a/tests/codegen/macos/i686-macosx-deployment-target.rs b/tests/codegen-llvm/macos/i686-macosx-deployment-target.rs similarity index 100% rename from tests/codegen/macos/i686-macosx-deployment-target.rs rename to tests/codegen-llvm/macos/i686-macosx-deployment-target.rs diff --git a/tests/codegen/macos/i686-no-macosx-deployment-target.rs b/tests/codegen-llvm/macos/i686-no-macosx-deployment-target.rs similarity index 100% rename from tests/codegen/macos/i686-no-macosx-deployment-target.rs rename to tests/codegen-llvm/macos/i686-no-macosx-deployment-target.rs diff --git a/tests/codegen/macos/x86_64-macosx-deployment-target.rs b/tests/codegen-llvm/macos/x86_64-macosx-deployment-target.rs similarity index 100% rename from tests/codegen/macos/x86_64-macosx-deployment-target.rs rename to tests/codegen-llvm/macos/x86_64-macosx-deployment-target.rs diff --git a/tests/codegen/macos/x86_64-no-macosx-deployment-target.rs b/tests/codegen-llvm/macos/x86_64-no-macosx-deployment-target.rs similarity index 100% rename from tests/codegen/macos/x86_64-no-macosx-deployment-target.rs rename to tests/codegen-llvm/macos/x86_64-no-macosx-deployment-target.rs diff --git a/tests/codegen/mainsubprogram.rs b/tests/codegen-llvm/mainsubprogram.rs similarity index 100% rename from tests/codegen/mainsubprogram.rs rename to tests/codegen-llvm/mainsubprogram.rs diff --git a/tests/codegen/match-optimized.rs b/tests/codegen-llvm/match-optimized.rs similarity index 100% rename from tests/codegen/match-optimized.rs rename to tests/codegen-llvm/match-optimized.rs diff --git a/tests/codegen/match-optimizes-away.rs b/tests/codegen-llvm/match-optimizes-away.rs similarity index 100% rename from tests/codegen/match-optimizes-away.rs rename to tests/codegen-llvm/match-optimizes-away.rs diff --git a/tests/codegen/match-unoptimized.rs b/tests/codegen-llvm/match-unoptimized.rs similarity index 100% rename from tests/codegen/match-unoptimized.rs rename to tests/codegen-llvm/match-unoptimized.rs diff --git a/tests/codegen/maybeuninit-rvo.rs b/tests/codegen-llvm/maybeuninit-rvo.rs similarity index 100% rename from tests/codegen/maybeuninit-rvo.rs rename to tests/codegen-llvm/maybeuninit-rvo.rs diff --git a/tests/codegen/mem-replace-big-type.rs b/tests/codegen-llvm/mem-replace-big-type.rs similarity index 100% rename from tests/codegen/mem-replace-big-type.rs rename to tests/codegen-llvm/mem-replace-big-type.rs diff --git a/tests/codegen/mem-replace-simple-type.rs b/tests/codegen-llvm/mem-replace-simple-type.rs similarity index 100% rename from tests/codegen/mem-replace-simple-type.rs rename to tests/codegen-llvm/mem-replace-simple-type.rs diff --git a/tests/codegen/merge-functions.rs b/tests/codegen-llvm/merge-functions.rs similarity index 100% rename from tests/codegen/merge-functions.rs rename to tests/codegen-llvm/merge-functions.rs diff --git a/tests/codegen/meta-filecheck/check-prefix.rs b/tests/codegen-llvm/meta-filecheck/check-prefix.rs similarity index 100% rename from tests/codegen/meta-filecheck/check-prefix.rs rename to tests/codegen-llvm/meta-filecheck/check-prefix.rs diff --git a/tests/codegen/meta-filecheck/filecheck-flags.rs b/tests/codegen-llvm/meta-filecheck/filecheck-flags.rs similarity index 100% rename from tests/codegen/meta-filecheck/filecheck-flags.rs rename to tests/codegen-llvm/meta-filecheck/filecheck-flags.rs diff --git a/tests/codegen/meta-filecheck/msvc-prefix-bad.rs b/tests/codegen-llvm/meta-filecheck/msvc-prefix-bad.rs similarity index 100% rename from tests/codegen/meta-filecheck/msvc-prefix-bad.rs rename to tests/codegen-llvm/meta-filecheck/msvc-prefix-bad.rs diff --git a/tests/codegen/meta-filecheck/no-directives.rs b/tests/codegen-llvm/meta-filecheck/no-directives.rs similarity index 100% rename from tests/codegen/meta-filecheck/no-directives.rs rename to tests/codegen-llvm/meta-filecheck/no-directives.rs diff --git a/tests/codegen/meta-filecheck/revision-prefix.rs b/tests/codegen-llvm/meta-filecheck/revision-prefix.rs similarity index 100% rename from tests/codegen/meta-filecheck/revision-prefix.rs rename to tests/codegen-llvm/meta-filecheck/revision-prefix.rs diff --git a/tests/codegen/method-declaration.rs b/tests/codegen-llvm/method-declaration.rs similarity index 100% rename from tests/codegen/method-declaration.rs rename to tests/codegen-llvm/method-declaration.rs diff --git a/tests/codegen/min-function-alignment.rs b/tests/codegen-llvm/min-function-alignment.rs similarity index 100% rename from tests/codegen/min-function-alignment.rs rename to tests/codegen-llvm/min-function-alignment.rs diff --git a/tests/codegen/mir-aggregate-no-alloca.rs b/tests/codegen-llvm/mir-aggregate-no-alloca.rs similarity index 100% rename from tests/codegen/mir-aggregate-no-alloca.rs rename to tests/codegen-llvm/mir-aggregate-no-alloca.rs diff --git a/tests/codegen/mir-inlined-line-numbers.rs b/tests/codegen-llvm/mir-inlined-line-numbers.rs similarity index 100% rename from tests/codegen/mir-inlined-line-numbers.rs rename to tests/codegen-llvm/mir-inlined-line-numbers.rs diff --git a/tests/codegen/mir_zst_stores.rs b/tests/codegen-llvm/mir_zst_stores.rs similarity index 100% rename from tests/codegen/mir_zst_stores.rs rename to tests/codegen-llvm/mir_zst_stores.rs diff --git a/tests/codegen/move-before-nocapture-ref-arg.rs b/tests/codegen-llvm/move-before-nocapture-ref-arg.rs similarity index 100% rename from tests/codegen/move-before-nocapture-ref-arg.rs rename to tests/codegen-llvm/move-before-nocapture-ref-arg.rs diff --git a/tests/codegen/move-operands.rs b/tests/codegen-llvm/move-operands.rs similarity index 100% rename from tests/codegen/move-operands.rs rename to tests/codegen-llvm/move-operands.rs diff --git a/tests/codegen/naked-asan.rs b/tests/codegen-llvm/naked-asan.rs similarity index 100% rename from tests/codegen/naked-asan.rs rename to tests/codegen-llvm/naked-asan.rs diff --git a/tests/codegen/naked-fn/aligned.rs b/tests/codegen-llvm/naked-fn/aligned.rs similarity index 100% rename from tests/codegen/naked-fn/aligned.rs rename to tests/codegen-llvm/naked-fn/aligned.rs diff --git a/tests/codegen/naked-fn/generics.rs b/tests/codegen-llvm/naked-fn/generics.rs similarity index 100% rename from tests/codegen/naked-fn/generics.rs rename to tests/codegen-llvm/naked-fn/generics.rs diff --git a/tests/codegen/naked-fn/instruction-set.rs b/tests/codegen-llvm/naked-fn/instruction-set.rs similarity index 100% rename from tests/codegen/naked-fn/instruction-set.rs rename to tests/codegen-llvm/naked-fn/instruction-set.rs diff --git a/tests/codegen/naked-fn/min-function-alignment.rs b/tests/codegen-llvm/naked-fn/min-function-alignment.rs similarity index 100% rename from tests/codegen/naked-fn/min-function-alignment.rs rename to tests/codegen-llvm/naked-fn/min-function-alignment.rs diff --git a/tests/codegen/naked-fn/naked-functions.rs b/tests/codegen-llvm/naked-fn/naked-functions.rs similarity index 100% rename from tests/codegen/naked-fn/naked-functions.rs rename to tests/codegen-llvm/naked-fn/naked-functions.rs diff --git a/tests/codegen/no-alloca-inside-if-false.rs b/tests/codegen-llvm/no-alloca-inside-if-false.rs similarity index 100% rename from tests/codegen/no-alloca-inside-if-false.rs rename to tests/codegen-llvm/no-alloca-inside-if-false.rs diff --git a/tests/codegen/no-assumes-on-casts.rs b/tests/codegen-llvm/no-assumes-on-casts.rs similarity index 100% rename from tests/codegen/no-assumes-on-casts.rs rename to tests/codegen-llvm/no-assumes-on-casts.rs diff --git a/tests/codegen/no-dllimport-w-cross-lang-lto.rs b/tests/codegen-llvm/no-dllimport-w-cross-lang-lto.rs similarity index 100% rename from tests/codegen/no-dllimport-w-cross-lang-lto.rs rename to tests/codegen-llvm/no-dllimport-w-cross-lang-lto.rs diff --git a/tests/codegen/no-jump-tables.rs b/tests/codegen-llvm/no-jump-tables.rs similarity index 100% rename from tests/codegen/no-jump-tables.rs rename to tests/codegen-llvm/no-jump-tables.rs diff --git a/tests/codegen/no-plt.rs b/tests/codegen-llvm/no-plt.rs similarity index 100% rename from tests/codegen/no-plt.rs rename to tests/codegen-llvm/no-plt.rs diff --git a/tests/codegen/no-redundant-item-monomorphization.rs b/tests/codegen-llvm/no-redundant-item-monomorphization.rs similarity index 100% rename from tests/codegen/no-redundant-item-monomorphization.rs rename to tests/codegen-llvm/no-redundant-item-monomorphization.rs diff --git a/tests/codegen/no_builtins-at-crate.rs b/tests/codegen-llvm/no_builtins-at-crate.rs similarity index 100% rename from tests/codegen/no_builtins-at-crate.rs rename to tests/codegen-llvm/no_builtins-at-crate.rs diff --git a/tests/codegen/noalias-box-off.rs b/tests/codegen-llvm/noalias-box-off.rs similarity index 100% rename from tests/codegen/noalias-box-off.rs rename to tests/codegen-llvm/noalias-box-off.rs diff --git a/tests/codegen/noalias-box.rs b/tests/codegen-llvm/noalias-box.rs similarity index 100% rename from tests/codegen/noalias-box.rs rename to tests/codegen-llvm/noalias-box.rs diff --git a/tests/codegen/noalias-flag.rs b/tests/codegen-llvm/noalias-flag.rs similarity index 100% rename from tests/codegen/noalias-flag.rs rename to tests/codegen-llvm/noalias-flag.rs diff --git a/tests/codegen/noalias-freeze.rs b/tests/codegen-llvm/noalias-freeze.rs similarity index 100% rename from tests/codegen/noalias-freeze.rs rename to tests/codegen-llvm/noalias-freeze.rs diff --git a/tests/codegen/noalias-refcell.rs b/tests/codegen-llvm/noalias-refcell.rs similarity index 100% rename from tests/codegen/noalias-refcell.rs rename to tests/codegen-llvm/noalias-refcell.rs diff --git a/tests/codegen/noalias-rwlockreadguard.rs b/tests/codegen-llvm/noalias-rwlockreadguard.rs similarity index 100% rename from tests/codegen/noalias-rwlockreadguard.rs rename to tests/codegen-llvm/noalias-rwlockreadguard.rs diff --git a/tests/codegen/noalias-unpin.rs b/tests/codegen-llvm/noalias-unpin.rs similarity index 100% rename from tests/codegen/noalias-unpin.rs rename to tests/codegen-llvm/noalias-unpin.rs diff --git a/tests/codegen/non-terminate/infinite-loop-1.rs b/tests/codegen-llvm/non-terminate/infinite-loop-1.rs similarity index 100% rename from tests/codegen/non-terminate/infinite-loop-1.rs rename to tests/codegen-llvm/non-terminate/infinite-loop-1.rs diff --git a/tests/codegen/non-terminate/infinite-loop-2.rs b/tests/codegen-llvm/non-terminate/infinite-loop-2.rs similarity index 100% rename from tests/codegen/non-terminate/infinite-loop-2.rs rename to tests/codegen-llvm/non-terminate/infinite-loop-2.rs diff --git a/tests/codegen/non-terminate/infinite-recursion.rs b/tests/codegen-llvm/non-terminate/infinite-recursion.rs similarity index 100% rename from tests/codegen/non-terminate/infinite-recursion.rs rename to tests/codegen-llvm/non-terminate/infinite-recursion.rs diff --git a/tests/codegen/non-terminate/nonempty-infinite-loop.rs b/tests/codegen-llvm/non-terminate/nonempty-infinite-loop.rs similarity index 100% rename from tests/codegen/non-terminate/nonempty-infinite-loop.rs rename to tests/codegen-llvm/non-terminate/nonempty-infinite-loop.rs diff --git a/tests/codegen/noreturn-uninhabited.rs b/tests/codegen-llvm/noreturn-uninhabited.rs similarity index 100% rename from tests/codegen/noreturn-uninhabited.rs rename to tests/codegen-llvm/noreturn-uninhabited.rs diff --git a/tests/codegen/noreturnflag.rs b/tests/codegen-llvm/noreturnflag.rs similarity index 100% rename from tests/codegen/noreturnflag.rs rename to tests/codegen-llvm/noreturnflag.rs diff --git a/tests/codegen/nounwind.rs b/tests/codegen-llvm/nounwind.rs similarity index 100% rename from tests/codegen/nounwind.rs rename to tests/codegen-llvm/nounwind.rs diff --git a/tests/codegen/nrvo.rs b/tests/codegen-llvm/nrvo.rs similarity index 100% rename from tests/codegen/nrvo.rs rename to tests/codegen-llvm/nrvo.rs diff --git a/tests/codegen/optimize-attr-1.rs b/tests/codegen-llvm/optimize-attr-1.rs similarity index 100% rename from tests/codegen/optimize-attr-1.rs rename to tests/codegen-llvm/optimize-attr-1.rs diff --git a/tests/codegen/option-as-slice.rs b/tests/codegen-llvm/option-as-slice.rs similarity index 100% rename from tests/codegen/option-as-slice.rs rename to tests/codegen-llvm/option-as-slice.rs diff --git a/tests/codegen/option-niche-eq.rs b/tests/codegen-llvm/option-niche-eq.rs similarity index 100% rename from tests/codegen/option-niche-eq.rs rename to tests/codegen-llvm/option-niche-eq.rs diff --git a/tests/codegen/option-niche-unfixed/option-nonzero-eq.rs b/tests/codegen-llvm/option-niche-unfixed/option-nonzero-eq.rs similarity index 100% rename from tests/codegen/option-niche-unfixed/option-nonzero-eq.rs rename to tests/codegen-llvm/option-niche-unfixed/option-nonzero-eq.rs diff --git a/tests/codegen/overaligned-constant.rs b/tests/codegen-llvm/overaligned-constant.rs similarity index 100% rename from tests/codegen/overaligned-constant.rs rename to tests/codegen-llvm/overaligned-constant.rs diff --git a/tests/codegen/packed.rs b/tests/codegen-llvm/packed.rs similarity index 100% rename from tests/codegen/packed.rs rename to tests/codegen-llvm/packed.rs diff --git a/tests/codegen/panic-abort-windows.rs b/tests/codegen-llvm/panic-abort-windows.rs similarity index 100% rename from tests/codegen/panic-abort-windows.rs rename to tests/codegen-llvm/panic-abort-windows.rs diff --git a/tests/codegen/panic-in-drop-abort.rs b/tests/codegen-llvm/panic-in-drop-abort.rs similarity index 100% rename from tests/codegen/panic-in-drop-abort.rs rename to tests/codegen-llvm/panic-in-drop-abort.rs diff --git a/tests/codegen/panic-unwind-default-uwtable.rs b/tests/codegen-llvm/panic-unwind-default-uwtable.rs similarity index 100% rename from tests/codegen/panic-unwind-default-uwtable.rs rename to tests/codegen-llvm/panic-unwind-default-uwtable.rs diff --git a/tests/codegen/patchable-function-entry/patchable-function-entry-both-flags.rs b/tests/codegen-llvm/patchable-function-entry/patchable-function-entry-both-flags.rs similarity index 100% rename from tests/codegen/patchable-function-entry/patchable-function-entry-both-flags.rs rename to tests/codegen-llvm/patchable-function-entry/patchable-function-entry-both-flags.rs diff --git a/tests/codegen/patchable-function-entry/patchable-function-entry-no-flag.rs b/tests/codegen-llvm/patchable-function-entry/patchable-function-entry-no-flag.rs similarity index 100% rename from tests/codegen/patchable-function-entry/patchable-function-entry-no-flag.rs rename to tests/codegen-llvm/patchable-function-entry/patchable-function-entry-no-flag.rs diff --git a/tests/codegen/patchable-function-entry/patchable-function-entry-one-flag.rs b/tests/codegen-llvm/patchable-function-entry/patchable-function-entry-one-flag.rs similarity index 100% rename from tests/codegen/patchable-function-entry/patchable-function-entry-one-flag.rs rename to tests/codegen-llvm/patchable-function-entry/patchable-function-entry-one-flag.rs diff --git a/tests/codegen/pattern_type_symbols.rs b/tests/codegen-llvm/pattern_type_symbols.rs similarity index 100% rename from tests/codegen/pattern_type_symbols.rs rename to tests/codegen-llvm/pattern_type_symbols.rs diff --git a/tests/codegen/personality_lifetimes.rs b/tests/codegen-llvm/personality_lifetimes.rs similarity index 100% rename from tests/codegen/personality_lifetimes.rs rename to tests/codegen-llvm/personality_lifetimes.rs diff --git a/tests/codegen/pgo-counter-bias.rs b/tests/codegen-llvm/pgo-counter-bias.rs similarity index 100% rename from tests/codegen/pgo-counter-bias.rs rename to tests/codegen-llvm/pgo-counter-bias.rs diff --git a/tests/codegen/pgo-instrumentation.rs b/tests/codegen-llvm/pgo-instrumentation.rs similarity index 100% rename from tests/codegen/pgo-instrumentation.rs rename to tests/codegen-llvm/pgo-instrumentation.rs diff --git a/tests/codegen/pic-relocation-model.rs b/tests/codegen-llvm/pic-relocation-model.rs similarity index 100% rename from tests/codegen/pic-relocation-model.rs rename to tests/codegen-llvm/pic-relocation-model.rs diff --git a/tests/codegen/pie-relocation-model.rs b/tests/codegen-llvm/pie-relocation-model.rs similarity index 100% rename from tests/codegen/pie-relocation-model.rs rename to tests/codegen-llvm/pie-relocation-model.rs diff --git a/tests/codegen/placement-new.rs b/tests/codegen-llvm/placement-new.rs similarity index 100% rename from tests/codegen/placement-new.rs rename to tests/codegen-llvm/placement-new.rs diff --git a/tests/codegen/powerpc64le-struct-align-128.rs b/tests/codegen-llvm/powerpc64le-struct-align-128.rs similarity index 100% rename from tests/codegen/powerpc64le-struct-align-128.rs rename to tests/codegen-llvm/powerpc64le-struct-align-128.rs diff --git a/tests/codegen/precondition-checks.rs b/tests/codegen-llvm/precondition-checks.rs similarity index 100% rename from tests/codegen/precondition-checks.rs rename to tests/codegen-llvm/precondition-checks.rs diff --git a/tests/codegen/ptr-arithmetic.rs b/tests/codegen-llvm/ptr-arithmetic.rs similarity index 100% rename from tests/codegen/ptr-arithmetic.rs rename to tests/codegen-llvm/ptr-arithmetic.rs diff --git a/tests/codegen/ptr-read-metadata.rs b/tests/codegen-llvm/ptr-read-metadata.rs similarity index 100% rename from tests/codegen/ptr-read-metadata.rs rename to tests/codegen-llvm/ptr-read-metadata.rs diff --git a/tests/codegen/range-attribute.rs b/tests/codegen-llvm/range-attribute.rs similarity index 100% rename from tests/codegen/range-attribute.rs rename to tests/codegen-llvm/range-attribute.rs diff --git a/tests/codegen/range-loop.rs b/tests/codegen-llvm/range-loop.rs similarity index 100% rename from tests/codegen/range-loop.rs rename to tests/codegen-llvm/range-loop.rs diff --git a/tests/codegen/range_to_inclusive.rs b/tests/codegen-llvm/range_to_inclusive.rs similarity index 100% rename from tests/codegen/range_to_inclusive.rs rename to tests/codegen-llvm/range_to_inclusive.rs diff --git a/tests/codegen/refs.rs b/tests/codegen-llvm/refs.rs similarity index 100% rename from tests/codegen/refs.rs rename to tests/codegen-llvm/refs.rs diff --git a/tests/codegen/reg-struct-return.rs b/tests/codegen-llvm/reg-struct-return.rs similarity index 100% rename from tests/codegen/reg-struct-return.rs rename to tests/codegen-llvm/reg-struct-return.rs diff --git a/tests/codegen/regparm-inreg.rs b/tests/codegen-llvm/regparm-inreg.rs similarity index 100% rename from tests/codegen/regparm-inreg.rs rename to tests/codegen-llvm/regparm-inreg.rs diff --git a/tests/codegen/remap_path_prefix/aux_mod.rs b/tests/codegen-llvm/remap_path_prefix/aux_mod.rs similarity index 100% rename from tests/codegen/remap_path_prefix/aux_mod.rs rename to tests/codegen-llvm/remap_path_prefix/aux_mod.rs diff --git a/tests/codegen/remap_path_prefix/auxiliary/remap_path_prefix_aux.rs b/tests/codegen-llvm/remap_path_prefix/auxiliary/remap_path_prefix_aux.rs similarity index 100% rename from tests/codegen/remap_path_prefix/auxiliary/remap_path_prefix_aux.rs rename to tests/codegen-llvm/remap_path_prefix/auxiliary/remap_path_prefix_aux.rs diff --git a/tests/codegen/remap_path_prefix/auxiliary/xcrate-generic.rs b/tests/codegen-llvm/remap_path_prefix/auxiliary/xcrate-generic.rs similarity index 100% rename from tests/codegen/remap_path_prefix/auxiliary/xcrate-generic.rs rename to tests/codegen-llvm/remap_path_prefix/auxiliary/xcrate-generic.rs diff --git a/tests/codegen/remap_path_prefix/issue-73167-remap-std.rs b/tests/codegen-llvm/remap_path_prefix/issue-73167-remap-std.rs similarity index 100% rename from tests/codegen/remap_path_prefix/issue-73167-remap-std.rs rename to tests/codegen-llvm/remap_path_prefix/issue-73167-remap-std.rs diff --git a/tests/codegen/remap_path_prefix/main.rs b/tests/codegen-llvm/remap_path_prefix/main.rs similarity index 100% rename from tests/codegen/remap_path_prefix/main.rs rename to tests/codegen-llvm/remap_path_prefix/main.rs diff --git a/tests/codegen/remap_path_prefix/xcrate-generic.rs b/tests/codegen-llvm/remap_path_prefix/xcrate-generic.rs similarity index 100% rename from tests/codegen/remap_path_prefix/xcrate-generic.rs rename to tests/codegen-llvm/remap_path_prefix/xcrate-generic.rs diff --git a/tests/codegen/repeat-operand-zero-len.rs b/tests/codegen-llvm/repeat-operand-zero-len.rs similarity index 100% rename from tests/codegen/repeat-operand-zero-len.rs rename to tests/codegen-llvm/repeat-operand-zero-len.rs diff --git a/tests/codegen/repeat-operand-zst-elem.rs b/tests/codegen-llvm/repeat-operand-zst-elem.rs similarity index 100% rename from tests/codegen/repeat-operand-zst-elem.rs rename to tests/codegen-llvm/repeat-operand-zst-elem.rs diff --git a/tests/codegen/repeat-trusted-len.rs b/tests/codegen-llvm/repeat-trusted-len.rs similarity index 100% rename from tests/codegen/repeat-trusted-len.rs rename to tests/codegen-llvm/repeat-trusted-len.rs diff --git a/tests/codegen/repr/transparent-byval-struct-ptr.rs b/tests/codegen-llvm/repr/transparent-byval-struct-ptr.rs similarity index 100% rename from tests/codegen/repr/transparent-byval-struct-ptr.rs rename to tests/codegen-llvm/repr/transparent-byval-struct-ptr.rs diff --git a/tests/codegen/repr/transparent-imm-array.rs b/tests/codegen-llvm/repr/transparent-imm-array.rs similarity index 100% rename from tests/codegen/repr/transparent-imm-array.rs rename to tests/codegen-llvm/repr/transparent-imm-array.rs diff --git a/tests/codegen/repr/transparent-mips64.rs b/tests/codegen-llvm/repr/transparent-mips64.rs similarity index 100% rename from tests/codegen/repr/transparent-mips64.rs rename to tests/codegen-llvm/repr/transparent-mips64.rs diff --git a/tests/codegen/repr/transparent-opaque-ptr.rs b/tests/codegen-llvm/repr/transparent-opaque-ptr.rs similarity index 100% rename from tests/codegen/repr/transparent-opaque-ptr.rs rename to tests/codegen-llvm/repr/transparent-opaque-ptr.rs diff --git a/tests/codegen/repr/transparent-sparc64.rs b/tests/codegen-llvm/repr/transparent-sparc64.rs similarity index 100% rename from tests/codegen/repr/transparent-sparc64.rs rename to tests/codegen-llvm/repr/transparent-sparc64.rs diff --git a/tests/codegen/repr/transparent-sysv64.rs b/tests/codegen-llvm/repr/transparent-sysv64.rs similarity index 100% rename from tests/codegen/repr/transparent-sysv64.rs rename to tests/codegen-llvm/repr/transparent-sysv64.rs diff --git a/tests/codegen/repr/transparent.rs b/tests/codegen-llvm/repr/transparent.rs similarity index 100% rename from tests/codegen/repr/transparent.rs rename to tests/codegen-llvm/repr/transparent.rs diff --git a/tests/codegen/retpoline.rs b/tests/codegen-llvm/retpoline.rs similarity index 100% rename from tests/codegen/retpoline.rs rename to tests/codegen-llvm/retpoline.rs diff --git a/tests/codegen/riscv-abi/call-llvm-intrinsics.rs b/tests/codegen-llvm/riscv-abi/call-llvm-intrinsics.rs similarity index 100% rename from tests/codegen/riscv-abi/call-llvm-intrinsics.rs rename to tests/codegen-llvm/riscv-abi/call-llvm-intrinsics.rs diff --git a/tests/codegen/riscv-abi/cast-local-large-enough.rs b/tests/codegen-llvm/riscv-abi/cast-local-large-enough.rs similarity index 100% rename from tests/codegen/riscv-abi/cast-local-large-enough.rs rename to tests/codegen-llvm/riscv-abi/cast-local-large-enough.rs diff --git a/tests/codegen/riscv-abi/riscv64-lp64-lp64f-lp64d-abi.rs b/tests/codegen-llvm/riscv-abi/riscv64-lp64-lp64f-lp64d-abi.rs similarity index 100% rename from tests/codegen/riscv-abi/riscv64-lp64-lp64f-lp64d-abi.rs rename to tests/codegen-llvm/riscv-abi/riscv64-lp64-lp64f-lp64d-abi.rs diff --git a/tests/codegen/riscv-abi/riscv64-lp64d-abi.rs b/tests/codegen-llvm/riscv-abi/riscv64-lp64d-abi.rs similarity index 100% rename from tests/codegen/riscv-abi/riscv64-lp64d-abi.rs rename to tests/codegen-llvm/riscv-abi/riscv64-lp64d-abi.rs diff --git a/tests/codegen/riscv-abi/riscv64-lp64f-lp64d-abi.rs b/tests/codegen-llvm/riscv-abi/riscv64-lp64f-lp64d-abi.rs similarity index 100% rename from tests/codegen/riscv-abi/riscv64-lp64f-lp64d-abi.rs rename to tests/codegen-llvm/riscv-abi/riscv64-lp64f-lp64d-abi.rs diff --git a/tests/codegen/riscv-target-abi.rs b/tests/codegen-llvm/riscv-target-abi.rs similarity index 100% rename from tests/codegen/riscv-target-abi.rs rename to tests/codegen-llvm/riscv-target-abi.rs diff --git a/tests/codegen/rust-abi-arch-specific-adjustment.rs b/tests/codegen-llvm/rust-abi-arch-specific-adjustment.rs similarity index 100% rename from tests/codegen/rust-abi-arch-specific-adjustment.rs rename to tests/codegen-llvm/rust-abi-arch-specific-adjustment.rs diff --git a/tests/codegen/s390x-simd.rs b/tests/codegen-llvm/s390x-simd.rs similarity index 100% rename from tests/codegen/s390x-simd.rs rename to tests/codegen-llvm/s390x-simd.rs diff --git a/tests/codegen/sanitizer/aarch64-shadow-call-stack-with-fixed-x18.rs b/tests/codegen-llvm/sanitizer/aarch64-shadow-call-stack-with-fixed-x18.rs similarity index 100% rename from tests/codegen/sanitizer/aarch64-shadow-call-stack-with-fixed-x18.rs rename to tests/codegen-llvm/sanitizer/aarch64-shadow-call-stack-with-fixed-x18.rs diff --git a/tests/codegen/sanitizer/address-sanitizer-globals-tracking.rs b/tests/codegen-llvm/sanitizer/address-sanitizer-globals-tracking.rs similarity index 100% rename from tests/codegen/sanitizer/address-sanitizer-globals-tracking.rs rename to tests/codegen-llvm/sanitizer/address-sanitizer-globals-tracking.rs diff --git a/tests/codegen/sanitizer/cfi/add-canonical-jump-tables-flag.rs b/tests/codegen-llvm/sanitizer/cfi/add-canonical-jump-tables-flag.rs similarity index 100% rename from tests/codegen/sanitizer/cfi/add-canonical-jump-tables-flag.rs rename to tests/codegen-llvm/sanitizer/cfi/add-canonical-jump-tables-flag.rs diff --git a/tests/codegen/sanitizer/cfi/add-cfi-normalize-integers-flag.rs b/tests/codegen-llvm/sanitizer/cfi/add-cfi-normalize-integers-flag.rs similarity index 100% rename from tests/codegen/sanitizer/cfi/add-cfi-normalize-integers-flag.rs rename to tests/codegen-llvm/sanitizer/cfi/add-cfi-normalize-integers-flag.rs diff --git a/tests/codegen/sanitizer/cfi/add-enable-split-lto-unit-flag.rs b/tests/codegen-llvm/sanitizer/cfi/add-enable-split-lto-unit-flag.rs similarity index 100% rename from tests/codegen/sanitizer/cfi/add-enable-split-lto-unit-flag.rs rename to tests/codegen-llvm/sanitizer/cfi/add-enable-split-lto-unit-flag.rs diff --git a/tests/codegen/sanitizer/cfi/dbg-location-on-cfi-blocks.rs b/tests/codegen-llvm/sanitizer/cfi/dbg-location-on-cfi-blocks.rs similarity index 100% rename from tests/codegen/sanitizer/cfi/dbg-location-on-cfi-blocks.rs rename to tests/codegen-llvm/sanitizer/cfi/dbg-location-on-cfi-blocks.rs diff --git a/tests/codegen/sanitizer/cfi/emit-type-checks-attr-no-sanitize.rs b/tests/codegen-llvm/sanitizer/cfi/emit-type-checks-attr-no-sanitize.rs similarity index 100% rename from tests/codegen/sanitizer/cfi/emit-type-checks-attr-no-sanitize.rs rename to tests/codegen-llvm/sanitizer/cfi/emit-type-checks-attr-no-sanitize.rs diff --git a/tests/codegen/sanitizer/cfi/emit-type-checks.rs b/tests/codegen-llvm/sanitizer/cfi/emit-type-checks.rs similarity index 100% rename from tests/codegen/sanitizer/cfi/emit-type-checks.rs rename to tests/codegen-llvm/sanitizer/cfi/emit-type-checks.rs diff --git a/tests/codegen/sanitizer/cfi/emit-type-metadata-attr-cfi-encoding.rs b/tests/codegen-llvm/sanitizer/cfi/emit-type-metadata-attr-cfi-encoding.rs similarity index 100% rename from tests/codegen/sanitizer/cfi/emit-type-metadata-attr-cfi-encoding.rs rename to tests/codegen-llvm/sanitizer/cfi/emit-type-metadata-attr-cfi-encoding.rs diff --git a/tests/codegen/sanitizer/cfi/emit-type-metadata-id-itanium-cxx-abi-const-generics.rs b/tests/codegen-llvm/sanitizer/cfi/emit-type-metadata-id-itanium-cxx-abi-const-generics.rs similarity index 100% rename from tests/codegen/sanitizer/cfi/emit-type-metadata-id-itanium-cxx-abi-const-generics.rs rename to tests/codegen-llvm/sanitizer/cfi/emit-type-metadata-id-itanium-cxx-abi-const-generics.rs diff --git a/tests/codegen/sanitizer/cfi/emit-type-metadata-id-itanium-cxx-abi-drop-in-place.rs b/tests/codegen-llvm/sanitizer/cfi/emit-type-metadata-id-itanium-cxx-abi-drop-in-place.rs similarity index 100% rename from tests/codegen/sanitizer/cfi/emit-type-metadata-id-itanium-cxx-abi-drop-in-place.rs rename to tests/codegen-llvm/sanitizer/cfi/emit-type-metadata-id-itanium-cxx-abi-drop-in-place.rs diff --git a/tests/codegen/sanitizer/cfi/emit-type-metadata-id-itanium-cxx-abi-function-types.rs b/tests/codegen-llvm/sanitizer/cfi/emit-type-metadata-id-itanium-cxx-abi-function-types.rs similarity index 100% rename from tests/codegen/sanitizer/cfi/emit-type-metadata-id-itanium-cxx-abi-function-types.rs rename to tests/codegen-llvm/sanitizer/cfi/emit-type-metadata-id-itanium-cxx-abi-function-types.rs diff --git a/tests/codegen/sanitizer/cfi/emit-type-metadata-id-itanium-cxx-abi-lifetimes.rs b/tests/codegen-llvm/sanitizer/cfi/emit-type-metadata-id-itanium-cxx-abi-lifetimes.rs similarity index 100% rename from tests/codegen/sanitizer/cfi/emit-type-metadata-id-itanium-cxx-abi-lifetimes.rs rename to tests/codegen-llvm/sanitizer/cfi/emit-type-metadata-id-itanium-cxx-abi-lifetimes.rs diff --git a/tests/codegen/sanitizer/cfi/emit-type-metadata-id-itanium-cxx-abi-method-secondary-typeid.rs b/tests/codegen-llvm/sanitizer/cfi/emit-type-metadata-id-itanium-cxx-abi-method-secondary-typeid.rs similarity index 100% rename from tests/codegen/sanitizer/cfi/emit-type-metadata-id-itanium-cxx-abi-method-secondary-typeid.rs rename to tests/codegen-llvm/sanitizer/cfi/emit-type-metadata-id-itanium-cxx-abi-method-secondary-typeid.rs diff --git a/tests/codegen/sanitizer/cfi/emit-type-metadata-id-itanium-cxx-abi-paths.rs b/tests/codegen-llvm/sanitizer/cfi/emit-type-metadata-id-itanium-cxx-abi-paths.rs similarity index 100% rename from tests/codegen/sanitizer/cfi/emit-type-metadata-id-itanium-cxx-abi-paths.rs rename to tests/codegen-llvm/sanitizer/cfi/emit-type-metadata-id-itanium-cxx-abi-paths.rs diff --git a/tests/codegen/sanitizer/cfi/emit-type-metadata-id-itanium-cxx-abi-pointer-types.rs b/tests/codegen-llvm/sanitizer/cfi/emit-type-metadata-id-itanium-cxx-abi-pointer-types.rs similarity index 100% rename from tests/codegen/sanitizer/cfi/emit-type-metadata-id-itanium-cxx-abi-pointer-types.rs rename to tests/codegen-llvm/sanitizer/cfi/emit-type-metadata-id-itanium-cxx-abi-pointer-types.rs diff --git a/tests/codegen/sanitizer/cfi/emit-type-metadata-id-itanium-cxx-abi-primitive-types.rs b/tests/codegen-llvm/sanitizer/cfi/emit-type-metadata-id-itanium-cxx-abi-primitive-types.rs similarity index 100% rename from tests/codegen/sanitizer/cfi/emit-type-metadata-id-itanium-cxx-abi-primitive-types.rs rename to tests/codegen-llvm/sanitizer/cfi/emit-type-metadata-id-itanium-cxx-abi-primitive-types.rs diff --git a/tests/codegen/sanitizer/cfi/emit-type-metadata-id-itanium-cxx-abi-repr-transparent-types.rs b/tests/codegen-llvm/sanitizer/cfi/emit-type-metadata-id-itanium-cxx-abi-repr-transparent-types.rs similarity index 100% rename from tests/codegen/sanitizer/cfi/emit-type-metadata-id-itanium-cxx-abi-repr-transparent-types.rs rename to tests/codegen-llvm/sanitizer/cfi/emit-type-metadata-id-itanium-cxx-abi-repr-transparent-types.rs diff --git a/tests/codegen/sanitizer/cfi/emit-type-metadata-id-itanium-cxx-abi-sequence-types.rs b/tests/codegen-llvm/sanitizer/cfi/emit-type-metadata-id-itanium-cxx-abi-sequence-types.rs similarity index 100% rename from tests/codegen/sanitizer/cfi/emit-type-metadata-id-itanium-cxx-abi-sequence-types.rs rename to tests/codegen-llvm/sanitizer/cfi/emit-type-metadata-id-itanium-cxx-abi-sequence-types.rs diff --git a/tests/codegen/sanitizer/cfi/emit-type-metadata-id-itanium-cxx-abi-trait-types.rs b/tests/codegen-llvm/sanitizer/cfi/emit-type-metadata-id-itanium-cxx-abi-trait-types.rs similarity index 100% rename from tests/codegen/sanitizer/cfi/emit-type-metadata-id-itanium-cxx-abi-trait-types.rs rename to tests/codegen-llvm/sanitizer/cfi/emit-type-metadata-id-itanium-cxx-abi-trait-types.rs diff --git a/tests/codegen/sanitizer/cfi/emit-type-metadata-id-itanium-cxx-abi-user-defined-types.rs b/tests/codegen-llvm/sanitizer/cfi/emit-type-metadata-id-itanium-cxx-abi-user-defined-types.rs similarity index 100% rename from tests/codegen/sanitizer/cfi/emit-type-metadata-id-itanium-cxx-abi-user-defined-types.rs rename to tests/codegen-llvm/sanitizer/cfi/emit-type-metadata-id-itanium-cxx-abi-user-defined-types.rs diff --git a/tests/codegen/sanitizer/cfi/emit-type-metadata-itanium-cxx-abi-generalized.rs b/tests/codegen-llvm/sanitizer/cfi/emit-type-metadata-itanium-cxx-abi-generalized.rs similarity index 100% rename from tests/codegen/sanitizer/cfi/emit-type-metadata-itanium-cxx-abi-generalized.rs rename to tests/codegen-llvm/sanitizer/cfi/emit-type-metadata-itanium-cxx-abi-generalized.rs diff --git a/tests/codegen/sanitizer/cfi/emit-type-metadata-itanium-cxx-abi-normalized-generalized.rs b/tests/codegen-llvm/sanitizer/cfi/emit-type-metadata-itanium-cxx-abi-normalized-generalized.rs similarity index 100% rename from tests/codegen/sanitizer/cfi/emit-type-metadata-itanium-cxx-abi-normalized-generalized.rs rename to tests/codegen-llvm/sanitizer/cfi/emit-type-metadata-itanium-cxx-abi-normalized-generalized.rs diff --git a/tests/codegen/sanitizer/cfi/emit-type-metadata-itanium-cxx-abi-normalized.rs b/tests/codegen-llvm/sanitizer/cfi/emit-type-metadata-itanium-cxx-abi-normalized.rs similarity index 100% rename from tests/codegen/sanitizer/cfi/emit-type-metadata-itanium-cxx-abi-normalized.rs rename to tests/codegen-llvm/sanitizer/cfi/emit-type-metadata-itanium-cxx-abi-normalized.rs diff --git a/tests/codegen/sanitizer/cfi/emit-type-metadata-itanium-cxx-abi.rs b/tests/codegen-llvm/sanitizer/cfi/emit-type-metadata-itanium-cxx-abi.rs similarity index 100% rename from tests/codegen/sanitizer/cfi/emit-type-metadata-itanium-cxx-abi.rs rename to tests/codegen-llvm/sanitizer/cfi/emit-type-metadata-itanium-cxx-abi.rs diff --git a/tests/codegen/sanitizer/cfi/emit-type-metadata-trait-objects.rs b/tests/codegen-llvm/sanitizer/cfi/emit-type-metadata-trait-objects.rs similarity index 100% rename from tests/codegen/sanitizer/cfi/emit-type-metadata-trait-objects.rs rename to tests/codegen-llvm/sanitizer/cfi/emit-type-metadata-trait-objects.rs diff --git a/tests/codegen/sanitizer/cfi/external_weak_symbols.rs b/tests/codegen-llvm/sanitizer/cfi/external_weak_symbols.rs similarity index 100% rename from tests/codegen/sanitizer/cfi/external_weak_symbols.rs rename to tests/codegen-llvm/sanitizer/cfi/external_weak_symbols.rs diff --git a/tests/codegen/sanitizer/cfi/generalize-pointers.rs b/tests/codegen-llvm/sanitizer/cfi/generalize-pointers.rs similarity index 100% rename from tests/codegen/sanitizer/cfi/generalize-pointers.rs rename to tests/codegen-llvm/sanitizer/cfi/generalize-pointers.rs diff --git a/tests/codegen/sanitizer/cfi/normalize-integers.rs b/tests/codegen-llvm/sanitizer/cfi/normalize-integers.rs similarity index 100% rename from tests/codegen/sanitizer/cfi/normalize-integers.rs rename to tests/codegen-llvm/sanitizer/cfi/normalize-integers.rs diff --git a/tests/codegen/sanitizer/dataflow-instrument-functions.rs b/tests/codegen-llvm/sanitizer/dataflow-instrument-functions.rs similarity index 100% rename from tests/codegen/sanitizer/dataflow-instrument-functions.rs rename to tests/codegen-llvm/sanitizer/dataflow-instrument-functions.rs diff --git a/tests/codegen/sanitizer/kasan-emits-instrumentation.rs b/tests/codegen-llvm/sanitizer/kasan-emits-instrumentation.rs similarity index 100% rename from tests/codegen/sanitizer/kasan-emits-instrumentation.rs rename to tests/codegen-llvm/sanitizer/kasan-emits-instrumentation.rs diff --git a/tests/codegen/sanitizer/kcfi/add-cfi-normalize-integers-flag.rs b/tests/codegen-llvm/sanitizer/kcfi/add-cfi-normalize-integers-flag.rs similarity index 100% rename from tests/codegen/sanitizer/kcfi/add-cfi-normalize-integers-flag.rs rename to tests/codegen-llvm/sanitizer/kcfi/add-cfi-normalize-integers-flag.rs diff --git a/tests/codegen/sanitizer/kcfi/add-kcfi-arity-flag.rs b/tests/codegen-llvm/sanitizer/kcfi/add-kcfi-arity-flag.rs similarity index 100% rename from tests/codegen/sanitizer/kcfi/add-kcfi-arity-flag.rs rename to tests/codegen-llvm/sanitizer/kcfi/add-kcfi-arity-flag.rs diff --git a/tests/codegen/sanitizer/kcfi/add-kcfi-flag.rs b/tests/codegen-llvm/sanitizer/kcfi/add-kcfi-flag.rs similarity index 100% rename from tests/codegen/sanitizer/kcfi/add-kcfi-flag.rs rename to tests/codegen-llvm/sanitizer/kcfi/add-kcfi-flag.rs diff --git a/tests/codegen/sanitizer/kcfi/add-kcfi-offset-flag.rs b/tests/codegen-llvm/sanitizer/kcfi/add-kcfi-offset-flag.rs similarity index 100% rename from tests/codegen/sanitizer/kcfi/add-kcfi-offset-flag.rs rename to tests/codegen-llvm/sanitizer/kcfi/add-kcfi-offset-flag.rs diff --git a/tests/codegen/sanitizer/kcfi/emit-kcfi-operand-bundle-attr-no-sanitize.rs b/tests/codegen-llvm/sanitizer/kcfi/emit-kcfi-operand-bundle-attr-no-sanitize.rs similarity index 100% rename from tests/codegen/sanitizer/kcfi/emit-kcfi-operand-bundle-attr-no-sanitize.rs rename to tests/codegen-llvm/sanitizer/kcfi/emit-kcfi-operand-bundle-attr-no-sanitize.rs diff --git a/tests/codegen/sanitizer/kcfi/emit-kcfi-operand-bundle-itanium-cxx-abi-generalized.rs b/tests/codegen-llvm/sanitizer/kcfi/emit-kcfi-operand-bundle-itanium-cxx-abi-generalized.rs similarity index 100% rename from tests/codegen/sanitizer/kcfi/emit-kcfi-operand-bundle-itanium-cxx-abi-generalized.rs rename to tests/codegen-llvm/sanitizer/kcfi/emit-kcfi-operand-bundle-itanium-cxx-abi-generalized.rs diff --git a/tests/codegen/sanitizer/kcfi/emit-kcfi-operand-bundle-itanium-cxx-abi-normalized-generalized.rs b/tests/codegen-llvm/sanitizer/kcfi/emit-kcfi-operand-bundle-itanium-cxx-abi-normalized-generalized.rs similarity index 100% rename from tests/codegen/sanitizer/kcfi/emit-kcfi-operand-bundle-itanium-cxx-abi-normalized-generalized.rs rename to tests/codegen-llvm/sanitizer/kcfi/emit-kcfi-operand-bundle-itanium-cxx-abi-normalized-generalized.rs diff --git a/tests/codegen/sanitizer/kcfi/emit-kcfi-operand-bundle-itanium-cxx-abi-normalized.rs b/tests/codegen-llvm/sanitizer/kcfi/emit-kcfi-operand-bundle-itanium-cxx-abi-normalized.rs similarity index 100% rename from tests/codegen/sanitizer/kcfi/emit-kcfi-operand-bundle-itanium-cxx-abi-normalized.rs rename to tests/codegen-llvm/sanitizer/kcfi/emit-kcfi-operand-bundle-itanium-cxx-abi-normalized.rs diff --git a/tests/codegen/sanitizer/kcfi/emit-kcfi-operand-bundle-itanium-cxx-abi.rs b/tests/codegen-llvm/sanitizer/kcfi/emit-kcfi-operand-bundle-itanium-cxx-abi.rs similarity index 100% rename from tests/codegen/sanitizer/kcfi/emit-kcfi-operand-bundle-itanium-cxx-abi.rs rename to tests/codegen-llvm/sanitizer/kcfi/emit-kcfi-operand-bundle-itanium-cxx-abi.rs diff --git a/tests/codegen/sanitizer/kcfi/emit-kcfi-operand-bundle.rs b/tests/codegen-llvm/sanitizer/kcfi/emit-kcfi-operand-bundle.rs similarity index 100% rename from tests/codegen/sanitizer/kcfi/emit-kcfi-operand-bundle.rs rename to tests/codegen-llvm/sanitizer/kcfi/emit-kcfi-operand-bundle.rs diff --git a/tests/codegen/sanitizer/kcfi/emit-type-metadata-trait-objects.rs b/tests/codegen-llvm/sanitizer/kcfi/emit-type-metadata-trait-objects.rs similarity index 100% rename from tests/codegen/sanitizer/kcfi/emit-type-metadata-trait-objects.rs rename to tests/codegen-llvm/sanitizer/kcfi/emit-type-metadata-trait-objects.rs diff --git a/tests/codegen/sanitizer/kcfi/naked-function.rs b/tests/codegen-llvm/sanitizer/kcfi/naked-function.rs similarity index 100% rename from tests/codegen/sanitizer/kcfi/naked-function.rs rename to tests/codegen-llvm/sanitizer/kcfi/naked-function.rs diff --git a/tests/codegen/sanitizer/memory-track-origins.rs b/tests/codegen-llvm/sanitizer/memory-track-origins.rs similarity index 100% rename from tests/codegen/sanitizer/memory-track-origins.rs rename to tests/codegen-llvm/sanitizer/memory-track-origins.rs diff --git a/tests/codegen/sanitizer/memtag-attr-check.rs b/tests/codegen-llvm/sanitizer/memtag-attr-check.rs similarity index 100% rename from tests/codegen/sanitizer/memtag-attr-check.rs rename to tests/codegen-llvm/sanitizer/memtag-attr-check.rs diff --git a/tests/codegen/sanitizer/no-sanitize-inlining.rs b/tests/codegen-llvm/sanitizer/no-sanitize-inlining.rs similarity index 100% rename from tests/codegen/sanitizer/no-sanitize-inlining.rs rename to tests/codegen-llvm/sanitizer/no-sanitize-inlining.rs diff --git a/tests/codegen/sanitizer/no-sanitize.rs b/tests/codegen-llvm/sanitizer/no-sanitize.rs similarity index 100% rename from tests/codegen/sanitizer/no-sanitize.rs rename to tests/codegen-llvm/sanitizer/no-sanitize.rs diff --git a/tests/codegen/sanitizer/riscv64-shadow-call-stack.rs b/tests/codegen-llvm/sanitizer/riscv64-shadow-call-stack.rs similarity index 100% rename from tests/codegen/sanitizer/riscv64-shadow-call-stack.rs rename to tests/codegen-llvm/sanitizer/riscv64-shadow-call-stack.rs diff --git a/tests/codegen/sanitizer/safestack-attr-check.rs b/tests/codegen-llvm/sanitizer/safestack-attr-check.rs similarity index 100% rename from tests/codegen/sanitizer/safestack-attr-check.rs rename to tests/codegen-llvm/sanitizer/safestack-attr-check.rs diff --git a/tests/codegen/sanitizer/sanitizer-recover.rs b/tests/codegen-llvm/sanitizer/sanitizer-recover.rs similarity index 100% rename from tests/codegen/sanitizer/sanitizer-recover.rs rename to tests/codegen-llvm/sanitizer/sanitizer-recover.rs diff --git a/tests/codegen/sanitizer/scs-attr-check.rs b/tests/codegen-llvm/sanitizer/scs-attr-check.rs similarity index 100% rename from tests/codegen/sanitizer/scs-attr-check.rs rename to tests/codegen-llvm/sanitizer/scs-attr-check.rs diff --git a/tests/codegen/scalar-pair-bool.rs b/tests/codegen-llvm/scalar-pair-bool.rs similarity index 100% rename from tests/codegen/scalar-pair-bool.rs rename to tests/codegen-llvm/scalar-pair-bool.rs diff --git a/tests/codegen/set-discriminant-invalid.rs b/tests/codegen-llvm/set-discriminant-invalid.rs similarity index 100% rename from tests/codegen/set-discriminant-invalid.rs rename to tests/codegen-llvm/set-discriminant-invalid.rs diff --git a/tests/codegen/simd-intrinsic/simd-intrinsic-float-abs.rs b/tests/codegen-llvm/simd-intrinsic/simd-intrinsic-float-abs.rs similarity index 100% rename from tests/codegen/simd-intrinsic/simd-intrinsic-float-abs.rs rename to tests/codegen-llvm/simd-intrinsic/simd-intrinsic-float-abs.rs diff --git a/tests/codegen/simd-intrinsic/simd-intrinsic-float-ceil.rs b/tests/codegen-llvm/simd-intrinsic/simd-intrinsic-float-ceil.rs similarity index 100% rename from tests/codegen/simd-intrinsic/simd-intrinsic-float-ceil.rs rename to tests/codegen-llvm/simd-intrinsic/simd-intrinsic-float-ceil.rs diff --git a/tests/codegen/simd-intrinsic/simd-intrinsic-float-cos.rs b/tests/codegen-llvm/simd-intrinsic/simd-intrinsic-float-cos.rs similarity index 100% rename from tests/codegen/simd-intrinsic/simd-intrinsic-float-cos.rs rename to tests/codegen-llvm/simd-intrinsic/simd-intrinsic-float-cos.rs diff --git a/tests/codegen/simd-intrinsic/simd-intrinsic-float-exp.rs b/tests/codegen-llvm/simd-intrinsic/simd-intrinsic-float-exp.rs similarity index 100% rename from tests/codegen/simd-intrinsic/simd-intrinsic-float-exp.rs rename to tests/codegen-llvm/simd-intrinsic/simd-intrinsic-float-exp.rs diff --git a/tests/codegen/simd-intrinsic/simd-intrinsic-float-exp2.rs b/tests/codegen-llvm/simd-intrinsic/simd-intrinsic-float-exp2.rs similarity index 100% rename from tests/codegen/simd-intrinsic/simd-intrinsic-float-exp2.rs rename to tests/codegen-llvm/simd-intrinsic/simd-intrinsic-float-exp2.rs diff --git a/tests/codegen/simd-intrinsic/simd-intrinsic-float-floor.rs b/tests/codegen-llvm/simd-intrinsic/simd-intrinsic-float-floor.rs similarity index 100% rename from tests/codegen/simd-intrinsic/simd-intrinsic-float-floor.rs rename to tests/codegen-llvm/simd-intrinsic/simd-intrinsic-float-floor.rs diff --git a/tests/codegen/simd-intrinsic/simd-intrinsic-float-fma.rs b/tests/codegen-llvm/simd-intrinsic/simd-intrinsic-float-fma.rs similarity index 100% rename from tests/codegen/simd-intrinsic/simd-intrinsic-float-fma.rs rename to tests/codegen-llvm/simd-intrinsic/simd-intrinsic-float-fma.rs diff --git a/tests/codegen/simd-intrinsic/simd-intrinsic-float-fsqrt.rs b/tests/codegen-llvm/simd-intrinsic/simd-intrinsic-float-fsqrt.rs similarity index 100% rename from tests/codegen/simd-intrinsic/simd-intrinsic-float-fsqrt.rs rename to tests/codegen-llvm/simd-intrinsic/simd-intrinsic-float-fsqrt.rs diff --git a/tests/codegen/simd-intrinsic/simd-intrinsic-float-log.rs b/tests/codegen-llvm/simd-intrinsic/simd-intrinsic-float-log.rs similarity index 100% rename from tests/codegen/simd-intrinsic/simd-intrinsic-float-log.rs rename to tests/codegen-llvm/simd-intrinsic/simd-intrinsic-float-log.rs diff --git a/tests/codegen/simd-intrinsic/simd-intrinsic-float-log10.rs b/tests/codegen-llvm/simd-intrinsic/simd-intrinsic-float-log10.rs similarity index 100% rename from tests/codegen/simd-intrinsic/simd-intrinsic-float-log10.rs rename to tests/codegen-llvm/simd-intrinsic/simd-intrinsic-float-log10.rs diff --git a/tests/codegen/simd-intrinsic/simd-intrinsic-float-log2.rs b/tests/codegen-llvm/simd-intrinsic/simd-intrinsic-float-log2.rs similarity index 100% rename from tests/codegen/simd-intrinsic/simd-intrinsic-float-log2.rs rename to tests/codegen-llvm/simd-intrinsic/simd-intrinsic-float-log2.rs diff --git a/tests/codegen/simd-intrinsic/simd-intrinsic-float-minmax.rs b/tests/codegen-llvm/simd-intrinsic/simd-intrinsic-float-minmax.rs similarity index 100% rename from tests/codegen/simd-intrinsic/simd-intrinsic-float-minmax.rs rename to tests/codegen-llvm/simd-intrinsic/simd-intrinsic-float-minmax.rs diff --git a/tests/codegen/simd-intrinsic/simd-intrinsic-float-sin.rs b/tests/codegen-llvm/simd-intrinsic/simd-intrinsic-float-sin.rs similarity index 100% rename from tests/codegen/simd-intrinsic/simd-intrinsic-float-sin.rs rename to tests/codegen-llvm/simd-intrinsic/simd-intrinsic-float-sin.rs diff --git a/tests/codegen/simd-intrinsic/simd-intrinsic-generic-arithmetic-saturating.rs b/tests/codegen-llvm/simd-intrinsic/simd-intrinsic-generic-arithmetic-saturating.rs similarity index 100% rename from tests/codegen/simd-intrinsic/simd-intrinsic-generic-arithmetic-saturating.rs rename to tests/codegen-llvm/simd-intrinsic/simd-intrinsic-generic-arithmetic-saturating.rs diff --git a/tests/codegen/simd-intrinsic/simd-intrinsic-generic-bitmask.rs b/tests/codegen-llvm/simd-intrinsic/simd-intrinsic-generic-bitmask.rs similarity index 100% rename from tests/codegen/simd-intrinsic/simd-intrinsic-generic-bitmask.rs rename to tests/codegen-llvm/simd-intrinsic/simd-intrinsic-generic-bitmask.rs diff --git a/tests/codegen/simd-intrinsic/simd-intrinsic-generic-gather.rs b/tests/codegen-llvm/simd-intrinsic/simd-intrinsic-generic-gather.rs similarity index 100% rename from tests/codegen/simd-intrinsic/simd-intrinsic-generic-gather.rs rename to tests/codegen-llvm/simd-intrinsic/simd-intrinsic-generic-gather.rs diff --git a/tests/codegen/simd-intrinsic/simd-intrinsic-generic-masked-load.rs b/tests/codegen-llvm/simd-intrinsic/simd-intrinsic-generic-masked-load.rs similarity index 100% rename from tests/codegen/simd-intrinsic/simd-intrinsic-generic-masked-load.rs rename to tests/codegen-llvm/simd-intrinsic/simd-intrinsic-generic-masked-load.rs diff --git a/tests/codegen/simd-intrinsic/simd-intrinsic-generic-masked-store.rs b/tests/codegen-llvm/simd-intrinsic/simd-intrinsic-generic-masked-store.rs similarity index 100% rename from tests/codegen/simd-intrinsic/simd-intrinsic-generic-masked-store.rs rename to tests/codegen-llvm/simd-intrinsic/simd-intrinsic-generic-masked-store.rs diff --git a/tests/codegen/simd-intrinsic/simd-intrinsic-generic-scatter.rs b/tests/codegen-llvm/simd-intrinsic/simd-intrinsic-generic-scatter.rs similarity index 100% rename from tests/codegen/simd-intrinsic/simd-intrinsic-generic-scatter.rs rename to tests/codegen-llvm/simd-intrinsic/simd-intrinsic-generic-scatter.rs diff --git a/tests/codegen/simd-intrinsic/simd-intrinsic-generic-select.rs b/tests/codegen-llvm/simd-intrinsic/simd-intrinsic-generic-select.rs similarity index 100% rename from tests/codegen/simd-intrinsic/simd-intrinsic-generic-select.rs rename to tests/codegen-llvm/simd-intrinsic/simd-intrinsic-generic-select.rs diff --git a/tests/codegen/simd-intrinsic/simd-intrinsic-mask-reduce.rs b/tests/codegen-llvm/simd-intrinsic/simd-intrinsic-mask-reduce.rs similarity index 100% rename from tests/codegen/simd-intrinsic/simd-intrinsic-mask-reduce.rs rename to tests/codegen-llvm/simd-intrinsic/simd-intrinsic-mask-reduce.rs diff --git a/tests/codegen/simd-intrinsic/simd-intrinsic-transmute-array.rs b/tests/codegen-llvm/simd-intrinsic/simd-intrinsic-transmute-array.rs similarity index 100% rename from tests/codegen/simd-intrinsic/simd-intrinsic-transmute-array.rs rename to tests/codegen-llvm/simd-intrinsic/simd-intrinsic-transmute-array.rs diff --git a/tests/codegen/simd/aggregate-simd.rs b/tests/codegen-llvm/simd/aggregate-simd.rs similarity index 100% rename from tests/codegen/simd/aggregate-simd.rs rename to tests/codegen-llvm/simd/aggregate-simd.rs diff --git a/tests/codegen/simd/extract-insert-dyn.rs b/tests/codegen-llvm/simd/extract-insert-dyn.rs similarity index 100% rename from tests/codegen/simd/extract-insert-dyn.rs rename to tests/codegen-llvm/simd/extract-insert-dyn.rs diff --git a/tests/codegen/simd/packed-simd-alignment.rs b/tests/codegen-llvm/simd/packed-simd-alignment.rs similarity index 100% rename from tests/codegen/simd/packed-simd-alignment.rs rename to tests/codegen-llvm/simd/packed-simd-alignment.rs diff --git a/tests/codegen/simd/packed-simd.rs b/tests/codegen-llvm/simd/packed-simd.rs similarity index 100% rename from tests/codegen/simd/packed-simd.rs rename to tests/codegen-llvm/simd/packed-simd.rs diff --git a/tests/codegen/simd/simd-wide-sum.rs b/tests/codegen-llvm/simd/simd-wide-sum.rs similarity index 100% rename from tests/codegen/simd/simd-wide-sum.rs rename to tests/codegen-llvm/simd/simd-wide-sum.rs diff --git a/tests/codegen/simd/simd_arith_offset.rs b/tests/codegen-llvm/simd/simd_arith_offset.rs similarity index 100% rename from tests/codegen/simd/simd_arith_offset.rs rename to tests/codegen-llvm/simd/simd_arith_offset.rs diff --git a/tests/codegen/simd/swap-simd-types.rs b/tests/codegen-llvm/simd/swap-simd-types.rs similarity index 100% rename from tests/codegen/simd/swap-simd-types.rs rename to tests/codegen-llvm/simd/swap-simd-types.rs diff --git a/tests/codegen/simd/unpadded-simd.rs b/tests/codegen-llvm/simd/unpadded-simd.rs similarity index 100% rename from tests/codegen/simd/unpadded-simd.rs rename to tests/codegen-llvm/simd/unpadded-simd.rs diff --git a/tests/codegen/skip-mono-inside-if-false.rs b/tests/codegen-llvm/skip-mono-inside-if-false.rs similarity index 100% rename from tests/codegen/skip-mono-inside-if-false.rs rename to tests/codegen-llvm/skip-mono-inside-if-false.rs diff --git a/tests/codegen/slice-as_chunks.rs b/tests/codegen-llvm/slice-as_chunks.rs similarity index 100% rename from tests/codegen/slice-as_chunks.rs rename to tests/codegen-llvm/slice-as_chunks.rs diff --git a/tests/codegen/slice-indexing.rs b/tests/codegen-llvm/slice-indexing.rs similarity index 100% rename from tests/codegen/slice-indexing.rs rename to tests/codegen-llvm/slice-indexing.rs diff --git a/tests/codegen/slice-init.rs b/tests/codegen-llvm/slice-init.rs similarity index 100% rename from tests/codegen/slice-init.rs rename to tests/codegen-llvm/slice-init.rs diff --git a/tests/codegen/slice-is-ascii.rs b/tests/codegen-llvm/slice-is-ascii.rs similarity index 100% rename from tests/codegen/slice-is-ascii.rs rename to tests/codegen-llvm/slice-is-ascii.rs diff --git a/tests/codegen/slice-iter-fold.rs b/tests/codegen-llvm/slice-iter-fold.rs similarity index 100% rename from tests/codegen/slice-iter-fold.rs rename to tests/codegen-llvm/slice-iter-fold.rs diff --git a/tests/codegen/slice-iter-len-eq-zero.rs b/tests/codegen-llvm/slice-iter-len-eq-zero.rs similarity index 100% rename from tests/codegen/slice-iter-len-eq-zero.rs rename to tests/codegen-llvm/slice-iter-len-eq-zero.rs diff --git a/tests/codegen/slice-iter-nonnull.rs b/tests/codegen-llvm/slice-iter-nonnull.rs similarity index 100% rename from tests/codegen/slice-iter-nonnull.rs rename to tests/codegen-llvm/slice-iter-nonnull.rs diff --git a/tests/codegen/slice-last-elements-optimization.rs b/tests/codegen-llvm/slice-last-elements-optimization.rs similarity index 100% rename from tests/codegen/slice-last-elements-optimization.rs rename to tests/codegen-llvm/slice-last-elements-optimization.rs diff --git a/tests/codegen/slice-pointer-nonnull-unwrap.rs b/tests/codegen-llvm/slice-pointer-nonnull-unwrap.rs similarity index 100% rename from tests/codegen/slice-pointer-nonnull-unwrap.rs rename to tests/codegen-llvm/slice-pointer-nonnull-unwrap.rs diff --git a/tests/codegen/slice-position-bounds-check.rs b/tests/codegen-llvm/slice-position-bounds-check.rs similarity index 100% rename from tests/codegen/slice-position-bounds-check.rs rename to tests/codegen-llvm/slice-position-bounds-check.rs diff --git a/tests/codegen/slice-ref-equality.rs b/tests/codegen-llvm/slice-ref-equality.rs similarity index 100% rename from tests/codegen/slice-ref-equality.rs rename to tests/codegen-llvm/slice-ref-equality.rs diff --git a/tests/codegen/slice-reverse.rs b/tests/codegen-llvm/slice-reverse.rs similarity index 100% rename from tests/codegen/slice-reverse.rs rename to tests/codegen-llvm/slice-reverse.rs diff --git a/tests/codegen/slice-split-at.rs b/tests/codegen-llvm/slice-split-at.rs similarity index 100% rename from tests/codegen/slice-split-at.rs rename to tests/codegen-llvm/slice-split-at.rs diff --git a/tests/codegen/slice-windows-no-bounds-check.rs b/tests/codegen-llvm/slice-windows-no-bounds-check.rs similarity index 100% rename from tests/codegen/slice-windows-no-bounds-check.rs rename to tests/codegen-llvm/slice-windows-no-bounds-check.rs diff --git a/tests/codegen/slice_as_from_ptr_range.rs b/tests/codegen-llvm/slice_as_from_ptr_range.rs similarity index 100% rename from tests/codegen/slice_as_from_ptr_range.rs rename to tests/codegen-llvm/slice_as_from_ptr_range.rs diff --git a/tests/codegen/some-abis-do-extend-params-to-32-bits.rs b/tests/codegen-llvm/some-abis-do-extend-params-to-32-bits.rs similarity index 100% rename from tests/codegen/some-abis-do-extend-params-to-32-bits.rs rename to tests/codegen-llvm/some-abis-do-extend-params-to-32-bits.rs diff --git a/tests/codegen/some-global-nonnull.rs b/tests/codegen-llvm/some-global-nonnull.rs similarity index 100% rename from tests/codegen/some-global-nonnull.rs rename to tests/codegen-llvm/some-global-nonnull.rs diff --git a/tests/codegen/sparc-struct-abi.rs b/tests/codegen-llvm/sparc-struct-abi.rs similarity index 100% rename from tests/codegen/sparc-struct-abi.rs rename to tests/codegen-llvm/sparc-struct-abi.rs diff --git a/tests/codegen/split-lto-unit.rs b/tests/codegen-llvm/split-lto-unit.rs similarity index 100% rename from tests/codegen/split-lto-unit.rs rename to tests/codegen-llvm/split-lto-unit.rs diff --git a/tests/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs b/tests/codegen-llvm/src-hash-algorithm/src-hash-algorithm-md5.rs similarity index 100% rename from tests/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs rename to tests/codegen-llvm/src-hash-algorithm/src-hash-algorithm-md5.rs diff --git a/tests/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs b/tests/codegen-llvm/src-hash-algorithm/src-hash-algorithm-sha1.rs similarity index 100% rename from tests/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs rename to tests/codegen-llvm/src-hash-algorithm/src-hash-algorithm-sha1.rs diff --git a/tests/codegen/src-hash-algorithm/src-hash-algorithm-sha256.rs b/tests/codegen-llvm/src-hash-algorithm/src-hash-algorithm-sha256.rs similarity index 100% rename from tests/codegen/src-hash-algorithm/src-hash-algorithm-sha256.rs rename to tests/codegen-llvm/src-hash-algorithm/src-hash-algorithm-sha256.rs diff --git a/tests/codegen/sroa-fragment-debuginfo.rs b/tests/codegen-llvm/sroa-fragment-debuginfo.rs similarity index 100% rename from tests/codegen/sroa-fragment-debuginfo.rs rename to tests/codegen-llvm/sroa-fragment-debuginfo.rs diff --git a/tests/codegen/sse42-implies-crc32.rs b/tests/codegen-llvm/sse42-implies-crc32.rs similarity index 100% rename from tests/codegen/sse42-implies-crc32.rs rename to tests/codegen-llvm/sse42-implies-crc32.rs diff --git a/tests/codegen/stack-probes-inline.rs b/tests/codegen-llvm/stack-probes-inline.rs similarity index 100% rename from tests/codegen/stack-probes-inline.rs rename to tests/codegen-llvm/stack-probes-inline.rs diff --git a/tests/codegen/stack-protector.rs b/tests/codegen-llvm/stack-protector.rs similarity index 100% rename from tests/codegen/stack-protector.rs rename to tests/codegen-llvm/stack-protector.rs diff --git a/tests/codegen/static-relocation-model-msvc.rs b/tests/codegen-llvm/static-relocation-model-msvc.rs similarity index 100% rename from tests/codegen/static-relocation-model-msvc.rs rename to tests/codegen-llvm/static-relocation-model-msvc.rs diff --git a/tests/codegen/staticlib-external-inline-fns.rs b/tests/codegen-llvm/staticlib-external-inline-fns.rs similarity index 100% rename from tests/codegen/staticlib-external-inline-fns.rs rename to tests/codegen-llvm/staticlib-external-inline-fns.rs diff --git a/tests/codegen/step_by-overflow-checks.rs b/tests/codegen-llvm/step_by-overflow-checks.rs similarity index 100% rename from tests/codegen/step_by-overflow-checks.rs rename to tests/codegen-llvm/step_by-overflow-checks.rs diff --git a/tests/codegen/stores.rs b/tests/codegen-llvm/stores.rs similarity index 100% rename from tests/codegen/stores.rs rename to tests/codegen-llvm/stores.rs diff --git a/tests/codegen/string-push.rs b/tests/codegen-llvm/string-push.rs similarity index 100% rename from tests/codegen/string-push.rs rename to tests/codegen-llvm/string-push.rs diff --git a/tests/codegen/swap-large-types.rs b/tests/codegen-llvm/swap-large-types.rs similarity index 100% rename from tests/codegen/swap-large-types.rs rename to tests/codegen-llvm/swap-large-types.rs diff --git a/tests/codegen/swap-small-types.rs b/tests/codegen-llvm/swap-small-types.rs similarity index 100% rename from tests/codegen/swap-small-types.rs rename to tests/codegen-llvm/swap-small-types.rs diff --git a/tests/codegen/target-cpu-on-functions.rs b/tests/codegen-llvm/target-cpu-on-functions.rs similarity index 100% rename from tests/codegen/target-cpu-on-functions.rs rename to tests/codegen-llvm/target-cpu-on-functions.rs diff --git a/tests/codegen/target-feature-inline-closure.rs b/tests/codegen-llvm/target-feature-inline-closure.rs similarity index 100% rename from tests/codegen/target-feature-inline-closure.rs rename to tests/codegen-llvm/target-feature-inline-closure.rs diff --git a/tests/codegen/target-feature-negative-implication.rs b/tests/codegen-llvm/target-feature-negative-implication.rs similarity index 100% rename from tests/codegen/target-feature-negative-implication.rs rename to tests/codegen-llvm/target-feature-negative-implication.rs diff --git a/tests/codegen/target-feature-overrides.rs b/tests/codegen-llvm/target-feature-overrides.rs similarity index 100% rename from tests/codegen/target-feature-overrides.rs rename to tests/codegen-llvm/target-feature-overrides.rs diff --git a/tests/codegen/terminating-catchpad.rs b/tests/codegen-llvm/terminating-catchpad.rs similarity index 100% rename from tests/codegen/terminating-catchpad.rs rename to tests/codegen-llvm/terminating-catchpad.rs diff --git a/tests/codegen/thread-local.rs b/tests/codegen-llvm/thread-local.rs similarity index 100% rename from tests/codegen/thread-local.rs rename to tests/codegen-llvm/thread-local.rs diff --git a/tests/codegen/tied-features-strength.rs b/tests/codegen-llvm/tied-features-strength.rs similarity index 100% rename from tests/codegen/tied-features-strength.rs rename to tests/codegen-llvm/tied-features-strength.rs diff --git a/tests/codegen/to_vec.rs b/tests/codegen-llvm/to_vec.rs similarity index 100% rename from tests/codegen/to_vec.rs rename to tests/codegen-llvm/to_vec.rs diff --git a/tests/codegen/trailing_zeros.rs b/tests/codegen-llvm/trailing_zeros.rs similarity index 100% rename from tests/codegen/trailing_zeros.rs rename to tests/codegen-llvm/trailing_zeros.rs diff --git a/tests/codegen/transmute-optimized.rs b/tests/codegen-llvm/transmute-optimized.rs similarity index 100% rename from tests/codegen/transmute-optimized.rs rename to tests/codegen-llvm/transmute-optimized.rs diff --git a/tests/codegen/transmute-scalar.rs b/tests/codegen-llvm/transmute-scalar.rs similarity index 100% rename from tests/codegen/transmute-scalar.rs rename to tests/codegen-llvm/transmute-scalar.rs diff --git a/tests/codegen/try_question_mark_nop.rs b/tests/codegen-llvm/try_question_mark_nop.rs similarity index 100% rename from tests/codegen/try_question_mark_nop.rs rename to tests/codegen-llvm/try_question_mark_nop.rs diff --git a/tests/codegen/tune-cpu-on-functions.rs b/tests/codegen-llvm/tune-cpu-on-functions.rs similarity index 100% rename from tests/codegen/tune-cpu-on-functions.rs rename to tests/codegen-llvm/tune-cpu-on-functions.rs diff --git a/tests/codegen/tuple-layout-opt.rs b/tests/codegen-llvm/tuple-layout-opt.rs similarity index 100% rename from tests/codegen/tuple-layout-opt.rs rename to tests/codegen-llvm/tuple-layout-opt.rs diff --git a/tests/codegen/ub-checks.rs b/tests/codegen-llvm/ub-checks.rs similarity index 100% rename from tests/codegen/ub-checks.rs rename to tests/codegen-llvm/ub-checks.rs diff --git a/tests/codegen/unchecked-float-casts.rs b/tests/codegen-llvm/unchecked-float-casts.rs similarity index 100% rename from tests/codegen/unchecked-float-casts.rs rename to tests/codegen-llvm/unchecked-float-casts.rs diff --git a/tests/codegen/unchecked_shifts.rs b/tests/codegen-llvm/unchecked_shifts.rs similarity index 100% rename from tests/codegen/unchecked_shifts.rs rename to tests/codegen-llvm/unchecked_shifts.rs diff --git a/tests/codegen/uninhabited-transparent-return-abi.rs b/tests/codegen-llvm/uninhabited-transparent-return-abi.rs similarity index 100% rename from tests/codegen/uninhabited-transparent-return-abi.rs rename to tests/codegen-llvm/uninhabited-transparent-return-abi.rs diff --git a/tests/codegen/uninit-consts.rs b/tests/codegen-llvm/uninit-consts.rs similarity index 100% rename from tests/codegen/uninit-consts.rs rename to tests/codegen-llvm/uninit-consts.rs diff --git a/tests/codegen/uninit-repeat-in-aggregate.rs b/tests/codegen-llvm/uninit-repeat-in-aggregate.rs similarity index 100% rename from tests/codegen/uninit-repeat-in-aggregate.rs rename to tests/codegen-llvm/uninit-repeat-in-aggregate.rs diff --git a/tests/codegen/union-abi.rs b/tests/codegen-llvm/union-abi.rs similarity index 100% rename from tests/codegen/union-abi.rs rename to tests/codegen-llvm/union-abi.rs diff --git a/tests/codegen/union-aggregate.rs b/tests/codegen-llvm/union-aggregate.rs similarity index 100% rename from tests/codegen/union-aggregate.rs rename to tests/codegen-llvm/union-aggregate.rs diff --git a/tests/codegen/unwind-abis/aapcs-unwind-abi.rs b/tests/codegen-llvm/unwind-abis/aapcs-unwind-abi.rs similarity index 100% rename from tests/codegen/unwind-abis/aapcs-unwind-abi.rs rename to tests/codegen-llvm/unwind-abis/aapcs-unwind-abi.rs diff --git a/tests/codegen/unwind-abis/c-unwind-abi-panic-abort.rs b/tests/codegen-llvm/unwind-abis/c-unwind-abi-panic-abort.rs similarity index 100% rename from tests/codegen/unwind-abis/c-unwind-abi-panic-abort.rs rename to tests/codegen-llvm/unwind-abis/c-unwind-abi-panic-abort.rs diff --git a/tests/codegen/unwind-abis/c-unwind-abi.rs b/tests/codegen-llvm/unwind-abis/c-unwind-abi.rs similarity index 100% rename from tests/codegen/unwind-abis/c-unwind-abi.rs rename to tests/codegen-llvm/unwind-abis/c-unwind-abi.rs diff --git a/tests/codegen/unwind-abis/cdecl-unwind-abi.rs b/tests/codegen-llvm/unwind-abis/cdecl-unwind-abi.rs similarity index 100% rename from tests/codegen/unwind-abis/cdecl-unwind-abi.rs rename to tests/codegen-llvm/unwind-abis/cdecl-unwind-abi.rs diff --git a/tests/codegen/unwind-abis/fastcall-unwind-abi.rs b/tests/codegen-llvm/unwind-abis/fastcall-unwind-abi.rs similarity index 100% rename from tests/codegen/unwind-abis/fastcall-unwind-abi.rs rename to tests/codegen-llvm/unwind-abis/fastcall-unwind-abi.rs diff --git a/tests/codegen/unwind-abis/nounwind-on-stable-panic-abort.rs b/tests/codegen-llvm/unwind-abis/nounwind-on-stable-panic-abort.rs similarity index 100% rename from tests/codegen/unwind-abis/nounwind-on-stable-panic-abort.rs rename to tests/codegen-llvm/unwind-abis/nounwind-on-stable-panic-abort.rs diff --git a/tests/codegen/unwind-abis/nounwind.rs b/tests/codegen-llvm/unwind-abis/nounwind.rs similarity index 100% rename from tests/codegen/unwind-abis/nounwind.rs rename to tests/codegen-llvm/unwind-abis/nounwind.rs diff --git a/tests/codegen/unwind-abis/stdcall-unwind-abi.rs b/tests/codegen-llvm/unwind-abis/stdcall-unwind-abi.rs similarity index 100% rename from tests/codegen/unwind-abis/stdcall-unwind-abi.rs rename to tests/codegen-llvm/unwind-abis/stdcall-unwind-abi.rs diff --git a/tests/codegen/unwind-abis/system-unwind-abi.rs b/tests/codegen-llvm/unwind-abis/system-unwind-abi.rs similarity index 100% rename from tests/codegen/unwind-abis/system-unwind-abi.rs rename to tests/codegen-llvm/unwind-abis/system-unwind-abi.rs diff --git a/tests/codegen/unwind-abis/sysv64-unwind-abi.rs b/tests/codegen-llvm/unwind-abis/sysv64-unwind-abi.rs similarity index 100% rename from tests/codegen/unwind-abis/sysv64-unwind-abi.rs rename to tests/codegen-llvm/unwind-abis/sysv64-unwind-abi.rs diff --git a/tests/codegen/unwind-abis/thiscall-unwind-abi.rs b/tests/codegen-llvm/unwind-abis/thiscall-unwind-abi.rs similarity index 100% rename from tests/codegen/unwind-abis/thiscall-unwind-abi.rs rename to tests/codegen-llvm/unwind-abis/thiscall-unwind-abi.rs diff --git a/tests/codegen/unwind-abis/vectorcall-unwind-abi.rs b/tests/codegen-llvm/unwind-abis/vectorcall-unwind-abi.rs similarity index 100% rename from tests/codegen/unwind-abis/vectorcall-unwind-abi.rs rename to tests/codegen-llvm/unwind-abis/vectorcall-unwind-abi.rs diff --git a/tests/codegen/unwind-abis/win64-unwind-abi.rs b/tests/codegen-llvm/unwind-abis/win64-unwind-abi.rs similarity index 100% rename from tests/codegen/unwind-abis/win64-unwind-abi.rs rename to tests/codegen-llvm/unwind-abis/win64-unwind-abi.rs diff --git a/tests/codegen/unwind-and-panic-abort.rs b/tests/codegen-llvm/unwind-and-panic-abort.rs similarity index 100% rename from tests/codegen/unwind-and-panic-abort.rs rename to tests/codegen-llvm/unwind-and-panic-abort.rs diff --git a/tests/codegen/unwind-extern-exports.rs b/tests/codegen-llvm/unwind-extern-exports.rs similarity index 100% rename from tests/codegen/unwind-extern-exports.rs rename to tests/codegen-llvm/unwind-extern-exports.rs diff --git a/tests/codegen/unwind-extern-imports.rs b/tests/codegen-llvm/unwind-extern-imports.rs similarity index 100% rename from tests/codegen/unwind-extern-imports.rs rename to tests/codegen-llvm/unwind-extern-imports.rs diff --git a/tests/codegen/unwind-landingpad-cold.rs b/tests/codegen-llvm/unwind-landingpad-cold.rs similarity index 100% rename from tests/codegen/unwind-landingpad-cold.rs rename to tests/codegen-llvm/unwind-landingpad-cold.rs diff --git a/tests/codegen/unwind-landingpad-inline.rs b/tests/codegen-llvm/unwind-landingpad-inline.rs similarity index 100% rename from tests/codegen/unwind-landingpad-inline.rs rename to tests/codegen-llvm/unwind-landingpad-inline.rs diff --git a/tests/codegen/used_with_arg.rs b/tests/codegen-llvm/used_with_arg.rs similarity index 100% rename from tests/codegen/used_with_arg.rs rename to tests/codegen-llvm/used_with_arg.rs diff --git a/tests/codegen/var-names.rs b/tests/codegen-llvm/var-names.rs similarity index 100% rename from tests/codegen/var-names.rs rename to tests/codegen-llvm/var-names.rs diff --git a/tests/codegen/vec-as-ptr.rs b/tests/codegen-llvm/vec-as-ptr.rs similarity index 100% rename from tests/codegen/vec-as-ptr.rs rename to tests/codegen-llvm/vec-as-ptr.rs diff --git a/tests/codegen/vec-calloc.rs b/tests/codegen-llvm/vec-calloc.rs similarity index 100% rename from tests/codegen/vec-calloc.rs rename to tests/codegen-llvm/vec-calloc.rs diff --git a/tests/codegen/vec-in-place.rs b/tests/codegen-llvm/vec-in-place.rs similarity index 100% rename from tests/codegen/vec-in-place.rs rename to tests/codegen-llvm/vec-in-place.rs diff --git a/tests/codegen/vec-iter-collect-len.rs b/tests/codegen-llvm/vec-iter-collect-len.rs similarity index 100% rename from tests/codegen/vec-iter-collect-len.rs rename to tests/codegen-llvm/vec-iter-collect-len.rs diff --git a/tests/codegen/vec-iter.rs b/tests/codegen-llvm/vec-iter.rs similarity index 100% rename from tests/codegen/vec-iter.rs rename to tests/codegen-llvm/vec-iter.rs diff --git a/tests/codegen/vec-len-invariant.rs b/tests/codegen-llvm/vec-len-invariant.rs similarity index 100% rename from tests/codegen/vec-len-invariant.rs rename to tests/codegen-llvm/vec-len-invariant.rs diff --git a/tests/codegen/vec-optimizes-away.rs b/tests/codegen-llvm/vec-optimizes-away.rs similarity index 100% rename from tests/codegen/vec-optimizes-away.rs rename to tests/codegen-llvm/vec-optimizes-away.rs diff --git a/tests/codegen/vec-reserve-extend.rs b/tests/codegen-llvm/vec-reserve-extend.rs similarity index 100% rename from tests/codegen/vec-reserve-extend.rs rename to tests/codegen-llvm/vec-reserve-extend.rs diff --git a/tests/codegen/vec-shrink-panik.rs b/tests/codegen-llvm/vec-shrink-panik.rs similarity index 100% rename from tests/codegen/vec-shrink-panik.rs rename to tests/codegen-llvm/vec-shrink-panik.rs diff --git a/tests/codegen/vec-with-capacity.rs b/tests/codegen-llvm/vec-with-capacity.rs similarity index 100% rename from tests/codegen/vec-with-capacity.rs rename to tests/codegen-llvm/vec-with-capacity.rs diff --git a/tests/codegen/vec_pop_push_noop.rs b/tests/codegen-llvm/vec_pop_push_noop.rs similarity index 100% rename from tests/codegen/vec_pop_push_noop.rs rename to tests/codegen-llvm/vec_pop_push_noop.rs diff --git a/tests/codegen/vecdeque-drain.rs b/tests/codegen-llvm/vecdeque-drain.rs similarity index 100% rename from tests/codegen/vecdeque-drain.rs rename to tests/codegen-llvm/vecdeque-drain.rs diff --git a/tests/codegen/vecdeque-nonempty-get-no-panic.rs b/tests/codegen-llvm/vecdeque-nonempty-get-no-panic.rs similarity index 100% rename from tests/codegen/vecdeque-nonempty-get-no-panic.rs rename to tests/codegen-llvm/vecdeque-nonempty-get-no-panic.rs diff --git a/tests/codegen/vecdeque_no_panic.rs b/tests/codegen-llvm/vecdeque_no_panic.rs similarity index 100% rename from tests/codegen/vecdeque_no_panic.rs rename to tests/codegen-llvm/vecdeque_no_panic.rs diff --git a/tests/codegen/vecdeque_pop_push.rs b/tests/codegen-llvm/vecdeque_pop_push.rs similarity index 100% rename from tests/codegen/vecdeque_pop_push.rs rename to tests/codegen-llvm/vecdeque_pop_push.rs diff --git a/tests/codegen/virtual-call-attrs-issue-137646.rs b/tests/codegen-llvm/virtual-call-attrs-issue-137646.rs similarity index 100% rename from tests/codegen/virtual-call-attrs-issue-137646.rs rename to tests/codegen-llvm/virtual-call-attrs-issue-137646.rs diff --git a/tests/codegen/virtual-function-elimination-32bit.rs b/tests/codegen-llvm/virtual-function-elimination-32bit.rs similarity index 100% rename from tests/codegen/virtual-function-elimination-32bit.rs rename to tests/codegen-llvm/virtual-function-elimination-32bit.rs diff --git a/tests/codegen/virtual-function-elimination.rs b/tests/codegen-llvm/virtual-function-elimination.rs similarity index 100% rename from tests/codegen/virtual-function-elimination.rs rename to tests/codegen-llvm/virtual-function-elimination.rs diff --git a/tests/codegen/vtable-loads.rs b/tests/codegen-llvm/vtable-loads.rs similarity index 100% rename from tests/codegen/vtable-loads.rs rename to tests/codegen-llvm/vtable-loads.rs diff --git a/tests/codegen/vtable-upcast.rs b/tests/codegen-llvm/vtable-upcast.rs similarity index 100% rename from tests/codegen/vtable-upcast.rs rename to tests/codegen-llvm/vtable-upcast.rs diff --git a/tests/codegen/wasm_casts_trapping.rs b/tests/codegen-llvm/wasm_casts_trapping.rs similarity index 100% rename from tests/codegen/wasm_casts_trapping.rs rename to tests/codegen-llvm/wasm_casts_trapping.rs diff --git a/tests/codegen/wasm_exceptions.rs b/tests/codegen-llvm/wasm_exceptions.rs similarity index 100% rename from tests/codegen/wasm_exceptions.rs rename to tests/codegen-llvm/wasm_exceptions.rs diff --git a/tests/codegen/zip.rs b/tests/codegen-llvm/zip.rs similarity index 100% rename from tests/codegen/zip.rs rename to tests/codegen-llvm/zip.rs diff --git a/tests/codegen/zst-offset.rs b/tests/codegen-llvm/zst-offset.rs similarity index 100% rename from tests/codegen/zst-offset.rs rename to tests/codegen-llvm/zst-offset.rs diff --git a/tests/run-make/llvm-ident/rmake.rs b/tests/run-make/llvm-ident/rmake.rs index 47e6fc4de15b3..b4d30ee7bfbe9 100644 --- a/tests/run-make/llvm-ident/rmake.rs +++ b/tests/run-make/llvm-ident/rmake.rs @@ -27,7 +27,7 @@ fn main() { // Check LLVM IR files (including temporary outputs) have `!llvm.ident` // named metadata, reusing the related codegen test. - let llvm_ident_path = source_root().join("tests/codegen/llvm-ident.rs"); + let llvm_ident_path = source_root().join("tests/codegen-llvm/llvm-ident.rs"); let files = shallow_find_files(".", |path| has_extension(path, "ll")); for file in files { llvm_filecheck().input_file(file).arg(&llvm_ident_path).run(); diff --git a/tests/ui/abi/fixed_x18.rs b/tests/ui/abi/fixed_x18.rs index 09d163030335e..baf215ba9031d 100644 --- a/tests/ui/abi/fixed_x18.rs +++ b/tests/ui/abi/fixed_x18.rs @@ -1,5 +1,5 @@ // This tests that -Zfixed-x18 causes a compilation failure on targets other than aarch64. -// Behavior on aarch64 is tested by tests/codegen/fixed-x18.rs. +// Behavior on aarch64 is tested by tests/codegen-llvm/fixed-x18.rs. // //@ revisions: x64 i686 arm riscv32 riscv64 //@ dont-check-compiler-stderr diff --git a/triagebot.toml b/triagebot.toml index e34e4a88f42dd..162e244c0addf 100644 --- a/triagebot.toml +++ b/triagebot.toml @@ -304,7 +304,7 @@ trigger_files = [ # Tests "tests/assembly-llvm", "tests/auxiliary", - "tests/codegen", + "tests/codegen-llvm", "tests/codegen-units", "tests/COMPILER_TESTS.md", "tests/coverage", @@ -558,10 +558,10 @@ trigger_files = [ "src/doc/unstable-book/src/language-features/cfg-sanitize.md", "src/doc/unstable-book/src/language-features/cfi-encoding.md", "src/doc/unstable-book/src/language-features/no-sanitize.md", - "tests/codegen/sanitizer", - "tests/codegen/split-lto-unit.rs", - "tests/codegen/stack-probes-inline.rs", - "tests/codegen/stack-protector.rs", + "tests/codegen-llvm/sanitizer", + "tests/codegen-llvm/split-lto-unit.rs", + "tests/codegen-llvm/stack-probes-inline.rs", + "tests/codegen-llvm/stack-protector.rs", "tests/ui/sanitizer", "tests/ui/stack-protector" ] @@ -1183,16 +1183,16 @@ cc = ["@Urgau"] [mentions."src/doc/rustc/src/platform-support"] cc = ["@Noratrieb"] -[mentions."tests/codegen/sanitizer"] +[mentions."tests/codegen-llvm/sanitizer"] cc = ["@rcvalle"] -[mentions."tests/codegen/split-lto-unit.rs"] +[mentions."tests/codegen-llvm/split-lto-unit.rs"] cc = ["@rust-lang/project-exploit-mitigations", "@rcvalle"] -[mentions."tests/codegen/stack-probes-inline.rs"] +[mentions."tests/codegen-llvm/stack-probes-inline.rs"] cc = ["@rust-lang/project-exploit-mitigations", "@rcvalle"] -[mentions."tests/codegen/stack-protector.rs"] +[mentions."tests/codegen-llvm/stack-protector.rs"] cc = ["@rust-lang/project-exploit-mitigations", "@rcvalle"] [mentions."tests/ui/sanitizer"] From 6bfa00816d7e4dcb0aee9fe547bc75dfe59dc613 Mon Sep 17 00:00:00 2001 From: Guillaume Gomez Date: Mon, 21 Jul 2025 11:51:36 +0200 Subject: [PATCH 3/3] Only run `tests/assembly-*` and `tests/codegen-*` tests if they match the current codegen backend --- src/tools/compiletest/src/common.rs | 4 ++-- src/tools/compiletest/src/lib.rs | 19 ++++++++++++++++++- 2 files changed, 20 insertions(+), 3 deletions(-) diff --git a/src/tools/compiletest/src/common.rs b/src/tools/compiletest/src/common.rs index 12084fa0b15df..aceae3e3a3b9c 100644 --- a/src/tools/compiletest/src/common.rs +++ b/src/tools/compiletest/src/common.rs @@ -57,8 +57,8 @@ impl TestMode { string_enum! { #[derive(Clone, Copy, PartialEq, Debug)] pub enum TestSuite { - Assembly => "assembly", - Codegen => "codegen", + AssemblyLlvm => "assembly-llvm", + CodegenLlvm => "codegen-llvm", CodegenUnits => "codegen-units", Coverage => "coverage", CoverageRunRustdoc => "coverage-run-rustdoc", diff --git a/src/tools/compiletest/src/lib.rs b/src/tools/compiletest/src/lib.rs index 41bed8ed8a0a5..c712185733c68 100644 --- a/src/tools/compiletest/src/lib.rs +++ b/src/tools/compiletest/src/lib.rs @@ -31,7 +31,7 @@ use std::time::SystemTime; use std::{env, fs, vec}; use build_helper::git::{get_git_modified_files, get_git_untracked_files}; -use camino::{Utf8Path, Utf8PathBuf}; +use camino::{Utf8Component, Utf8Path, Utf8PathBuf}; use getopts::Options; use rayon::iter::{ParallelBridge, ParallelIterator}; use tracing::debug; @@ -799,6 +799,23 @@ fn collect_tests_from_dir( return Ok(TestCollector::new()); } + let mut components = dir.components().rev(); + if let Some(Utf8Component::Normal(last)) = components.next() + && let Some(("assembly" | "codegen", backend)) = last.split_once('-') + && let Some(Utf8Component::Normal(parent)) = components.next() + && parent == "tests" + && let Ok(backend) = CodegenBackend::try_from(backend) + && backend != cx.config.codegen_backend + { + // We ignore asm tests which don't match the current codegen backend. + warning!( + "Ignoring tests in `{dir}` because they don't match the configured codegen \ + backend (`{}`)", + cx.config.codegen_backend.as_str(), + ); + return Ok(TestCollector::new()); + } + // For run-make tests, a "test file" is actually a directory that contains an `rmake.rs`. if cx.config.mode == TestMode::RunMake { let mut collector = TestCollector::new();