[PATCH] D119927: [Clang] [P2025] More exhaustive tests for NRVO

Evgeny Shulgin via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Feb 16 13:30:19 PST 2022


Izaron updated this revision to Diff 409389.
Izaron added a comment.

I placed links to corresponding p2025 examples.

Some of the examples are reasonably absent from the test, such as 1st (RVO, not NRVO), 13th (consteval methods are not getting to LLVM IR), 17th (there are no NRVOs for non-class types in Clang), etc.

The 19th example (about volatiles) is massive and has three corresponding functions in the test.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D119927

Files:
  clang/test/CodeGenCXX/nrvo.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D119927.409389.patch
Type: text/x-patch
Size: 79570 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220216/0f42eadb/attachment-0001.bin>


More information about the cfe-commits mailing list