HomePhabricator

[CodeGenObjC] invoke objc_autorelease, objc_retain when necessary

Authored by erik.pilkington on May 15 2019, 1:15 PM.

Description

[CodeGenObjC] invoke objc_autorelease, objc_retain when necessary

Any of these methods can be overridden, so we need to invoke these functions.

Differential revision: https://reviews.llvm.org/D61957

llvm-svn: 360802