Skip to content

Commit bed1682

Browse files
committed
[clang][test] zero-init-empty-virtual.cpp: remove redundant alignment check
Fixes a `clang-armv8-quick` buildbot failure. Where the alignment was `4` instead of `8`: ``` // CHECK: @{{.*}} = {{.*}}global %struct.Holder2 zeroinitializer, align 8 ^ <stdin>:66:178: note: scanning from here @g_holder1 = global %struct.Holder1 { %struct.polymorphic_base { ptr getelementptr inbounds inrange(-8, 12) ({ [5 x ptr] }, ptr @_ZTV16polymorphic_base, i32 0, i32 0, i32 2) } }, align 4 ^ <stdin>:68:8: note: possible intended match here @g_holder2 = global %struct.Holder2 zeroinitializer, align 4 ^ ``` This test isn't about checking alignment, so remove that from the FileCheck entry.
1 parent b3e1f1b commit bed1682

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/test/CodeGenCXX/zero-init-empty-virtual.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ struct Holder2 {
2626
derived_virtual a{};
2727
} g_holder2;
2828

29-
// CHECK: @{{.*}} = {{.*}}global %struct.Holder2 zeroinitializer, align 8
29+
// CHECK: @{{.*}} = {{.*}}global %struct.Holder2 zeroinitializer
3030

3131
struct Holder3 {
3232
derived a{};

0 commit comments

Comments
 (0)