clang/test/CodeGenOpenCL/amdgcn-non-temporal-store.cl
raw| 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 {{.*}} |
| 5 | |
| 6 | kernel void test_non_temporal_store_kernel(global unsigned int* io) { |
| 7 | __builtin_nontemporal_store(0, io); |
| 8 | } |