[llvm] [ObjCARC] Allow removal of autoreleasepools (PR #85493)

Akira Hatanaka via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 18 11:02:37 PDT 2024


================
@@ -615,15 +617,15 @@ ObjCARCOpt::OptimizeRetainRVCall(Function &F, Instruction *RetainRV) {
       while (IsNoopInstruction(&*I))
         ++I;
       if (&*I == RetainRV)
-        return false;
----------------
ahatanak wrote:

Can you make changes to `OptimizeRetainRVCall` in a separate patch? The function always returns `false`, so it'll be a NFC patch.

https://github.com/llvm/llvm-project/pull/85493


More information about the llvm-commits mailing list