[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
Tue Jan 14 09:36:41 PST 2020
ahatanak added inline comments.
================
Comment at: clang/test/CodeGenObjC/objc-alloc-init.m:30
@implementation Y
++(Class)class {
----------------
MadCoder wrote:
> 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?
Ah, right. I didn't see the NOT_OPTIMIZED line.
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