From ce9e2965ecd0c6d9623113486c15dfc45ef4303e Mon Sep 17 00:00:00 2001 From: Vedant Kumar Date: Fri, 14 Sep 2018 00:16:37 +0000 Subject: [PATCH] Relax alignment assumptions in a test after r342194 Don't hardcode align 8. Fixes a bot failure: http://lab.llvm.org:8011/builders/clang-cmake-armv8-full/builds/6373 llvm-svn: 342196 --- clang/test/CodeGenCXX/debug-info-lambda.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clang/test/CodeGenCXX/debug-info-lambda.cpp b/clang/test/CodeGenCXX/debug-info-lambda.cpp index 1b8f4e3..f866507 100644 --- a/clang/test/CodeGenCXX/debug-info-lambda.cpp +++ b/clang/test/CodeGenCXX/debug-info-lambda.cpp @@ -4,8 +4,8 @@ // CHECK-LABEL: define{{.*}}lambda_in_func void lambda_in_func(int &ref) { // CHECK: [[ref_slot:%.*]] = getelementptr inbounds %class.anon, %class.anon* {{.*}}, i32 0, i32 0, !dbg [[lambda_decl_loc:![0-9]+]] - // CHECK-NEXT: %1 = load i32*, i32** %ref.addr, align 8, !dbg [[capture_init_loc:![0-9]+]] - // CHECK-NEXT: store i32* %1, i32** %0, align 8, !dbg [[lambda_decl_loc]] + // CHECK-NEXT: %1 = load i32*, i32** %ref.addr, align {{.*}}, !dbg [[capture_init_loc:![0-9]+]] + // CHECK-NEXT: store i32* %1, i32** %0, align {{.*}}, !dbg [[lambda_decl_loc]] // CHECK-NEXT: call void {{.*}}, !dbg [[lambda_call_loc:![0-9]+]] auto helper = [ // CHECK: [[lambda_decl_loc]] = !DILocation(line: [[@LINE]], column: 17 -- 2.7.4