llvm-project/llvm/test/Transforms/Coroutines
Gor Nishanov 053d2d24f7 [coroutines] PR33271: Remove stray coro.save intrinsics during CoroSplit
Summary:
Optimization passes may remove llvm.coro.suspend intrinsic while leaving matching llvm.coro.save intrinsic orphaned.
Make sure we clean up orphaned coro.saves.  The bug manifested with a crash similar to this:

```
    llvm_unreachable("Unknown type!");
    llvm::MVT::getVT (Ty=0x489518, HandleUnknown=false)
    llvm::EVT::getEVT
    llvm::TargetLoweringBase::getValueType
    llvm::ComputeValueVTs
    llvm::SelectionDAGBuilder::visitTargetIntrinsic
```

Reviewers: GorNishanov

Subscribers: EricWF, llvm-commits

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

llvm-svn: 304518
2017-06-02 02:18:36 +00:00
..
ArgAddr.ll [coroutines] Add handling for unwind coro.ends 2017-03-07 21:00:54 +00:00
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-split-00.ll [coroutines] Add handling for unwind coro.ends 2017-03-07 21:00:54 +00:00
coro-split-01.ll [coroutines] Add handling for unwind coro.ends 2017-03-07 21:00:54 +00:00
coro-split-02.ll [coroutines] PR33271: Remove stray coro.save intrinsics during CoroSplit 2017-06-02 02:18:36 +00:00
coro-split-dbg.ll Add address space mangling to lifetime intrinsics 2017-04-10 20:18:21 +00:00
coro-split-eh.ll [coroutines] Add handling for unwind coro.ends 2017-03-07 21:00:54 +00:00
ex0.ll [coroutines] Add handling for unwind coro.ends 2017-03-07 21:00:54 +00:00
ex1.ll [coroutines] Add handling for unwind coro.ends 2017-03-07 21:00:54 +00:00
ex2.ll [coroutines] Add handling for unwind coro.ends 2017-03-07 21:00:54 +00:00
ex3.ll [coroutines] Add handling for unwind coro.ends 2017-03-07 21:00:54 +00:00
ex4.ll [coroutines] Add handling for unwind coro.ends 2017-03-07 21:00:54 +00:00
ex5.ll [coroutines] Add handling for unwind coro.ends 2017-03-07 21:00:54 +00:00
no-suspend.ll [coroutines] Add handling for unwind coro.ends 2017-03-07 21:00:54 +00:00
phi-coro-end.ll [coroutines] Add handling for unwind coro.ends 2017-03-07 21:00:54 +00:00
restart-trigger.ll [coroutines] Add handling for unwind coro.ends 2017-03-07 21:00:54 +00:00
smoketest.ll