[all-commits] [llvm/llvm-project] bed168: [clang][test] zero-init-empty-virtual.cpp: remove ...

Michael Buch via All-commits all-commits at lists.llvm.org
Mon Jul 15 21:19:43 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bed16824ba48862c540837ea5fbc472003904a76
      https://github.com/llvm/llvm-project/commit/bed16824ba48862c540837ea5fbc472003904a76
  Author: Michael Buch <michaelbuch12 at gmail.com>
  Date:   2024-07-16 (Tue, 16 Jul 2024)

  Changed paths:
    M clang/test/CodeGenCXX/zero-init-empty-virtual.cpp

  Log Message:
  -----------
  [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.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list