From df540cbf92d11cc43d269e033e79cff9ea61a7cb Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Fri, 6 Jun 2014 01:20:47 +0000 Subject: [PATCH] Update for llvm api change. llvm-svn: 210303 --- clang/test/CodeGenOpenCL/local.cl | 2 +- clang/test/CodeGenOpenCL/str_literals.cl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/clang/test/CodeGenOpenCL/local.cl b/clang/test/CodeGenOpenCL/local.cl index 309c31a..895c8fa 100644 --- a/clang/test/CodeGenOpenCL/local.cl +++ b/clang/test/CodeGenOpenCL/local.cl @@ -1,7 +1,7 @@ // 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; } diff --git a/clang/test/CodeGenOpenCL/str_literals.cl b/clang/test/CodeGenOpenCL/str_literals.cl index 78a9305..43c90f8 100644 --- a/clang/test/CodeGenOpenCL/str_literals.cl +++ b/clang/test/CodeGenOpenCL/str_literals.cl @@ -3,7 +3,7 @@ __constant char * __constant x = "hello world"; __constant char * __constant y = "hello world"; -// CHECK: addrspace(3) unnamed_addr constant +// CHECK: unnamed_addr addrspace(3) constant // CHECK-NOT: addrspace(3) unnamed_addr constant // CHECK: @x = addrspace(3) global i8 addrspace(3)* // CHECK: @y = addrspace(3) global i8 addrspace(3)* -- 2.7.4