[hip] Refine `clang/test/CodeGenCUDA/amdgpu-kernel-arg-pointer-type.cu`
authorMichael Liao <michael.hliao@gmail.com>
Fri, 26 Jun 2020 03:54:03 +0000 (23:54 -0400)
committerMichael Liao <michael.hliao@gmail.com>
Fri, 26 Jun 2020 03:57:08 +0000 (23:57 -0400)
- Require target x86 being enabled as well.

clang/test/CodeGenCUDA/amdgpu-kernel-arg-pointer-type.cu

index 99284c0..2660a5f 100644 (file)
@@ -1,4 +1,6 @@
+// REQUIRES: x86-registered-target
 // REQUIRES: amdgpu-registered-target
+
 // RUN: %clang_cc1 -triple amdgcn-amd-amdhsa -fcuda-is-device -emit-llvm -x hip %s -o - | FileCheck --check-prefixes=COMMON,CHECK %s
 // RUN: %clang_cc1 -triple amdgcn-amd-amdhsa -fcuda-is-device -emit-llvm -x hip %s -disable-O0-optnone -o - | opt -S -O2 | FileCheck %s --check-prefixes=COMMON,OPT
 // RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -emit-llvm -x hip %s -o - | FileCheck -check-prefix=HOST %s