[objc-arc-contract] Refactor out tryToPeepholeInstruction into its own method. NFC.
authorMichael Gottesman <mgottesman@apple.com>
Thu, 19 Feb 2015 00:42:30 +0000 (00:42 +0000)
committerMichael Gottesman <mgottesman@apple.com>
Thu, 19 Feb 2015 00:42:30 +0000 (00:42 +0000)
commit1827973f803dd2c3b6fc541a383d1977ec1bf927
tree8a5970281aa7ee97463098525820004bcb1b041a
parent56bd6a077a22498befffdba83b1bd7f5e8ec9676
[objc-arc-contract] Refactor out tryToPeepholeInstruction into its own method. NFC.

The main method of ObjCARCContract is really large and busy. By refactoring this
out, it becomes easier to reason about.

llvm-svn: 229794
llvm/lib/Transforms/ObjCARC/ObjCARCContract.cpp