[PATCH] D71682: Relax the rules around objc_alloc and objc_alloc_init optimizations.

Pierre Habouzit via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 14 08:59:19 PST 2020


MadCoder marked an inline comment as done.
MadCoder added inline comments.


================
Comment at: clang/test/CodeGenObjC/objc-alloc-init.m:30
 
 @implementation Y
++(Class)class {
----------------
ahatanak wrote:
> Can you add a test case for `[[self class] alloc]` to test the code in `tryGenerateSpecializedMessageSend`?
isn't it what meth2 is doing?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D71682





More information about the cfe-commits mailing list