clang/test/Driver/amdgcn-toolchain-pic.cl
raw| 1 | // RUN: %clang -### --target=amdgcn-amd-amdhsa -mcpu=gfx803 -nogpulib %s 2>&1 | FileCheck %s |
| 2 | // RUN: %clang -### --target=amdgcn-amd-amdpal -mcpu=gfx803 %s 2>&1 | FileCheck %s |
| 3 | // RUN: %clang -### --target=amdgcn-amd-mesa3d -mcpu=gfx803 %s 2>&1 | FileCheck %s |
| 4 | |
| 5 | // CHECK: "-cc1"{{.*}} "-mrelocation-model" "pic" "-pic-level" "2" |