diff options
Diffstat (limited to 'test/CodeGenOpenCL/local.cl')
-rw-r--r-- | test/CodeGenOpenCL/local.cl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGenOpenCL/local.cl b/test/CodeGenOpenCL/local.cl index b5c67d9af9c7..895c8fa2717d 100644 --- a/test/CodeGenOpenCL/local.cl +++ b/test/CodeGenOpenCL/local.cl @@ -1,7 +1,7 @@ -// RUN: %clang_cc1 %s -ffake-address-space-map -faddress-space-map-mangling=no -emit-llvm -o - | FileCheck %s +// RUN: %clang_cc1 %s -ffake-address-space-map -faddress-space-map-mangling=no -triple %itanium_abi_triple -emit-llvm -o - | FileCheck %s __kernel void foo(void) { - // CHECK: @foo.i = internal addrspace(2) + // CHECK: @foo.i = internal unnamed_addr addrspace(2) __local int i; ++i; } |