
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.
11 lines
491 B
Plaintext
11 lines
491 B
Plaintext
// RUN: %clang --target=i386-pc-windows-msvc --cuda-gpu-arch=gfx906 -nogpulib -nogpuinc \
|
|
// RUN: --cuda-device-only %s -### 2>&1 | FileCheck --check-prefix=DEV %s
|
|
// RUN: %clang --target=i386-pc-windows-msvc --cuda-gpu-arch=gfx906 -nogpulib -nogpuinc \
|
|
// RUN: --cuda-host-only %s -### 2>&1 | FileCheck --check-prefix=HOST %s
|
|
|
|
// DEV: "-cc1" "-triple" "amdgcn-amd-amdhsa"
|
|
// DEV-SAME: "-fno-autolink"
|
|
|
|
// HOST: "-cc1" "-triple" "i386-pc-windows-msvc{{.*}}"
|
|
// HOST-NOT: "-fno-autolink"
|