]> granicus.if.org Git - clang/commitdiff
[OpenCL] Fix typo in as_type test.
authorAlexey Bader <aleksey.bader@mail.ru>
Wed, 29 Jun 2016 12:25:58 +0000 (12:25 +0000)
committerAlexey Bader <aleksey.bader@mail.ru>
Wed, 29 Jun 2016 12:25:58 +0000 (12:25 +0000)
Reset astype variable in f6 function to avoid matching with wrong value from f5 function.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@274120 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGenOpenCL/as_type.cl

index f43692e7606828341a054e6122f3efda63ac240c..7fc3b02bdc757653abea0862f6f2a9edd59a243c 100644 (file)
@@ -44,7 +44,7 @@ int f5(char3 x) {
 }
 
 //CHECK: define spir_func i32 @f6(<4 x i8> %[[x:.*]])
-//CHECK: %[[astype]] = bitcast <4 x i8> %[[x]] to i32
+//CHECK: %[[astype:.*]] = bitcast <4 x i8> %[[x]] to i32
 //CHECK-NOT: shufflevector
 //CHECK: ret i32 %[[astype]]
 int f6(char4 x) {