Fix AArch64 argument passing for C++ empty classes with large explicitly specified alignment
reproducer: https://godbolt.org/z/qsze8fqra
rel issue: https://github.com/llvm/llvm-project/issues/69872
rel commit: 1711cc930b
6 lines
180 B
C++
6 lines
180 B
C++
// RUN: %clang_cc1 -triple arm64-none-linux -emit-llvm -w -o - %s | FileCheck -check-prefix=PCS %s
|
|
|
|
// PCS: define{{.*}} void @{{.*}}(i64 %a.coerce)
|
|
struct s0 {};
|
|
void f0(s0 a) {}
|