Fixed bug in ObjCARC where we were changing a call from objc_autoreleaseRV => objc_au...
authorMichael Gottesman <mgottesman@apple.com>
Sat, 12 Jan 2013 01:25:19 +0000 (01:25 +0000)
committerMichael Gottesman <mgottesman@apple.com>
Sat, 12 Jan 2013 01:25:19 +0000 (01:25 +0000)
commit0e385450fc62a69cf7c557173f2f5df132702379
tree41fb7c88e6c1f7532eb0361415c5ddf26c203bab
parente8c161a92451ad38919525ea73ae3c6936c24bdf
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
lib/Transforms/Scalar/ObjCARC.cpp
test/Transforms/ObjCARC/tail-call-invariant-enforcement.ll