forked from OSchip/llvm-project
this started failing because a GEP was constant folded,
improve the robustness of the test. llvm-svn: 49618
This commit is contained in:
parent
cc9709cff4
commit
d71f83a8cb
|
@ -1,4 +1,6 @@
|
|||
// RUN: clang -emit-llvm < %s 2>&1 | grep 'addrspace(1)' | count 6
|
||||
// RUN: clang -emit-llvm < %s 2>&1 | grep '@foo.*global.*addrspace(1)'
|
||||
// RUN: clang -emit-llvm < %s 2>&1 | grep '@ban.*global.*addrspace(1)'
|
||||
// RUN: clang -emit-llvm < %s 2>&1 | grep 'load.*addrspace(1)' | count 2
|
||||
int foo __attribute__((address_space(1)));
|
||||
int ban[10] __attribute__((address_space(1)));
|
||||
|
||||
|
|
Loading…
Reference in New Issue