
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.
10 lines
441 B
Plaintext
10 lines
441 B
Plaintext
// Check that we don't pass -mconstructor-aliases to CUDA device-side
|
|
// compilation, but we do pass it to host-side compilation.
|
|
|
|
// RUN: %clang -### --target=x86_64-linux-gnu --cuda-path=%S/Inputs/CUDA/usr/local/cuda %s 2>&1 | FileCheck %s
|
|
// CHECK: "-cc1"
|
|
// CHECK-NOT: "-fcuda-is-device" {{.*}}"-mconstructor-aliases"
|
|
// CHECK-NOT: "-mconstructor-aliases" {{.*}}"-fcuda-is-device"
|
|
// CHECK: "-cc1"
|
|
// CHECK-SAME: "-mconstructor-aliases"
|