summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenObjC
diff options
context:
space:
mode:
authorAkira Hatanaka <ahatanaka@apple.com>2018-04-16 19:53:59 +0000
committerAkira Hatanaka <ahatanaka@apple.com>2018-04-16 19:53:59 +0000
commitd55675d068cf7e665a0b70207c1a5d4f62b6bfdf (patch)
treeed0bde051b2c4993233509f80f0b4c04c82ce571 /clang/test/CodeGenObjC
parenta3b5f71eaa924f71321fb989d727a3a6365ba557 (diff)
downloadbcm5719-llvm-d55675d068cf7e665a0b70207c1a5d4f62b6bfdf.tar.gz
bcm5719-llvm-d55675d068cf7e665a0b70207c1a5d4f62b6bfdf.zip
Revert "[CodeGen] Fix a crash that occurs when a non-trivial C struct with a"
This reverts commit r330151, which caused bots to fail. llvm-svn: 330153
Diffstat (limited to 'clang/test/CodeGenObjC')
-rw-r--r--clang/test/CodeGenObjC/strong-in-c-struct.m18
1 files changed, 0 insertions, 18 deletions
diff --git a/clang/test/CodeGenObjC/strong-in-c-struct.m b/clang/test/CodeGenObjC/strong-in-c-struct.m
index 393a328ca8d..6310943d2ef 100644
--- a/clang/test/CodeGenObjC/strong-in-c-struct.m
+++ b/clang/test/CodeGenObjC/strong-in-c-struct.m
@@ -70,11 +70,6 @@ typedef struct {
volatile char i6;
} Bitfield1;
-typedef struct {
- id x;
- volatile int a[16];
-} VolatileArray ;
-
#endif
#ifdef USESTRUCT
@@ -545,17 +540,4 @@ void test_strong_in_union() {
U t;
}
-// CHECK: define void @test_copy_constructor_VolatileArray(
-// CHECK: call void @__copy_constructor_8_8_s0_AB8s4n16_tv64w32_AE(
-
-// CHECK: define linkonce_odr hidden void @__copy_constructor_8_8_s0_AB8s4n16_tv64w32_AE(
-// CHECK: %[[V12:.*]] = bitcast i8** %{{.*}} to i32*
-// CHECK: %[[V13:.*]] = bitcast i8** %{{.*}} to i32*
-// CHECK: %[[V14:.*]] = load volatile i32, i32* %[[V13]], align 4
-// CHECK: store volatile i32 %[[V14]], i32* %[[V12]], align 4
-
-void test_copy_constructor_VolatileArray(VolatileArray *a) {
- VolatileArray t = *a;
-}
-
#endif /* USESTRUCT */
OpenPOWER on IntegriCloud