llvm-project/llvm/test/Transforms/Coroutines
Arnold Schwaighofer 2df2b27d94 [cora async] Cleanup undefined llvm.coro.async.resume
In situations where the coroutine function is not split we can just
replace the async.resume by null.

rdar://82591919

Differential Revision: https://reviews.llvm.org/D110191
2021-09-30 13:26:53 -07:00
..
Inputs [coroutine] should disable inline before calling coro split 2020-12-08 08:53:08 -08:00
ArgAddr.ll [NewPM] Consistently use 'simplifycfg' rather than 'simplify-cfg' 2021-07-09 09:47:03 +02:00
coro-alloc-with-param-O0.ll [NewPM] Consistently use 'simplifycfg' rather than 'simplify-cfg' 2021-07-09 09:47:03 +02:00
coro-alloc-with-param-O2.ll [NewPM] Consistently use 'simplifycfg' rather than 'simplify-cfg' 2021-07-09 09:47:03 +02:00
coro-alloca-01.ll [NewPM] Consistently use 'simplifycfg' rather than 'simplify-cfg' 2021-07-09 09:47:03 +02:00
coro-alloca-02.ll [NewPM] Consistently use 'simplifycfg' rather than 'simplify-cfg' 2021-07-09 09:47:03 +02:00
coro-alloca-03.ll [NewPM] Consistently use 'simplifycfg' rather than 'simplify-cfg' 2021-07-09 09:47:03 +02:00
coro-alloca-04.ll [NewPM] Consistently use 'simplifycfg' rather than 'simplify-cfg' 2021-07-09 09:47:03 +02:00
coro-alloca-05.ll [NewPM] Consistently use 'simplifycfg' rather than 'simplify-cfg' 2021-07-09 09:47:03 +02:00
coro-alloca-06.ll [NewPM] Consistently use 'simplifycfg' rather than 'simplify-cfg' 2021-07-09 09:47:03 +02:00
coro-alloca-07.ll [NewPM] Consistently use 'simplifycfg' rather than 'simplify-cfg' 2021-07-09 09:47:03 +02:00
coro-alloca-08.ll [NewPM] Consistently use 'simplifycfg' rather than 'simplify-cfg' 2021-07-09 09:47:03 +02:00
coro-async-phi.ll Fix coro lowering of single predecessor phis 2021-07-06 10:22:25 -07:00
coro-async-remat.ll [coro] Correct CurrentBlock tracking bug recently introduced 2021-08-09 10:41:41 -07:00
coro-async-unreachable.ll [Coroutines] Remove all legacy test command 2021-06-25 09:46:55 -07:00
coro-async.ll [cora async] Cleanup undefined llvm.coro.async.resume 2021-09-30 13:26:53 -07:00
coro-byval-param.ll [NewPM] Consistently use 'simplifycfg' rather than 'simplify-cfg' 2021-07-09 09:47:03 +02:00
coro-catchswitch-cleanuppad.ll [NewPM] Consistently use 'simplifycfg' rather than 'simplify-cfg' 2021-07-09 09:47:03 +02:00
coro-catchswitch.ll [NewPM] Consistently use 'simplifycfg' rather than 'simplify-cfg' 2021-07-09 09:47:03 +02:00
coro-cleanup-lowering.ll
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 Tighten heuristic for coroutine debug info workaround. 2021-09-01 11:15:36 -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 [NewPM] Consistently use 'simplifycfg' rather than 'simplify-cfg' 2021-07-09 09:47:03 +02:00
coro-eh-aware-edge-split-01.ll [NewPM] Consistently use 'simplifycfg' rather than 'simplify-cfg' 2021-07-09 09:47:03 +02:00
coro-eh-aware-edge-split-02.ll [NewPM] Consistently use 'simplifycfg' rather than 'simplify-cfg' 2021-07-09 09:47:03 +02:00
coro-elide-musttail.ll [Coroutines] Remove all legacy test command 2021-06-25 09:46:55 -07:00
coro-elide-stat.ll [Coroutine] Record the elided coroutines 2021-07-27 13:14:09 +08: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 [NewPM] Consistently use 'simplifycfg' rather than 'simplify-cfg' 2021-07-09 09:47:03 +02:00
coro-frame-reuse-alloca-00.ll [NewPM] Consistently use 'simplifycfg' rather than 'simplify-cfg' 2021-07-09 09:47:03 +02:00
coro-frame-reuse-alloca-01.ll [NewPM] Consistently use 'simplifycfg' rather than 'simplify-cfg' 2021-07-09 09:47:03 +02:00
coro-frame-reuse-alloca-02.ll [NewPM] Consistently use 'simplifycfg' rather than 'simplify-cfg' 2021-07-09 09:47:03 +02:00
coro-frame-reuse-alloca-03.ll [NewPM] Consistently use 'simplifycfg' rather than 'simplify-cfg' 2021-07-09 09:47:03 +02:00
coro-frame-reuse-alloca-04.ll [NewPM] Consistently use 'simplifycfg' rather than 'simplify-cfg' 2021-07-09 09:47:03 +02:00
coro-frame-reuse-alloca-05.ll [NewPM] Consistently use 'simplifycfg' rather than 'simplify-cfg' 2021-07-09 09:47:03 +02:00
coro-frame-unreachable.ll [NewPM] Consistently use 'simplifycfg' rather than 'simplify-cfg' 2021-07-09 09:47:03 +02:00
coro-frame.ll [NewPM] Consistently use 'simplifycfg' rather than 'simplify-cfg' 2021-07-09 09:47:03 +02:00
coro-heap-elide.ll [NewPM] Consistently use 'simplifycfg' rather than 'simplify-cfg' 2021-07-09 09:47:03 +02:00
coro-inline.ll [opt] Remove some legacy PM flags 2021-09-13 15:50:03 -07:00
coro-materialize.ll [NewPM] Consistently use 'simplifycfg' rather than 'simplify-cfg' 2021-07-09 09:47:03 +02:00
coro-noalias-param.ll [Coroutine] Properly deal with byval and noalias parameters 2021-06-17 19:06:10 -07:00
coro-padding.ll [NewPM] Consistently use 'simplifycfg' rather than 'simplify-cfg' 2021-07-09 09:47:03 +02:00
coro-param-copy.ll [NewPM] Consistently use 'simplifycfg' rather than 'simplify-cfg' 2021-07-09 09:47:03 +02: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 [NewPM] Consistently use 'simplifycfg' rather than 'simplify-cfg' 2021-07-09 09:47:03 +02: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 [NewPM] Consistently use 'simplifycfg' rather than 'simplify-cfg' 2021-07-09 09:47:03 +02: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 [NewPM] Consistently use 'simplifycfg' rather than 'simplify-cfg' 2021-07-09 09:47:03 +02:00
coro-retcon-unreachable.ll [NewPM] Consistently use 'simplifycfg' rather than 'simplify-cfg' 2021-07-09 09:47:03 +02: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 [NewPM] Consistently use 'simplifycfg' rather than 'simplify-cfg' 2021-07-09 09:47:03 +02:00
coro-spill-corobegin.ll [NewPM] Consistently use 'simplifycfg' rather than 'simplify-cfg' 2021-07-09 09:47:03 +02:00
coro-spill-defs-before-corobegin.ll [NewPM] Consistently use 'simplifycfg' rather than 'simplify-cfg' 2021-07-09 09:47:03 +02:00
coro-spill-promise.ll [NewPM] Consistently use 'simplifycfg' rather than 'simplify-cfg' 2021-07-09 09:47:03 +02:00
coro-split-00.ll [NewPM] Consistently use 'simplifycfg' rather than 'simplify-cfg' 2021-07-09 09:47:03 +02:00
coro-split-01.ll [Coroutines] Remove all legacy test command 2021-06-25 09:46:55 -07:00
coro-split-02.ll [NewPM] Consistently use 'simplifycfg' rather than 'simplify-cfg' 2021-07-09 09:47:03 +02:00
coro-split-alloc.ll [NewPM] Consistently use 'simplifycfg' rather than 'simplify-cfg' 2021-07-09 09:47:03 +02:00
coro-split-dbg.ll [NewPM] Consistently use 'simplifycfg' rather than 'simplify-cfg' 2021-07-09 09:47:03 +02:00
coro-split-eh-00.ll [NewPM] Consistently use 'simplifycfg' rather than 'simplify-cfg' 2021-07-09 09:47:03 +02:00
coro-split-eh-01.ll [NewPM] Consistently use 'simplifycfg' rather than 'simplify-cfg' 2021-07-09 09:47:03 +02:00
coro-split-hidden.ll [NewPM] Consistently use 'simplifycfg' rather than 'simplify-cfg' 2021-07-09 09:47:03 +02:00
coro-split-musttail.ll [NewPM] Consistently use 'simplifycfg' rather than 'simplify-cfg' 2021-07-09 09:47:03 +02:00
coro-split-musttail1.ll [NewPM] Consistently use 'simplifycfg' rather than 'simplify-cfg' 2021-07-09 09:47:03 +02:00
coro-split-musttail2.ll [NewPM] Consistently use 'simplifycfg' rather than 'simplify-cfg' 2021-07-09 09:47:03 +02:00
coro-split-musttail3.ll [NewPM] Consistently use 'simplifycfg' rather than 'simplify-cfg' 2021-07-09 09:47:03 +02: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 [NewPM] Consistently use 'simplifycfg' rather than 'simplify-cfg' 2021-07-09 09:47:03 +02:00
coro-split-sink-lifetime-02.ll [NewPM] Consistently use 'simplifycfg' rather than 'simplify-cfg' 2021-07-09 09:47:03 +02:00
coro-split-sink-lifetime-03.ll [NewPM] Consistently use 'simplifycfg' rather than 'simplify-cfg' 2021-07-09 09:47:03 +02:00
coro-split-sink-lifetime-04.ll [NewPM] Consistently use 'simplifycfg' rather than 'simplify-cfg' 2021-07-09 09:47:03 +02: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 [NewPM] Consistently use 'simplifycfg' rather than 'simplify-cfg' 2021-07-09 09:47:03 +02: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 [NewPM] Consistently use 'simplifycfg' rather than 'simplify-cfg' 2021-07-09 09:47:03 +02: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