r222853 - OpenCL: fix test for lack of names in release builds
Tim Northover
tnorthover at apple.com
Wed Nov 26 14:33:04 PST 2014
Author: tnorthover
Date: Wed Nov 26 16:33:04 2014
New Revision: 222853
URL: http://llvm.org/viewvc/llvm-project?rev=222853&view=rev
Log:
OpenCL: fix test for lack of names in release builds
Modified:
cfe/trunk/test/CodeGenOpenCL/address-spaces-conversions.cl
Modified: cfe/trunk/test/CodeGenOpenCL/address-spaces-conversions.cl
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenOpenCL/address-spaces-conversions.cl?rev=222853&r1=222852&r2=222853&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenOpenCL/address-spaces-conversions.cl (original)
+++ cfe/trunk/test/CodeGenOpenCL/address-spaces-conversions.cl Wed Nov 26 16:33:04 2014
@@ -15,8 +15,8 @@ void test(global int *arg_glob, generic
(global int *)arg_glob; // explicit cast in the same address space
// CHECK-NOT: %{{[0-9]+}} = addrspacecast i32 addrspace(1)* %{{[0-9]+}} to i32 addrspace(1)*
var_priv = arg_gen - arg_glob; // arithmetic operation
- // CHECK: %sub.ptr.lhs.cast = ptrtoint i32 addrspace(4)* %6 to i64
- // CHECK: %sub.ptr.rhs.cast = ptrtoint i32 addrspace(1)* %7 to i64
+ // CHECK: %{{.*}} = ptrtoint i32 addrspace(4)* %{{.*}} to i64
+ // CHECK: %{{.*}} = ptrtoint i32 addrspace(1)* %{{.*}} to i64
var_priv = arg_gen > arg_glob; // comparison
// CHECK: %{{[0-9]+}} = addrspacecast i32 addrspace(1)* %{{[0-9]+}} to i32 addrspace(4)*
}
More information about the cfe-commits
mailing list