[all-commits] [llvm/llvm-project] 12949c: [Driver] Remove a bunch of unnecessary REQUIRES co...

Paul T Robinson via All-commits all-commits at lists.llvm.org
Mon Jun 3 06:32:38 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 12949c952c4fbad776a860c003ccf176973278a0
      https://github.com/llvm/llvm-project/commit/12949c952c4fbad776a860c003ccf176973278a0
  Author: Paul T Robinson <paul.robinson at sony.com>
  Date:   2024-06-03 (Mon, 03 Jun 2024)

  Changed paths:
    M clang/test/Driver/aarch64-outliner.c
    M clang/test/Driver/amdgcn-gz-options.cl
    M clang/test/Driver/amdgpu-hip-system-arch.c
    M clang/test/Driver/amdgpu-invalid-target-id.s
    M clang/test/Driver/amdgpu-macros.cl
    M clang/test/Driver/amdgpu-openmp-system-arch-fail.c
    M clang/test/Driver/amdgpu-openmp-toolchain.c
    M clang/test/Driver/arm-float-abi-runtime-path.c
    M clang/test/Driver/arm-float-abi.c
    M clang/test/Driver/arm-machine-outliner.c
    M clang/test/Driver/cl-options.cu
    M clang/test/Driver/clang-offload-bundler-zlib.c
    M clang/test/Driver/clang-offload-bundler-zstd.c
    M clang/test/Driver/compress-noias.c
    M clang/test/Driver/cuda-arch-translation.cu
    M clang/test/Driver/cuda-bad-arch.cu
    M clang/test/Driver/cuda-bail-out.cu
    M clang/test/Driver/cuda-bindings.cu
    M clang/test/Driver/cuda-constructor-alias.cu
    M clang/test/Driver/cuda-cross-compiling.c
    M clang/test/Driver/cuda-detect-path.cu
    M clang/test/Driver/cuda-detect.cu
    M clang/test/Driver/cuda-external-tools.cu
    M clang/test/Driver/cuda-macosx.cu
    M clang/test/Driver/cuda-march.cu
    M clang/test/Driver/cuda-omp-unsupported-debug-options.cu
    M clang/test/Driver/cuda-openmp-driver.cu
    M clang/test/Driver/cuda-options.cu
    M clang/test/Driver/cuda-output-asm.cu
    M clang/test/Driver/cuda-phases.cu
    M clang/test/Driver/cuda-ptxas-path.cu
    M clang/test/Driver/cuda-version-check.cu
    M clang/test/Driver/cuda-windows.cu
    M clang/test/Driver/driverkit-arm64.c
    M clang/test/Driver/driverkit-arm64e.c
    M clang/test/Driver/driverkit-cplusplus.cpp
    M clang/test/Driver/driverkit-exceptions.cpp
    M clang/test/Driver/driverkit-path.c
    M clang/test/Driver/driverkit-rtti.cpp
    M clang/test/Driver/driverkit-target-cpu.c
    M clang/test/Driver/dwarf-target-version-clamp.cu
    M clang/test/Driver/elfiamcu-header-search.c
    M clang/test/Driver/global-isel.c
    M clang/test/Driver/gpu-libc-headers.c
    M clang/test/Driver/hexagon-toolchain-elf.c
    M clang/test/Driver/hip-autolink.hip
    M clang/test/Driver/hip-binding.hip
    M clang/test/Driver/hip-code-object-version.hip
    M clang/test/Driver/hip-cuid-hash.hip
    M clang/test/Driver/hip-cuid.hip
    M clang/test/Driver/hip-default-gpu-arch.hip
    M clang/test/Driver/hip-device-compile.hip
    M clang/test/Driver/hip-device-libs.hip
    M clang/test/Driver/hip-fpie-option.hip
    M clang/test/Driver/hip-gsplit-dwarf-options.hip
    M clang/test/Driver/hip-gz-options.hip
    M clang/test/Driver/hip-host-cpu-features.hip
    M clang/test/Driver/hip-include-path.hip
    M clang/test/Driver/hip-inputs.hip
    M clang/test/Driver/hip-invalid-target-id.hip
    M clang/test/Driver/hip-launch-api.hip
    M clang/test/Driver/hip-link-bc-to-bc.hip
    M clang/test/Driver/hip-link-bundle-archive.hip
    M clang/test/Driver/hip-link-save-temps.hip
    M clang/test/Driver/hip-link-static-library.hip
    M clang/test/Driver/hip-no-device-libs.hip
    M clang/test/Driver/hip-offload-arch.hip
    M clang/test/Driver/hip-offload-compress-zlib.hip
    M clang/test/Driver/hip-offload-compress-zstd.hip
    M clang/test/Driver/hip-options.hip
    M clang/test/Driver/hip-output-file-name.hip
    M clang/test/Driver/hip-phases.hip
    M clang/test/Driver/hip-printf.hip
    M clang/test/Driver/hip-rdc-device-only.hip
    M clang/test/Driver/hip-sanitize-options.hip
    M clang/test/Driver/hip-save-temps.hip
    M clang/test/Driver/hip-std.hip
    M clang/test/Driver/hip-syntax-only.hip
    M clang/test/Driver/hip-target-id.hip
    M clang/test/Driver/hip-toolchain-device-only.hip
    M clang/test/Driver/hip-toolchain-dwarf.hip
    M clang/test/Driver/hip-toolchain-features.hip
    M clang/test/Driver/hip-toolchain-mllvm.hip
    M clang/test/Driver/hip-toolchain-no-rdc.hip
    M clang/test/Driver/hip-toolchain-opt.hip
    M clang/test/Driver/hip-toolchain-rdc-separate.hip
    M clang/test/Driver/hip-toolchain-rdc-static-lib.hip
    M clang/test/Driver/hip-toolchain-rdc.hip
    M clang/test/Driver/hip-unbundle-preproc.hipi
    M clang/test/Driver/hip-wavefront-size.hip
    M clang/test/Driver/hip-windows-filename.hip
    M clang/test/Driver/hipspv-device-libs.hip
    M clang/test/Driver/hipspv-pass-plugin.hip
    M clang/test/Driver/hipspv-toolchain-rdc.hip
    M clang/test/Driver/hipspv-toolchain.hip
    M clang/test/Driver/indirect-tls-seg-refs.c
    M clang/test/Driver/invalid-offload-options.cpp
    M clang/test/Driver/invalid-target-id.cl
    M clang/test/Driver/lto.cu
    M clang/test/Driver/m68k-features.cpp
    M clang/test/Driver/mbackchain.c
    M clang/test/Driver/mips-abi.c
    M clang/test/Driver/mips-abicalls-warning.c
    M clang/test/Driver/mips-cs.cpp
    M clang/test/Driver/mips-fsf.cpp
    M clang/test/Driver/mips-gpopt-warning.c
    M clang/test/Driver/mips-img-v2.cpp
    M clang/test/Driver/mips-img.cpp
    M clang/test/Driver/mips-indirect-branch.c
    M clang/test/Driver/mips-mti-linux.c
    M clang/test/Driver/msan.c
    M clang/test/Driver/nvptx-cuda-system-arch.c
    M clang/test/Driver/openmp-offload-headers.c
    M clang/test/Driver/openmp-offload-infer.c
    M clang/test/Driver/openmp-offload-jit.c
    M clang/test/Driver/openmp-offload.c
    M clang/test/Driver/openmp-system-arch.c
    M clang/test/Driver/ppc-dependent-options.cpp
    M clang/test/Driver/ppc-float-abi-warning.cpp
    M clang/test/Driver/ppc-unsupported.c
    M clang/test/Driver/riscv32-toolchain-extra.c
    M clang/test/Driver/riscv64-toolchain-extra.c
    M clang/test/Driver/rocm-detect.cl
    M clang/test/Driver/rocm-detect.hip
    M clang/test/Driver/rocm-device-libs.cl
    M clang/test/Driver/save-temps.c
    M clang/test/Driver/sysroot.c
    M clang/test/Driver/target-id-macros.cl
    M clang/test/Driver/target-id.cl
    M clang/test/Driver/thinlto.cu
    M clang/test/Driver/tsan.c
    M clang/test/Driver/ve-toolchain.c
    M clang/test/Driver/ve-toolchain.cpp

  Log Message:
  -----------
  [Driver] Remove a bunch of unnecessary REQUIRES constraints (#94055)

Removed foo-registered-target constraints from a bunch of tests, because
mostly the driver doesn't need to have a target availabile. I ran
check-clang-driver using a build with only the XCore target, and these
all passed.

There are ~50 tests that still have foo-registered-target, and it looks
like most of them are either doing codegen when they don't need to, or
don't really belong in the Driver tests. But that's a task for another
day.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list