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.
14 lines
643 B
Plaintext
14 lines
643 B
Plaintext
// By default FE assumes -fhip-new-launch-api.
|
|
|
|
// RUN: %clang -### --target=x86_64-unknown-linux-gnu -offload-arch=gfx906 \
|
|
// RUN: -nogpulib -nogpuinc %s 2>&1 | FileCheck -check-prefixes=NEW %s
|
|
// NEW: "-fhip-new-launch-api"
|
|
|
|
// RUN: %clang -### --target=x86_64-unknown-linux-gnu -offload-arch=gfx906 %s \
|
|
// RUN: -nogpulib -nogpuinc -fhip-new-launch-api 2>&1 | FileCheck -check-prefixes=NEW %s
|
|
// NEW: "-fhip-new-launch-api"
|
|
|
|
// RUN: %clang -### --target=x86_64-unknown-linux-gnu -offload-arch=gfx906 %s \
|
|
// RUN: -nogpulib -nogpuinc -fno-hip-new-launch-api 2>&1 | FileCheck -check-prefixes=OLD %s
|
|
// OLD-NOT: "-fhip-new-launch-api"
|