[clang] [clang] fix emitvaarg when struct is null (PR #72624)

2023-11-27 Thread Eli Friedman via cfe-commits
efriedma-quic wrote: Please fix the pull request description to say this is aarch64-specific. Missing regression test in clang/test/CodeGen/ How does this interact with #72197? https://github.com/llvm/llvm-project/pull/72624 ___ cfe-commits mailing

[clang] [clang] fix emitvaarg when struct is null (PR #72624)

2023-11-22 Thread via cfe-commits
Jolyon0202 wrote: @efriedma-quic https://github.com/llvm/llvm-project/pull/72624 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang] fix emitvaarg when struct is null (PR #72624)

2023-11-17 Thread via cfe-commits
Jolyon0202 wrote: demoļ¼š ``` #include extern void *memset (void *__s, int __c, size_t __n); typedef __builtin_va_list va_list; struct S94 { struct __attribute__((aligned(16))) { } a; }; struct S94 s94; void check94va(int z, ...) { va_list ap; __builtin_va_start(ap, z); struct S94

[clang] [clang] fix emitvaarg when struct is null (PR #72624)

2023-11-17 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang @llvm/pr-subscribers-clang-codegen Author: Jolyon (Jolyon0202) Changes Fix bug when emit null struct with attribute aligned(16) and ICE of debugbuild. --- Full diff: https://github.com/llvm/llvm-project/pull/72624.diff 1 Files Affected: -

[clang] [clang] fix emitvaarg when struct is null (PR #72624)

2023-11-17 Thread via cfe-commits
https://github.com/Jolyon0202 created https://github.com/llvm/llvm-project/pull/72624 Fix bug when emit null struct with attribute aligned(16) and ICE of debugbuild. >From f0245b42534f423edaba45c2b3b2dffeb86e3074 Mon Sep 17 00:00:00 2001 From: Jian Yang Date: Wed, 15 Nov 2023 15:44:35 +0800