aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGenCXX/assign-operator.cpp
diff options
context:
space:
mode:
authorChad Rosier <mcrosier@apple.com>2012-03-29 17:37:10 +0000
committerChad Rosier <mcrosier@apple.com>2012-03-29 17:37:10 +0000
commit649b4a1a9b5e6f768ca0cb84bd97b00f51083e15 (patch)
treebe93f7a52e5333506ec43793ef1efc220e652cb8 /test/CodeGenCXX/assign-operator.cpp
parentecae5965cf0c95a357e47227eeb2ec391672840d (diff)
Revert r153613 as it's causing large compile-time regressions on the nightly testers.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@153660 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGenCXX/assign-operator.cpp')
-rw-r--r--test/CodeGenCXX/assign-operator.cpp21
1 files changed, 0 insertions, 21 deletions
diff --git a/test/CodeGenCXX/assign-operator.cpp b/test/CodeGenCXX/assign-operator.cpp
index 00058a2ed5..e19df272c9 100644
--- a/test/CodeGenCXX/assign-operator.cpp
+++ b/test/CodeGenCXX/assign-operator.cpp
@@ -28,24 +28,3 @@ namespace test1 {
A<int> a;
}
-
-// PR12204
-namespace test2 {
- struct A {
- A() {} // make this non-POD to enable tail layout
- void *ptr;
- char c;
- };
-
- void test(A &out) {
- out = A();
- }
-}
-// CHECK: define void @_ZN5test24testERNS_1AE(
-// CHECK: [[OUT:%.*]] = alloca [[A:%.*]]*, align 8
-// CHECK-NEXT: [[TMP:%.*]] = alloca [[A]], align 8
-// CHECK: [[REF:%.*]] = load [[A]]** [[OUT]], align 8
-// CHECK-NEXT: call void @_ZN5test21AC1Ev([[A]]* [[TMP]])
-// CHECK-NEXT: [[T0:%.*]] = bitcast [[A]]* [[REF]] to i8*
-// CHECK-NEXT: [[T1:%.*]] = bitcast [[A]]* [[TMP]] to i8*
-// CHECK-NEXT: call void @llvm.memcpy.p0i8.p0i8.i64(i8* [[T0]], i8* [[T1]], i64 9, i32 8, i1 false)