Update for llvm api change.

llvm-svn: 210303
This commit is contained in:
Rafael Espindola 2014-06-06 01:20:47 +00:00
parent 42a4c9f9e0
commit df540cbf92
2 changed files with 2 additions and 2 deletions

View File

@ -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;
}

View File

@ -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)*