forked from OSchip/llvm-project
053d2d24f7
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 |
||
---|---|---|
.. | ||
ArgAddr.ll | ||
coro-catchswitch.ll | ||
coro-cleanup.ll | ||
coro-debug.ll | ||
coro-early.ll | ||
coro-eh-aware-edge-split.ll | ||
coro-elide.ll | ||
coro-frame.ll | ||
coro-heap-elide.ll | ||
coro-materialize.ll | ||
coro-spill-after-phi.ll | ||
coro-split-00.ll | ||
coro-split-01.ll | ||
coro-split-02.ll | ||
coro-split-dbg.ll | ||
coro-split-eh.ll | ||
ex0.ll | ||
ex1.ll | ||
ex2.ll | ||
ex3.ll | ||
ex4.ll | ||
ex5.ll | ||
no-suspend.ll | ||
phi-coro-end.ll | ||
restart-trigger.ll | ||
smoketest.ll |