summaryrefslogtreecommitdiffstats
path: root/test/CodeGenCXX/vla-consruct.cpp
diff options
context:
space:
mode:
authorSander de Smalen <sander.desmalen@arm.com>2018-02-01 12:27:13 +0000
committerSander de Smalen <sander.desmalen@arm.com>2018-02-01 12:27:13 +0000
commit294a4f68ffd3bfbd9cde07f3c0b37f37077c66c5 (patch)
tree70701aadb00355ee9d57c1dea65ad8e693b11b9e /test/CodeGenCXX/vla-consruct.cpp
parent835a31e2eff12ee909b131e07a44e0b8558d801a (diff)
Reverting patch rL323952 due to build errors that I
haven't encountered in local builds. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@323956 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGenCXX/vla-consruct.cpp')
-rw-r--r--test/CodeGenCXX/vla-consruct.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/test/CodeGenCXX/vla-consruct.cpp b/test/CodeGenCXX/vla-consruct.cpp
index 87191fe99d..fd8314a5d7 100644
--- a/test/CodeGenCXX/vla-consruct.cpp
+++ b/test/CodeGenCXX/vla-consruct.cpp
@@ -21,8 +21,6 @@ void test(int n) {
// CHECK: define void {{.*test.*}}(i32 [[n:%.+]]) #
// CHECK: [[n_addr:%.+]] = alloca
// CHECK-NEXT: [[saved_stack:%.+]] = alloca
- // CHECK-NEXT: [[vla_expr:%.+]] = alloca i64, align 8
- // CHECK-NEXT: [[vla_expr1:%.+]] = alloca i64, align 8
// CHECK-NEXT: [[sizeof_S:%.+]] = alloca
// CHECK-NEXT: [[sizeof_array_t_0_0:%.+]] = alloca
// CHECK-NEXT: [[sizeof_array_t_0:%.+]] = alloca
@@ -39,8 +37,6 @@ void test(int n) {
// CHECK-NEXT: store i8* [[t4]], i8** [[saved_stack]]
// CHECK-NEXT: [[t5:%.+]] = mul nuw i64 [[t1]], [[t3]]
// CHECK-NEXT: [[vla:%.+]] = alloca [[struct_S]], i64 [[t5]]
- // CHECK-NEXT: store i64 [[t1]], i64* [[vla_expr]]
- // CHECK-NEXT: store i64 [[t3]], i64* [[vla_expr1]]
// CHECK-NEXT: [[t6:%.+]] = mul nuw i64 [[t1]], [[t3]]
// CHECK-NEXT: [[isempty:%.+]] = icmp eq i64 [[t6]], 0
// CHECK-NEXT: br i1 [[isempty]], label %[[arrayctor_cont:.+]], label %[[new_ctorloop:.+]]