[PATCH] D33847: [PartialInlining] Enhance partial inliner to sink wraps locals declared outside the outline region

David Li via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 2 12:11:47 PDT 2017


davidxl created this revision.

This is a follow up to the previous patch that shrinkwraps allocas of locals that are declared inside the outline region.

With this patch, the machinery is introduced to handle more general case when life time markers are outside the region. This is the first step which is not yet hooked up with AA yet.


https://reviews.llvm.org/D33847

Files:
  include/llvm/Transforms/Utils/CodeExtractor.h
  lib/Transforms/Utils/CodeExtractor.cpp
  test/Transforms/CodeExtractor/live_shrink.ll
  test/Transforms/CodeExtractor/live_shrink_gep.ll
  test/Transforms/CodeExtractor/live_shrink_hoist.ll
  test/Transforms/CodeExtractor/live_shrink_multiple.ll
  test/Transforms/CodeExtractor/live_shrink_unsafe.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D33847.101258.patch
Type: text/x-patch
Size: 27441 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170602/8503d735/attachment.bin>


More information about the llvm-commits mailing list