[PATCH] D62433: [ObjC][ARC] Delete ObjC runtime calls if the argument is a global variable

Michael Gottesman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 28 14:34:43 PDT 2019


gottesmm added a comment.

I don't remember. That being said, this should be a conservative optimization. What if someone adds in the future a different global where this isn't a no-op. Is it possible if you know what the global is to add a whitelist that you only care about those 2 things.


Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D62433/new/

https://reviews.llvm.org/D62433





More information about the llvm-commits mailing list