summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/block-byref-aggr.c
diff options
context:
space:
mode:
authorAkira Hatanaka <ahatanaka@apple.com>2018-10-01 20:29:34 +0000
committerAkira Hatanaka <ahatanaka@apple.com>2018-10-01 20:29:34 +0000
commit31974847014eaad83ed15d3f385e3f761f7cfe4a (patch)
tree314b7fb6684ec4fe863bfc1c224f6977dd7f3d45 /clang/test/CodeGen/block-byref-aggr.c
parent97e0f52642565e843decca34894834787515e251 (diff)
downloadbcm5719-llvm-31974847014eaad83ed15d3f385e3f761f7cfe4a.tar.gz
bcm5719-llvm-31974847014eaad83ed15d3f385e3f761f7cfe4a.zip
Revert r343518.
Bots are still failing. http://lab.llvm.org:8011/builders/sanitizer-x86_64-linux-fast/builds/24420 http://lab.llvm.org:8011/builders/llvm-clang-x86_64-expensive-checks-win/builds/12958 llvm-svn: 343531
Diffstat (limited to 'clang/test/CodeGen/block-byref-aggr.c')
-rw-r--r--clang/test/CodeGen/block-byref-aggr.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/clang/test/CodeGen/block-byref-aggr.c b/clang/test/CodeGen/block-byref-aggr.c
index db105768993..962f100638f 100644
--- a/clang/test/CodeGen/block-byref-aggr.c
+++ b/clang/test/CodeGen/block-byref-aggr.c
@@ -9,13 +9,11 @@ Agg makeAgg(void);
// cause a block copy. rdar://9309454
void test0() {
__block Agg a = {100};
- ^{ (void)a; };
a = makeAgg();
}
// CHECK-LABEL: define void @test0()
// CHECK: [[A:%.*]] = alloca [[BYREF:%.*]], align 8
-// CHECK-NEXT: alloca <{ i8*, i32, i32, i8*, %{{.*}}*, i8* }>, align 8
// CHECK-NEXT: [[TEMP:%.*]] = alloca [[AGG]], align 4
// CHECK: [[RESULT:%.*]] = call i32 @makeAgg()
// CHECK-NEXT: [[T0:%.*]] = getelementptr inbounds [[AGG]], [[AGG]]* [[TEMP]], i32 0, i32 0
@@ -37,13 +35,11 @@ void test0() {
// rdar://11757470
void test1() {
__block Agg a, b;
- ^{ (void)a; (void)b; };
a = b = makeAgg();
}
// CHECK-LABEL: define void @test1()
// CHECK: [[A:%.*]] = alloca [[A_BYREF:%.*]], align 8
// CHECK-NEXT: [[B:%.*]] = alloca [[B_BYREF:%.*]], align 8
-// CHECK-NEXT: alloca <{ i8*, i32, i32, i8*, %{{.*}}*, i8*, i8* }>, align 8
// CHECK-NEXT: [[TEMP:%.*]] = alloca [[AGG]], align 4
// CHECK: [[RESULT:%.*]] = call i32 @makeAgg()
// CHECK-NEXT: [[T0:%.*]] = getelementptr inbounds [[AGG]], [[AGG]]* [[TEMP]], i32 0, i32 0
OpenPOWER on IntegriCloud