diff options
Diffstat (limited to 'clang/test/CodeGenOpenCL/byval.cl')
-rw-r--r-- | clang/test/CodeGenOpenCL/byval.cl | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/clang/test/CodeGenOpenCL/byval.cl b/clang/test/CodeGenOpenCL/byval.cl index 90afdfab525..592d96ffa66 100644 --- a/clang/test/CodeGenOpenCL/byval.cl +++ b/clang/test/CodeGenOpenCL/byval.cl @@ -1,6 +1,5 @@ // RUN: %clang_cc1 -emit-llvm -o - -triple amdgcn %s | FileCheck %s // RUN: %clang_cc1 -emit-llvm -o - -triple amdgcn---opencl %s | FileCheck %s -// RUN: %clang_cc1 -emit-llvm -o - -triple amdgcn---amdgizcl %s | FileCheck %s -check-prefix=AMDGIZ struct A { int x[100]; @@ -10,10 +9,8 @@ int f(struct A a); int g() { struct A a; - // CHECK: call i32 @f(%struct.A* byval{{.*}}%a) - // AMDGIZ: call i32 @f(%struct.A addrspace(5)* byval{{.*}}%a) + // CHECK: call i32 @f(%struct.A addrspace(5)* byval{{.*}}%a) return f(a); } -// CHECK: declare i32 @f(%struct.A* byval{{.*}}) -// AMDGIZ: declare i32 @f(%struct.A addrspace(5)* byval{{.*}}) +// CHECK: declare i32 @f(%struct.A addrspace(5)* byval{{.*}}) |