[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git] / clang / test / CodeGenOpenCL / amdgcn-non-temporal-store.cl
blobc8fe43cf8d03af7486f111bf47bea374c5f110b1
1 // REQUIRES: amdgpu-registered-target
2 // RUN: %clang_cc1 -triple amdgcn-unknown-unknown -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);