llvm-project/clang/test/CodeGenCoroutines
Chuanqi Xu e190b7cc90 [Coroutines] Maintain the position of final suspend
Closing https://github.com/llvm/llvm-project/issues/56329

The problem happens when we try to simplify the suspend points. We might
break the assumption that the final suspend lives in the last slot of
Shape.CoroSuspends. This patch tries to main the assumption and fixes
the problem.
2022-08-12 13:05:08 +08:00
..
Inputs [NFC][Coroutines] Add regression test for heap allocation elision optimization 2022-07-11 16:41:05 +02:00
coro-alloc-2.cpp [C++20] [Coroutines] Conform the updates for CWG issue 2585 2022-05-25 10:31:26 +08:00
coro-alloc-exp-namespace.cpp [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
coro-alloc.cpp [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
coro-always-inline-exp-namespace.cpp [test] Remove references to -fexperimental-new-pass-manager in tests 2022-04-11 13:29:08 -07:00
coro-always-inline.cpp [test] Remove references to -fexperimental-new-pass-manager in tests 2022-04-11 13:29:08 -07:00
coro-attributes.cpp [coroutine] add nomerge function attribute to `llvm.coro.save` 2022-07-12 10:39:38 -07:00
coro-await-domination-exp-namespace.cpp [Coroutines] [Frontend] Lookup in std namespace first 2021-11-04 11:53:47 +08:00
coro-await-domination.cpp [Coroutines] [Frontend] Lookup in std namespace first 2021-11-04 11:53:47 +08:00
coro-await-exp-namespace.cpp [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
coro-await-resume-eh-exp-namespace.cpp [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
coro-await-resume-eh.cpp [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
coro-await.cpp [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
coro-builtins-err.c A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00
coro-builtins.c [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
coro-cleanup-exp-namespace.cpp [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
coro-cleanup.cpp [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
coro-dest-slot-exp-namespace.cpp [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
coro-dest-slot.cpp [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
coro-dwarf-exp-namespace.cpp [Coroutines] [Frontend] Lookup in std namespace first 2021-11-04 11:53:47 +08:00
coro-dwarf.cpp [Coroutines] [Frontend] Lookup in std namespace first 2021-11-04 11:53:47 +08:00
coro-eh-cleanup-exp-namespace.cpp [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
coro-eh-cleanup.cpp [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
coro-elide.cpp [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
coro-gro-exp-namespace.cpp [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
coro-gro.cpp [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
coro-gro2-exp-namespace.cpp [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
coro-gro2.cpp [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
coro-halo.cpp [NFC][Coroutines] Add regression test for heap allocation elision optimization 2022-07-11 16:41:05 +02:00
coro-lambda-exp-namespace.cpp [Coroutines] [Frontend] Lookup in std namespace first 2021-11-04 11:53:47 +08:00
coro-lambda.cpp [Coroutines] [Frontend] Lookup in std namespace first 2021-11-04 11:53:47 +08:00
coro-newpm-pipeline-exp-namespace.cpp [test] Remove references to -fexperimental-new-pass-manager in tests 2022-04-11 13:29:08 -07:00
coro-newpm-pipeline.cpp [test] Remove references to -fexperimental-new-pass-manager in tests 2022-04-11 13:29:08 -07:00
coro-params-exp-namespace.cpp [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
coro-params.cpp [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
coro-promise-dtor-exp-namespace.cpp [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
coro-promise-dtor.cpp [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
coro-ret-void-exp-namespace.cpp [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
coro-ret-void.cpp [clang][NFC] Cleanup some coroutine tests 2022-05-16 05:15:12 -07:00
coro-return-exp-namespace.cpp [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
coro-return-voidtype-initlist-exp-namespace.cpp [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
coro-return-voidtype-initlist.cpp [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
coro-return.cpp [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
coro-symmetric-transfer-01-exp-namespace.cpp [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
coro-symmetric-transfer-01.cpp [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
coro-symmetric-transfer-02-exp-namespace.cpp [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
coro-symmetric-transfer-02.cpp [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
coro-symmetric-transfer-03.cpp [NFC] [Coroutines] Add regression tests for symmetric transfer and coroutine elision 2022-01-12 19:39:56 +08:00
coro-unhandled-exception-exp-namespace.cpp [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
coro-unhandled-exception.cpp [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
microsoft-abi-operator-coawait-exp-namespace.cpp [Coroutines] [Frontend] Lookup in std namespace first 2021-11-04 11:53:47 +08:00
microsoft-abi-operator-coawait.cpp [Coroutines] [Frontend] Lookup in std namespace first 2021-11-04 11:53:47 +08:00
pr56329.cpp [Coroutines] Maintain the position of final suspend 2022-08-12 13:05:08 +08:00
pr56919.cpp [NFC] Requires x86-registered-target for test/pr56919.cpp 2022-08-05 16:46:38 +08:00