[PATCH] D156116: [Clang][LoongArch] Fix ABI handling of empty structs in C++ to match GCC behaviour

Lu Weining via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Aug 7 04:16:38 PDT 2023


SixWeining updated this revision to Diff 547711.
SixWeining added a comment.

add an extra check for when a candidate from detectFAREligibleStructHelper may not be valid


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D156116

Files:
  clang/docs/ReleaseNotes.rst
  clang/lib/CodeGen/Targets/LoongArch.cpp
  clang/test/CodeGen/LoongArch/abi-lp64d-empty-structs.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D156116.547711.patch
Type: text/x-patch
Size: 4743 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230807/97661ef6/attachment.bin>


More information about the cfe-commits mailing list