[PATCH] D108243: Revert "Avoid needlessly copying a block to the heap when a block literal"

Walter Lee via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Sep 8 15:59:21 PDT 2021


waltl updated this revision to Diff 371467.
waltl added a comment.
Herald added a subscriber: dang.

As suggested, I put the optimization behind an off-by-default flag.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D108243

Files:
  clang/include/clang/Basic/CodeGenOptions.def
  clang/include/clang/Driver/Options.td
  clang/lib/CodeGen/CGObjC.cpp
  clang/test/CodeGenObjC/arc-block-copy-escape.m
  clang/test/CodeGenObjC/arc-blocks-avoid-heapify.m
  clang/test/CodeGenObjC/arc-blocks.m
  clang/test/CodeGenObjCXX/arc-blocks.mm
  clang/test/PCH/arc-blocks.mm

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D108243.371467.patch
Type: text/x-patch
Size: 24674 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210908/10d252b4/attachment-0001.bin>


More information about the cfe-commits mailing list