summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/blocks-seq.c
diff options
context:
space:
mode:
authorAnders Carlsson <andersca@mac.com>2009-09-10 01:32:12 +0000
committerAnders Carlsson <andersca@mac.com>2009-09-10 01:32:12 +0000
commit10f2c10b830a395f00d9f59194507a9d6ad21f03 (patch)
tree9e3cece05c5587e48179499198857ff19d8efc8d /clang/test/CodeGen/blocks-seq.c
parentf6b2404a84564ccba3f33f297ff5138626cdacbe (diff)
downloadbcm5719-llvm-10f2c10b830a395f00d9f59194507a9d6ad21f03.tar.gz
bcm5719-llvm-10f2c10b830a395f00d9f59194507a9d6ad21f03.zip
Make the forwarding member of block byref structs be a pointer to the block byref struct itself.
llvm-svn: 81423
Diffstat (limited to 'clang/test/CodeGen/blocks-seq.c')
-rw-r--r--clang/test/CodeGen/blocks-seq.c14
1 files changed, 6 insertions, 8 deletions
diff --git a/clang/test/CodeGen/blocks-seq.c b/clang/test/CodeGen/blocks-seq.c
index eac2acd3dd6..3ff241e3f6e 100644
--- a/clang/test/CodeGen/blocks-seq.c
+++ b/clang/test/CodeGen/blocks-seq.c
@@ -2,14 +2,12 @@
// builds with and without asserts. We need a better solution for this.
// RUN: clang-cc -fblocks -triple x86_64-apple-darwin10 -emit-llvm-bc -o - %s | opt -strip | llvm-dis > %t &&
-// RUN: grep '%7 = call i32 (...)\* @rhs()' %t | count 1 &&
-// RUN: grep '%8 = getelementptr inbounds %0\* %1, i32 0, i32 1' %t | count 1 &&
-// RUN: grep '%9 = bitcast i8\*\* %8 to %0\*\*' %t | count 1 &&
-// RUN: grep '%10 = load %0\*\* %9' %t | count 1 &&
-// RUN: grep '%12 = call i32 (...)\* @rhs()' %t | count 1 &&
-// RUN: grep '%13 = getelementptr inbounds %0\* %1, i32 0, i32 1' %t | count 1 &&
-// RUN: grep '%14 = bitcast i8\*\* %13 to %0\*\*' %t | count 1 &&
-// RUN: grep '%15 = load %0\*\* %14' %t | count 1
+// RUN: grep '%6 = call i32 (...)\* @rhs()' %t | count 1 &&
+// RUN: grep '%7 = getelementptr inbounds %0\* %1, i32 0, i32 1' %t | count 1 &&
+// RUN: grep '%8 = load %0\*\* %7' %t | count 1 &&
+// RUN: grep '%10 = call i32 (...)\* @rhs()' %t | count 1 &&
+// RUN: grep '%11 = getelementptr inbounds %0\* %1, i32 0, i32 1' %t | count 1 &&
+// RUN: grep '%12 = load %0\*\* %11' %t | count 1
int rhs();
OpenPOWER on IntegriCloud