From: Eric Fiselier Date: Thu, 16 May 2019 23:07:45 +0000 (+0000) Subject: Remove unneeded alignment spec from builtin_FUNCTION.cpp test X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d229be0397da72fcb56cc7c0c3f6a5e1e84f9060;p=clang Remove unneeded alignment spec from builtin_FUNCTION.cpp test git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@360951 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/CodeGenCXX/builtin_FUNCTION.cpp b/test/CodeGenCXX/builtin_FUNCTION.cpp index fd23777a92..b3156ea45a 100644 --- a/test/CodeGenCXX/builtin_FUNCTION.cpp +++ b/test/CodeGenCXX/builtin_FUNCTION.cpp @@ -8,10 +8,10 @@ constexpr const char *test_default_arg(const char *f = __builtin_FUNCTION()) { } // CHECK: @[[EMPTY_STR:.+]] = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 -// CHECK: @_ZN9test_func6globalE = {{(dso_local )?}}global i8* getelementptr inbounds ([1 x i8], [1 x i8]* @[[EMPTY_STR]], i32 0, i32 0), align 8 +// CHECK: @_ZN9test_func6globalE = {{(dso_local )?}}global i8* getelementptr inbounds ([1 x i8], [1 x i8]* @[[EMPTY_STR]], i32 0, i32 0) const char *global = test_default_arg(); -// CHECK: @_ZN9test_func10global_twoE = {{(dso_local )?}}global i8* getelementptr inbounds ([1 x i8], [1 x i8]* @[[EMPTY_STR]], i32 0, i32 0), align 8 +// CHECK: @_ZN9test_func10global_twoE = {{(dso_local )?}}global i8* getelementptr inbounds ([1 x i8], [1 x i8]* @[[EMPTY_STR]], i32 0, i32 0) const char *global_two = __builtin_FUNCTION(); const char * const global_three = test_default_arg();