• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// REQUIRES: clang-driver, x86-registered-target, amdgpu-registered-target
2
3// RUN: %clang -### -target x86_64-linux-gnu \
4// RUN:   --offload-arch=gfx1030 \
5// RUN:   --offload-arch=gfx1031 \
6// RUN:   -nogpuinc -nogpulib \
7// RUN:   %s 2>&1 | FileCheck %s
8
9// CHECK: {{"[^"]*clang[^"]*".* "-target-cpu" "gfx1030"}}
10// CHECK: {{"[^"]*clang[^"]*".* "-target-cpu" "gfx1031"}}
11