[PATCH] D34834: [objc] Don't require null-check and don't emit memset when result is ignored for struct-returning method calls

Kuba (Brecka) Mracek via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 29 14:52:15 PDT 2017


kubamracek updated this revision to Diff 104744.
kubamracek added a comment.

Adding a test, updating the comment.


https://reviews.llvm.org/D34834

Files:
  projects/compiler-rt/test/asan/TestCases/Darwin/nil-return-struct.mm
  tools/clang/lib/CodeGen/CGObjCMac.cpp
  tools/clang/test/CodeGenObjC/stret-1.m
  tools/clang/test/CodeGenObjC/stret-lifetime.m

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D34834.104744.patch
Type: text/x-patch
Size: 7273 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170629/2b41bff0/attachment.bin>


More information about the llvm-commits mailing list