mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-15 20:51:35 +00:00
6334a59454
Reviewers: sfantao, tra, yaxunl Subscribers: cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D68652 llvm-svn: 374097
12 lines
421 B
Plaintext
12 lines
421 B
Plaintext
// REQUIRES: clang-driver
|
|
// REQUIRES: x86-registered-target
|
|
// REQUIRES: amdgpu-registered-target
|
|
|
|
// RUN: %clang -### -x hip -nogpulib -target x86_64 -fsyntax-only %s 2>&1 | FileCheck %s
|
|
|
|
// Check that there are commands for both host- and device-side compilations.
|
|
//
|
|
// CHECK-DAG: clang{{.*}}" "-cc1" {{.*}} "-fcuda-is-device"
|
|
// CHECK-DAG: clang{{.*}}" "-cc1" "-triple" "x86_64"
|
|
// CHECK-NOT: clang-offload-bundler"
|