[PATCH] D23348: CodeExtractor : Move exit block splitting logic from PartialInliner to CodeExtractor
River Riddle via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 10 03:15:54 PDT 2016
rriddle created this revision.
rriddle added reviewers: silvas, davide.
rriddle added a subscriber: llvm-commits.
Exit blocks (BBs that are branched to by blocks that are being extracted) that have phis with more than 1 incoming edge from the extracted region need to be split into two blocks, one in the extracted region and one on the outside. Move this logic from PartialInlining to CodeExtractor.
https://reviews.llvm.org/D23348
Files:
include/llvm/Transforms/Utils/CodeExtractor.h
lib/Transforms/IPO/PartialInlining.cpp
lib/Transforms/Utils/CodeExtractor.cpp
test/Transforms/CodeExtractor/MultipleExitBranchProb.ll
test/Transforms/CodeExtractor/SplitExitBlockPhiNodes.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D23348.67499.patch
Type: text/x-patch
Size: 8565 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160810/c592125f/attachment.bin>
More information about the llvm-commits
mailing list