aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineCombiner.cpp
diff options
context:
space:
mode:
authorMichael Kruse <llvm@meinersbur.de>2015-08-11 14:04:06 +0000
committerMichael Kruse <llvm@meinersbur.de>2015-08-11 14:04:06 +0000
commit23d0e83aa3745c51e1c32afa952e5bcec53cd251 (patch)
tree87175baf3a5087efef6e8d698a9883bad6f97912 /llvm/lib/CodeGen/MachineCombiner.cpp
parent81f1ffdbbbc59aa98a26b7e746f9a75eeb0182ca (diff)
downloadllvm-23d0e83aa3745c51e1c32afa952e5bcec53cd251.zip
llvm-23d0e83aa3745c51e1c32afa952e5bcec53cd251.tar.gz
llvm-23d0e83aa3745c51e1c32afa952e5bcec53cd251.tar.bz2
Introduce splitBlock and use it in splitEntryBlockForAlloca
RegionInfo::splitBlock did not update RegionInfo correctly. Specifically, it tried to make the new block the entry block if possible. This breaks for nested regions that have edges to the old block. We simply do not change the entry block. Updating RegionInfo becomes trivial as both block will always be in the same region. splitEntryBlockForAlloca makes use of the new splitBlock. Reviewers: grosser Part of Differential Revision: http://reviews.llvm.org/D11867 llvm-svn: 244600
Diffstat (limited to 'llvm/lib/CodeGen/MachineCombiner.cpp')
0 files changed, 0 insertions, 0 deletions