From 42f6941e34cce2b3770c5bd0aafd97efc16898bb Mon Sep 17 00:00:00 2001 From: Pekka Jaaskelainen Date: Mon, 14 Nov 2016 13:14:38 +0000 Subject: [PATCH] Fix r286819 (accidentally patched multiple times. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@286821 91177308-0d34-0410-b5e6-96231b3b80d8 --- .../CodeGenOpenCL/kernel-arg-info-single-as.cl | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/test/CodeGenOpenCL/kernel-arg-info-single-as.cl b/test/CodeGenOpenCL/kernel-arg-info-single-as.cl index 34800dc802..595c97464e 100644 --- a/test/CodeGenOpenCL/kernel-arg-info-single-as.cl +++ b/test/CodeGenOpenCL/kernel-arg-info-single-as.cl @@ -7,21 +7,3 @@ kernel void foo(__global int * G, __constant int *C, __local int *L) { } // CHECK: !kernel_arg_addr_space ![[MD123:[0-9]+]] // CHECK: ![[MD123]] = !{i32 1, i32 2, i32 3} -// Test that the kernel argument info always refers to SPIR address spaces, -// even if the target has only one address space like x86_64 does. -// RUN: %clang_cc1 %s -cl-std=CL2.0 -emit-llvm -o - -triple x86_64-unknown-unknown -cl-kernel-arg-info | FileCheck %s - -kernel void foo(__global int * G, __constant int *C, __local int *L) { - *G = *C + *L; -} -// CHECK: !kernel_arg_addr_space ![[MD123:[0-9]+]] -// CHECK: ![[MD123]] = !{i32 1, i32 2, i32 3} -// Test that the kernel argument info always refers to SPIR address spaces, -// even if the target has only one address space like x86_64 does. -// RUN: %clang_cc1 %s -cl-std=CL2.0 -emit-llvm -o - -triple x86_64-unknown-unknown -cl-kernel-arg-info | FileCheck %s - -kernel void foo(__global int * G, __constant int *C, __local int *L) { - *G = *C + *L; -} -// CHECK: !kernel_arg_addr_space ![[MD123:[0-9]+]] -// CHECK: ![[MD123]] = !{i32 1, i32 2, i32 3} -- 2.40.0