[PATCH] D157332: [clang] Make init for empty no_unique_address fields a no-op write

Martin Storsjö via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Aug 8 12:41:04 PDT 2023


mstorsjo added a comment.

In D157332#4570290 <https://reviews.llvm.org/D157332#4570290>, @crtrott wrote:

> Question: does this bug potentially affect code generation for AMD/NVIDIA/Intel GPUs?

I believe the easiest way to test that is to try compiling `struct S {}; S ret() { return S(); }` into IR and checking the signature - if it returns void, the target should be immune to this bug, otherwise the bug probably is present.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D157332/new/

https://reviews.llvm.org/D157332



More information about the cfe-commits mailing list