r210303 - Update for llvm api change.
Rafael Espindola
rafael.espindola at gmail.com
Thu Jun 5 18:20:48 PDT 2014
Author: rafael
Date: Thu Jun 5 20:20:47 2014
New Revision: 210303
URL: http://llvm.org/viewvc/llvm-project?rev=210303&view=rev
Log:
Update for llvm api change.
Modified:
cfe/trunk/test/CodeGenOpenCL/local.cl
cfe/trunk/test/CodeGenOpenCL/str_literals.cl
Modified: cfe/trunk/test/CodeGenOpenCL/local.cl
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenOpenCL/local.cl?rev=210303&r1=210302&r2=210303&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenOpenCL/local.cl (original)
+++ cfe/trunk/test/CodeGenOpenCL/local.cl Thu Jun 5 20:20:47 2014
@@ -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;
}
Modified: cfe/trunk/test/CodeGenOpenCL/str_literals.cl
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenOpenCL/str_literals.cl?rev=210303&r1=210302&r2=210303&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenOpenCL/str_literals.cl (original)
+++ cfe/trunk/test/CodeGenOpenCL/str_literals.cl Thu Jun 5 20:20:47 2014
@@ -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)*
More information about the cfe-commits
mailing list