llvm-project/llvm/test/Transforms/ObjCARC
Shoaib Meenai 074728a2a9 [ObjCARC] Prevent code motion into a catchswitch
A catchswitch must be the only non-phi instruction in its basic block;
attempting to move a retain or release into a catchswitch basic block
will result in invalid IR. Explicitly mark a CFG hazard in this case to
prevent the code motion.

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

llvm-svn: 332430
2018-05-16 04:52:18 +00:00
..
allocas.ll
apelim.ll
basic.ll [ObjCARC] Do not move a release that has the clang.imprecise_release tag 2017-10-16 16:46:59 +00:00
cfg-hazards.ll
clang-arc-use-barrier.ll
comdat-ipo.ll
contract-catchswitch.ll [ObjCARC] Account for catchswitch in bitcast insertion 2018-05-04 19:03:11 +00:00
contract-end-of-use-list.ll
contract-marker-funclet.ll [ObjCARC] Add funclet token to ARC marker 2018-03-20 20:45:41 +00:00
contract-marker.ll
contract-replace-arg-use.ll [ObjCARC] Do not turn a call to @objc_autoreleaseReturnValue into a call 2018-01-19 23:51:13 +00:00
contract-storestrong-funclet.ll [ObjCARC] Account for funclet token in storeStrong transform 2018-04-20 22:11:03 +00:00
contract-storestrong-ivar.ll
contract-storestrong.ll
contract-testcases.ll
contract.ll
empty-block.ll
ensure-that-exception-unwind-path-is-visited.ll [DebugInfo] Add DILabel metadata and intrinsic llvm.dbg.label. 2018-05-09 02:40:45 +00:00
escape.ll
expand.ll
funclet.ll ObjCARC: teach the cloner about funclets 2018-03-12 21:46:09 +00:00
gvn.ll
intrinsic-use-isolated.ll
intrinsic-use.ll
invoke-2.ll ObjCARC: do not increment past the end of the BB 2017-10-24 00:09:10 +00:00
invoke.ll
move-and-form-retain-autorelease.ll
move-and-merge-autorelease.ll
nested.ll Remove alignment argument from memcpy/memmove/memset in favour of alignment attributes (Step 1) 2018-01-19 17:13:12 +00:00
opt-catchswitch.ll [ObjCARC] Prevent code motion into a catchswitch 2018-05-16 04:52:18 +00:00
path-overflow.ll
pointer-types.ll
post-inlining.ll
pr12270.ll
provenance.ll
retain-block-side-effects.ll
retain-not-declared.ll
rle-s2l.ll
rv.ll [ObjCARC] Do not turn a call to @objc_autoreleaseReturnValue into a call 2018-01-19 23:51:13 +00:00
split-backedge.ll
tail-call-invariant-enforcement.ll
unsafe-claim-rv.ll
weak-contract.ll
weak-copies.ll
weak-dce.ll
weak.ll