[ObjC][ARC] Delete ARC runtime calls that take inert phi values
authorAkira Hatanaka <ahatanaka@apple.com>
Sat, 8 Feb 2020 00:24:18 +0000 (16:24 -0800)
committerAkira Hatanaka <ahatanaka@apple.com>
Sat, 8 Feb 2020 00:31:36 +0000 (16:31 -0800)
commit6770fbb31450db15d8d4a2ac7f0ce70eaf2acc5f
tree3f36db5ff0b2dd181e5ea8da5110ecf15f2798b7
parentba9cae58bbdd41451ee67773c9d0f90a01756f12
[ObjC][ARC] Delete ARC runtime calls that take inert phi values

This improves on the following patch, which removed ARC runtime calls
taking inert global variables:

https://reviews.llvm.org/D62433

rdar://problem/59137105
llvm/lib/Transforms/ObjCARC/ObjCARCOpts.cpp
llvm/test/Transforms/ObjCARC/inert-global.ll