From 1a5ee756dd3d5a88f08b6d951164fc4542f645fb 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 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@342196 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodeGenCXX/debug-info-lambda.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/CodeGenCXX/debug-info-lambda.cpp b/test/CodeGenCXX/debug-info-lambda.cpp index 1b8f4e3cd3..f86650717c 100644 --- a/test/CodeGenCXX/debug-info-lambda.cpp +++ b/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.40.0