llvm-project/llvm/test/Transforms/Coroutines
Brian Gesiak a5e3675bd3 [Coroutines] Don't move stores for allocator args
Summary:
The behavior described in Coroutines TS `[dcl.fct.def.coroutine]/7`
allows coroutine parameters to be passed into allocator functions.
The instructions to store values into the alloca'd parameters must not
be moved past the frame allocation, otherwise uninitialized values are
passed to the allocator.

Test Plan: `check-llvm`

Reviewers: rsmith, GorNishanov, eric_niebler

Reviewed By: GorNishanov

Subscribers: compnerd, EricWF, llvm-commits

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

llvm-svn: 325285
2018-02-15 19:31:45 +00:00
..
ArgAddr.ll
coro-catchswitch.ll [coroutines] Handle spills before catchswitch 2017-05-17 03:09:22 +00:00
coro-cleanup.ll
coro-debug.ll Cloning: Fix debug info cloning 2017-05-27 19:41:09 +00:00
coro-early.ll
coro-eh-aware-edge-split.ll [coroutines] Handle unwind edge splitting 2017-05-16 14:11:39 +00:00
coro-elide.ll
coro-frame.ll [coroutines] Relocate instructions that maybe spilled after coro.begin 2017-05-25 00:46:20 +00:00
coro-heap-elide.ll
coro-materialize.ll [coroutines] Allow rematerialization upto 4 times. Remove incorrect assert 2017-05-24 23:01:02 +00:00
coro-spill-after-phi.ll [coroutines] Make CoroSplit pass deterministic 2017-04-08 00:49:46 +00:00
coro-spill-corobegin.ll [coroutines] CoroBegin from inner coroutines should be considered for spills 2017-08-23 14:47:52 +00:00
coro-split-00.ll
coro-split-01.ll
coro-split-02.ll [coroutines] PR33271: Remove stray coro.save intrinsics during CoroSplit 2017-06-02 02:18:36 +00:00
coro-split-alloc.ll [Coroutines] Don't move stores for allocator args 2018-02-15 19:31:45 +00:00
coro-split-dbg.ll Remove the obsolete offset parameter from @llvm.dbg.value 2017-07-28 20:21:02 +00:00
coro-split-eh.ll
coro-split-musttail.ll [coroutines] Add support for symmetric control transfer (musttail on coro.resumes followed by a suspend) 2017-08-25 02:25:10 +00:00
ex0.ll
ex1.ll
ex2.ll
ex3.ll
ex4.ll
ex5.ll
no-suspend.ll
phi-coro-end.ll
restart-trigger.ll
smoketest.ll