Mark tests as requiring AMDGPU target
This commit is contained in:
parent
0b8471e91b
commit
e345b45bf1
|
@ -3,6 +3,8 @@
|
|||
// RUN: %clang_cc1 -O0 -cl-std=CL2.0 -triple amdgcn-amd-amdhsa -target-cpu gfx810 \
|
||||
// RUN: -S -o - %s | FileCheck -check-prefix=GFX8 %s
|
||||
|
||||
// REQUIRES: amdgpu-registered-target
|
||||
|
||||
// CHECK-LABEL: test_fadd_local
|
||||
// CHECK: call float @llvm.amdgcn.ds.fadd.f32(float addrspace(3)* %{{.*}}, float %{{.*}}, i32 0, i32 0, i1 false)
|
||||
// GFX8-LABEL: test_fadd_local$local:
|
||||
|
|
|
@ -4,6 +4,8 @@
|
|||
// RUN: %clang_cc1 -O0 -cl-std=CL2.0 -triple amdgcn-amd-amdhsa -target-cpu gfx90a \
|
||||
// RUN: -S -o - %s | FileCheck -check-prefix=GFX90A %s
|
||||
|
||||
// REQUIRES: amdgpu-registered-target
|
||||
|
||||
typedef half __attribute__((ext_vector_type(2))) half2;
|
||||
|
||||
// CHECK-LABEL: test_global_add_f64
|
||||
|
|
Loading…
Reference in a new issue