[PATCH] D145369: Emit const globals with constexpr destructor as constant LLVM values

Hans Wennborg via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 14 08:58:41 PDT 2023


hans updated this revision to Diff 505127.
hans added a comment.

Thanks for the review!

Added tests to cover other calls that change behavior due to this.

Please take another look.


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

https://reviews.llvm.org/D145369

Files:
  clang/lib/CodeGen/CodeGenModule.cpp
  clang/test/CodeGenCXX/const-init-cxx11.cpp
  clang/test/CodeGenCXX/const-init-cxx2a.cpp
  clang/test/CodeGenCXX/init-invariant.cpp
  clang/test/CodeGenCXX/static-init.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D145369.505127.patch
Type: text/x-patch
Size: 5915 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230314/ed115a9b/attachment.bin>


More information about the cfe-commits mailing list