[PATCH] D129279: [NFC] [Coroutines] Add regression test for heap allocation elision optimization

Dawid Jurczak via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jul 7 05:00:46 PDT 2022


yurai007 created this revision.
yurai007 added reviewers: nikic, ChuanqiXu, lxfind, GorNishanov.
Herald added a project: All.
yurai007 requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

Recently C++ snippet included in this patch popped up at least twice in different regression contexts:
https://github.com/llvm/llvm-project/issues/56262 and https://reviews.llvm.org/D123300
It appears that Clang users rely on HALO so adding C++ example coming originally from Gor Nishanov to tests
should help in avoiding similar regressions in future.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D129279

Files:
  clang/test/CodeGenCoroutines/Inputs/numeric.h
  clang/test/CodeGenCoroutines/coro-halo.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D129279.442868.patch
Type: text/x-patch
Size: 3235 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220707/c3ea0384/attachment.bin>


More information about the cfe-commits mailing list