From: Alexey Bader Date: Wed, 29 Jun 2016 12:25:58 +0000 (+0000) Subject: [OpenCL] Fix typo in as_type test. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c0eaa43f90a1ff2a4022d74d22602bb4c19edce3;p=clang [OpenCL] Fix typo in as_type test. 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 --- diff --git a/test/CodeGenOpenCL/as_type.cl b/test/CodeGenOpenCL/as_type.cl index f43692e760..7fc3b02bdc 100644 --- a/test/CodeGenOpenCL/as_type.cl +++ b/test/CodeGenOpenCL/as_type.cl @@ -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) {