[all-commits] [llvm/llvm-project] f54ca1: [NFC][Coroutines] Add regression test for heap all...

yurai007 via All-commits all-commits at lists.llvm.org
Mon Jul 11 07:42:15 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f54ca1f632646ee9a2a052a28e93ffb0bcc4340d
      https://github.com/llvm/llvm-project/commit/f54ca1f632646ee9a2a052a28e93ffb0bcc4340d
  Author: Dawid Jurczak <dawid_jurek at vp.pl>
  Date:   2022-07-11 (Mon, 11 Jul 2022)

  Changed paths:
    A clang/test/CodeGenCoroutines/Inputs/numeric.h
    A clang/test/CodeGenCoroutines/coro-halo.cpp

  Log Message:
  -----------
  [NFC][Coroutines] Add regression test for heap allocation elision optimization

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.

Differential Revision: https://reviews.llvm.org/D129279




More information about the All-commits mailing list