aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp
diff options
context:
space:
mode:
authorSebastian Pop <sebpop@gmail.com>2018-09-14 20:36:14 +0000
committerSebastian Pop <sebpop@gmail.com>2018-09-14 20:36:14 +0000
commit3abcf690745a47c181d26425ae096924812eb305 (patch)
tree5c6730d2f9d8c12dfff2f8de593f07a2b413e8fc /clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp
parent1217160bb3107226ba8c8e1f7cc45ecd149a6229 (diff)
downloadllvm-3abcf690745a47c181d26425ae096924812eb305.zip
llvm-3abcf690745a47c181d26425ae096924812eb305.tar.gz
llvm-3abcf690745a47c181d26425ae096924812eb305.tar.bz2
HotColdSplit: fix isSingleEntrySingleExit
remove duplicate entries from isSingleEntrySingleExit: the Entry block is already added by the loop over the dominance frontier. Remove the heuristic from isOutlineCandidate that a region is too small when it only contains a basic block. With this change we now grow regions starting from a block and we continue adding to the ValidColdRegion. Check the heuristic just before code generation. llvm-svn: 342276
Diffstat (limited to 'clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions