[PATCH] D22710: Add option to CodeExtractor for hoisting dominated static allocas

River Riddle via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 22 17:12:48 PDT 2016


rriddle created this revision.
rriddle added a reviewer: davide.
rriddle added a subscriber: llvm-commits.

Give CodeExtractor the ability to hoist any static allocas that have all of their uses inside of the extracted region to be hoisted into the new function.

https://reviews.llvm.org/D22710

Files:
  /Users/rriddle/Desktop/llvm/llvm/include/llvm/Transforms/Utils/CodeExtractor.h
  /Users/rriddle/Desktop/llvm/llvm/lib/Transforms/IPO/PartialInlining.cpp
  /Users/rriddle/Desktop/llvm/llvm/lib/Transforms/Utils/CodeExtractor.cpp
  /Users/rriddle/Desktop/llvm/llvm/test/Transforms/CodeExtractor/2016-07-20-ExtractDominatedStaticAllocas.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D22710.65197.patch
Type: text/x-patch
Size: 11798 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160723/5aaac8e6/attachment.bin>


More information about the llvm-commits mailing list