[objc-arc] Cleaned up tail-call-invariant-enforcement.ll.
authorMichael Gottesman <mgottesman@apple.com>
Sun, 21 Apr 2013 02:59:44 +0000 (02:59 +0000)
committerMichael Gottesman <mgottesman@apple.com>
Sun, 21 Apr 2013 02:59:44 +0000 (02:59 +0000)
commit899b2f9d0b3805ff360236a5de61637dc64bcdfd
tree8b6b3e80711f4d3fe843de4d66eefcb5622bfc61
parentbf9cac7ebb7860ed7b768e1c8e2f7c02feb4a8b5
[objc-arc] Cleaned up tail-call-invariant-enforcement.ll.

Specifically:

1. Added checks that unwind is being properly added to various instructions.
2. Fixed the declaration/calling of objc_release to have a return type of void.
3. Moved all checks to precede the functions and added checks to ensure that the
checks would only match inside the specific function that we are attempting to
check.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179973 91177308-0d34-0410-b5e6-96231b3b80d8
test/Transforms/ObjCARC/tail-call-invariant-enforcement.ll