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

Akira Hatanaka via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jan 13 16:03:49 PST 2020


ahatanak added inline comments.


================
Comment at: clang/test/CodeGenObjC/objc-alloc-init.m:30
 
 @implementation Y
++(Class)class {
----------------
Can you add a test case for `[[self class] alloc]` to test the code in `tryGenerateSpecializedMessageSend`?


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