[clang] Handle __declspec() attributes in using
[llvm-project.git] / clang / test / CodeGenOpenCL / amdgcn-non-temporal-store.cl
blob34938607a5e9c804e8b8620f72fe34f7f5ed2090
1 // REQUIRES: amdgpu-registered-target
2 // RUN: %clang_cc1 -triple amdgcn-unknown-unknown -S -emit-llvm -o - %s | FileCheck %s
3 // CHECK-LABEL: @test_non_temporal_store_kernel
4 // CHECK: store i32 0, ptr addrspace(1) %{{.*}}, align 4, !tbaa !{{.*}}, !nontemporal {{.*}}
6 kernel void test_non_temporal_store_kernel(global unsigned int* io) {
7 __builtin_nontemporal_store(0, io);