diff options
author | Michael Gottesman <mgottesman@apple.com> | 2013-01-12 01:25:19 +0000 |
---|---|---|
committer | Michael Gottesman <mgottesman@apple.com> | 2013-01-12 01:25:19 +0000 |
commit | 0e385450fc62a69cf7c557173f2f5df132702379 (patch) | |
tree | 41fb7c88e6c1f7532eb0361415c5ddf26c203bab /test/Transforms/ObjCARC | |
parent | e8c161a92451ad38919525ea73ae3c6936c24bdf (diff) |
Fixed bug in ObjCARC where we were changing a call from objc_autoreleaseRV => objc_autorelease but were not updating the InstructionClass to IC_Autorelease.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@172288 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms/ObjCARC')
-rw-r--r-- | test/Transforms/ObjCARC/tail-call-invariant-enforcement.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Transforms/ObjCARC/tail-call-invariant-enforcement.ll b/test/Transforms/ObjCARC/tail-call-invariant-enforcement.ll index d9e2c0c6ea..74ac97c7b3 100644 --- a/test/Transforms/ObjCARC/tail-call-invariant-enforcement.ll +++ b/test/Transforms/ObjCARC/tail-call-invariant-enforcement.ll @@ -67,7 +67,7 @@ entry: ; @objc_autorelease, ensure that the tail call is removed. define i8* @test5(i8* %x) { entry: - ; TMP: %tmp0 = call i8* @objc_autorelease(i8* %x) + ; CHECK: %tmp0 = call i8* @objc_autorelease(i8* %x) %tmp0 = tail call i8* @objc_autoreleaseReturnValue(i8* %x) ret i8* %tmp0 } |