projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
711028f
)
OpenCL: Add -ffake-address-space-map to a test
author
Tom Stellard
<thomas.stellard@amd.com>
Thu, 16 Oct 2014 15:29:17 +0000
(15:29 +0000)
committer
Tom Stellard
<thomas.stellard@amd.com>
Thu, 16 Oct 2014 15:29:17 +0000
(15:29 +0000)
The ensures there is an explicit address space id in the output.
llvm-svn: 219928
clang/test/SemaOpenCL/extern.cl
patch
|
blob
|
history
diff --git
a/clang/test/SemaOpenCL/extern.cl
b/clang/test/SemaOpenCL/extern.cl
index
ee5e072
..
5b88d70
100644
(file)
--- a/
clang/test/SemaOpenCL/extern.cl
+++ b/
clang/test/SemaOpenCL/extern.cl
@@
-1,7
+1,7
@@
-// RUN: %clang_cc1 -x cl -cl-std=CL1.2 -emit-llvm %s -o - -verify | FileCheck %s
+// RUN: %clang_cc1 -x cl -cl-std=CL1.2 -emit-llvm
-ffake-address-space-map
%s -o - -verify | FileCheck %s
// expected-no-diagnostics
-// CHECK: @foo = external global float
+// CHECK: @foo = external
addrspace(3)
global float
extern constant float foo;
kernel void test(global float* buf) {