llvm-project/llvm/test/Transforms/Coroutines
Arnold Schwaighofer 846a530e7d Fix coro lowering of single predecessor phis
Code assumes that uses of single predecessor phis are not live accross
suspend points. Cleanup any single predecessor phis preceeding the code
making this assumption.

rdar://76020301

Differential Revision: https://reviews.llvm.org/D105488
2021-07-06 10:22:25 -07:00
..
Inputs [coroutine] should disable inline before calling coro split 2020-12-08 08:53:08 -08:00
ArgAddr.ll [Coroutines] Add the newly generated SCCs back to the CGSCC work queue after CoroSplit actually happened 2021-06-30 11:38:14 -07:00
coro-alloc-with-param-O0.ll [Coroutines] Add the newly generated SCCs back to the CGSCC work queue after CoroSplit actually happened 2021-06-30 11:38:14 -07:00
coro-alloc-with-param-O2.ll [Coroutines] Add the newly generated SCCs back to the CGSCC work queue after CoroSplit actually happened 2021-06-30 11:38:14 -07:00
coro-alloca-01.ll [Coroutines] Add the newly generated SCCs back to the CGSCC work queue after CoroSplit actually happened 2021-06-30 11:38:14 -07:00
coro-alloca-02.ll [Coroutines] Add the newly generated SCCs back to the CGSCC work queue after CoroSplit actually happened 2021-06-30 11:38:14 -07:00
coro-alloca-03.ll [Coroutines] Add the newly generated SCCs back to the CGSCC work queue after CoroSplit actually happened 2021-06-30 11:38:14 -07:00
coro-alloca-04.ll [Coroutines] Add the newly generated SCCs back to the CGSCC work queue after CoroSplit actually happened 2021-06-30 11:38:14 -07:00
coro-alloca-05.ll [Coroutines] Add the newly generated SCCs back to the CGSCC work queue after CoroSplit actually happened 2021-06-30 11:38:14 -07:00
coro-alloca-06.ll [Coroutines] Add the newly generated SCCs back to the CGSCC work queue after CoroSplit actually happened 2021-06-30 11:38:14 -07:00
coro-alloca-07.ll [Coroutines] Add the newly generated SCCs back to the CGSCC work queue after CoroSplit actually happened 2021-06-30 11:38:14 -07:00
coro-alloca-08.ll [Coroutines] Add the newly generated SCCs back to the CGSCC work queue after CoroSplit actually happened 2021-06-30 11:38:14 -07:00
coro-async-phi.ll Fix coro lowering of single predecessor phis 2021-07-06 10:22:25 -07:00
coro-async-unreachable.ll [Coroutines] Remove all legacy test command 2021-06-25 09:46:55 -07:00
coro-async.ll Use swift mangling for resume functions 2021-07-06 08:27:46 -07:00
coro-byval-param.ll [Coroutines] Add the newly generated SCCs back to the CGSCC work queue after CoroSplit actually happened 2021-06-30 11:38:14 -07:00
coro-catchswitch-cleanuppad.ll [Coroutines] Add the newly generated SCCs back to the CGSCC work queue after CoroSplit actually happened 2021-06-30 11:38:14 -07:00
coro-catchswitch.ll [Coroutines] Add the newly generated SCCs back to the CGSCC work queue after CoroSplit actually happened 2021-06-30 11:38:14 -07:00
coro-cleanup-lowering.ll [Coroutines][4/6] New pass manager: coro-cleanup 2020-02-19 00:30:27 -05:00
coro-cleanup.ll [Coroutines] Remove all legacy test command 2021-06-25 09:46:55 -07:00
coro-debug-O2.ll [Coroutines] Remove all legacy test command 2021-06-25 09:46:55 -07:00
coro-debug-coro-frame.ll [Coroutines] Define __coro_frame_ty in function scope 2021-06-25 12:33:20 -07:00
coro-debug-dbg.values-not_used_in_frame.ll [Coroutines] Remove all legacy test command 2021-06-25 09:46:55 -07:00
coro-debug-dbg.values.ll [Coroutines] Remove all legacy test command 2021-06-25 09:46:55 -07:00
coro-debug-frame-variable.ll [Coroutines] Remove all legacy test command 2021-06-25 09:46:55 -07:00
coro-debug.ll [Coroutines] Add the newly generated SCCs back to the CGSCC work queue after CoroSplit actually happened 2021-06-30 11:38:14 -07:00
coro-early.ll [Coroutines] Remove all legacy test command 2021-06-25 09:46:55 -07:00
coro-eh-aware-edge-split-00.ll [Coroutines] Add the newly generated SCCs back to the CGSCC work queue after CoroSplit actually happened 2021-06-30 11:38:14 -07:00
coro-eh-aware-edge-split-01.ll [Coroutines] Add the newly generated SCCs back to the CGSCC work queue after CoroSplit actually happened 2021-06-30 11:38:14 -07:00
coro-eh-aware-edge-split-02.ll [Coroutines] Add the newly generated SCCs back to the CGSCC work queue after CoroSplit actually happened 2021-06-30 11:38:14 -07:00
coro-elide-count.ll [Coroutine] Recommit Add statistics for the number of elided coroutine 2021-07-01 11:01:28 +08:00
coro-elide-musttail.ll [Coroutines] Remove all legacy test command 2021-06-25 09:46:55 -07:00
coro-elide.ll Revert "[Coroutine] Add statistics for the number of elided coroutine" 2021-06-30 10:22:45 -04:00
coro-frame-arrayalloca.ll [Coroutines] Add the newly generated SCCs back to the CGSCC work queue after CoroSplit actually happened 2021-06-30 11:38:14 -07:00
coro-frame-reuse-alloca-00.ll [Coroutines] Add the newly generated SCCs back to the CGSCC work queue after CoroSplit actually happened 2021-06-30 11:38:14 -07:00
coro-frame-reuse-alloca-01.ll [Coroutines] Add the newly generated SCCs back to the CGSCC work queue after CoroSplit actually happened 2021-06-30 11:38:14 -07:00
coro-frame-reuse-alloca-02.ll [Coroutines] Add the newly generated SCCs back to the CGSCC work queue after CoroSplit actually happened 2021-06-30 11:38:14 -07:00
coro-frame-reuse-alloca-03.ll [Coroutines] Add the newly generated SCCs back to the CGSCC work queue after CoroSplit actually happened 2021-06-30 11:38:14 -07:00
coro-frame-reuse-alloca-04.ll [Coroutines] Add the newly generated SCCs back to the CGSCC work queue after CoroSplit actually happened 2021-06-30 11:38:14 -07:00
coro-frame-reuse-alloca-05.ll [Coroutines] Add the newly generated SCCs back to the CGSCC work queue after CoroSplit actually happened 2021-06-30 11:38:14 -07:00
coro-frame-unreachable.ll [Coroutines] Add the newly generated SCCs back to the CGSCC work queue after CoroSplit actually happened 2021-06-30 11:38:14 -07:00
coro-frame.ll [Coroutines] Add the newly generated SCCs back to the CGSCC work queue after CoroSplit actually happened 2021-06-30 11:38:14 -07:00
coro-heap-elide.ll [Coroutines] Remove all legacy test command 2021-06-25 09:46:55 -07:00
coro-inline.ll [Coroutines] Remove all legacy test command 2021-06-25 09:46:55 -07:00
coro-materialize.ll [Coroutines] Add the newly generated SCCs back to the CGSCC work queue after CoroSplit actually happened 2021-06-30 11:38:14 -07:00
coro-noalias-param.ll [Coroutine] Properly deal with byval and noalias parameters 2021-06-17 19:06:10 -07:00
coro-padding.ll [Coroutines] Add the newly generated SCCs back to the CGSCC work queue after CoroSplit actually happened 2021-06-30 11:38:14 -07:00
coro-param-copy.ll [Coroutines] Add the newly generated SCCs back to the CGSCC work queue after CoroSplit actually happened 2021-06-30 11:38:14 -07:00
coro-retcon-alloca.ll [Coroutines] Add the newly generated SCCs back to the CGSCC work queue after CoroSplit actually happened 2021-06-30 11:38:14 -07:00
coro-retcon-frame.ll [Coroutines] Add the newly generated SCCs back to the CGSCC work queue after CoroSplit actually happened 2021-06-30 11:38:14 -07:00
coro-retcon-once-value.ll [Coroutines] Add the newly generated SCCs back to the CGSCC work queue after CoroSplit actually happened 2021-06-30 11:38:14 -07:00
coro-retcon-once-value2.ll [Coroutines] Add the newly generated SCCs back to the CGSCC work queue after CoroSplit actually happened 2021-06-30 11:38:14 -07:00
coro-retcon-resume-values.ll [Coroutines] Add the newly generated SCCs back to the CGSCC work queue after CoroSplit actually happened 2021-06-30 11:38:14 -07:00
coro-retcon-resume-values2.ll [Coroutines] Add the newly generated SCCs back to the CGSCC work queue after CoroSplit actually happened 2021-06-30 11:38:14 -07:00
coro-retcon-unreachable.ll [Coroutines] Add the newly generated SCCs back to the CGSCC work queue after CoroSplit actually happened 2021-06-30 11:38:14 -07:00
coro-retcon-value.ll [Coroutines] Add the newly generated SCCs back to the CGSCC work queue after CoroSplit actually happened 2021-06-30 11:38:14 -07:00
coro-retcon.ll [Coroutines] Add the newly generated SCCs back to the CGSCC work queue after CoroSplit actually happened 2021-06-30 11:38:14 -07:00
coro-spill-after-phi.ll [Coroutines] Add the newly generated SCCs back to the CGSCC work queue after CoroSplit actually happened 2021-06-30 11:38:14 -07:00
coro-spill-corobegin.ll [Coroutines] Add the newly generated SCCs back to the CGSCC work queue after CoroSplit actually happened 2021-06-30 11:38:14 -07:00
coro-spill-defs-before-corobegin.ll [Coroutines] Add the newly generated SCCs back to the CGSCC work queue after CoroSplit actually happened 2021-06-30 11:38:14 -07:00
coro-spill-promise.ll [Coroutines] Add the newly generated SCCs back to the CGSCC work queue after CoroSplit actually happened 2021-06-30 11:38:14 -07:00
coro-split-00.ll [Coroutines] Add the newly generated SCCs back to the CGSCC work queue after CoroSplit actually happened 2021-06-30 11:38:14 -07:00
coro-split-01.ll [Coroutines] Remove all legacy test command 2021-06-25 09:46:55 -07:00
coro-split-02.ll [Coroutines] Add the newly generated SCCs back to the CGSCC work queue after CoroSplit actually happened 2021-06-30 11:38:14 -07:00
coro-split-alloc.ll [Coroutines] Add the newly generated SCCs back to the CGSCC work queue after CoroSplit actually happened 2021-06-30 11:38:14 -07:00
coro-split-dbg.ll [Coroutines] Add the newly generated SCCs back to the CGSCC work queue after CoroSplit actually happened 2021-06-30 11:38:14 -07:00
coro-split-eh-00.ll [Coroutines] Add the newly generated SCCs back to the CGSCC work queue after CoroSplit actually happened 2021-06-30 11:38:14 -07:00
coro-split-eh-01.ll [Coroutines] Add the newly generated SCCs back to the CGSCC work queue after CoroSplit actually happened 2021-06-30 11:38:14 -07:00
coro-split-hidden.ll [Coroutines] Add the newly generated SCCs back to the CGSCC work queue after CoroSplit actually happened 2021-06-30 11:38:14 -07:00
coro-split-musttail.ll [Coroutines] Add the newly generated SCCs back to the CGSCC work queue after CoroSplit actually happened 2021-06-30 11:38:14 -07:00
coro-split-musttail1.ll [Coroutines] Add the newly generated SCCs back to the CGSCC work queue after CoroSplit actually happened 2021-06-30 11:38:14 -07:00
coro-split-musttail2.ll [Coroutines] Add the newly generated SCCs back to the CGSCC work queue after CoroSplit actually happened 2021-06-30 11:38:14 -07:00
coro-split-musttail3.ll [Coroutines] Add the newly generated SCCs back to the CGSCC work queue after CoroSplit actually happened 2021-06-30 11:38:14 -07:00
coro-split-recursive.ll [Coroutines] Add the newly generated SCCs back to the CGSCC work queue after CoroSplit actually happened 2021-06-30 11:38:14 -07:00
coro-split-sink-lifetime-01.ll [Coroutines] Add the newly generated SCCs back to the CGSCC work queue after CoroSplit actually happened 2021-06-30 11:38:14 -07:00
coro-split-sink-lifetime-02.ll [Coroutines] Add the newly generated SCCs back to the CGSCC work queue after CoroSplit actually happened 2021-06-30 11:38:14 -07:00
coro-split-sink-lifetime-03.ll [Coroutines] Add the newly generated SCCs back to the CGSCC work queue after CoroSplit actually happened 2021-06-30 11:38:14 -07:00
coro-split-sink-lifetime-04.ll [Coroutines] Add the newly generated SCCs back to the CGSCC work queue after CoroSplit actually happened 2021-06-30 11:38:14 -07:00
coro-swifterror.ll [Coroutines] Add the newly generated SCCs back to the CGSCC work queue after CoroSplit actually happened 2021-06-30 11:38:14 -07:00
coro-zero-alloca.ll [Coroutines] Add the newly generated SCCs back to the CGSCC work queue after CoroSplit actually happened 2021-06-30 11:38:14 -07:00
ex0.ll [Coroutines] Remove all legacy test command 2021-06-25 09:46:55 -07:00
ex1.ll [Coroutines] Remove all legacy test command 2021-06-25 09:46:55 -07:00
ex2.ll [Coroutines] Remove all legacy test command 2021-06-25 09:46:55 -07:00
ex3.ll [Coroutines] Remove all legacy test command 2021-06-25 09:46:55 -07:00
ex4.ll [Coroutines] Remove all legacy test command 2021-06-25 09:46:55 -07:00
ex5.ll [Coroutines] Remove all legacy test command 2021-06-25 09:46:55 -07:00
no-suspend.ll [Coroutines] Add the newly generated SCCs back to the CGSCC work queue after CoroSplit actually happened 2021-06-30 11:38:14 -07:00
phi-coro-end.ll [Coroutines] Remove all legacy test command 2021-06-25 09:46:55 -07:00
restart-trigger.ll [Coroutines] Add the newly generated SCCs back to the CGSCC work queue after CoroSplit actually happened 2021-06-30 11:38:14 -07:00
smoketest.ll [Coroutines] Add the newly generated SCCs back to the CGSCC work queue after CoroSplit actually happened 2021-06-30 11:38:14 -07:00