aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Analysis/ModuleDebugInfoPrinter.cpp
diff options
context:
space:
mode:
authorQuentin Colombet <qcolombet@apple.com>2016-12-15 23:32:25 +0000
committerQuentin Colombet <qcolombet@apple.com>2016-12-15 23:32:25 +0000
commit327f942876d0fb83a3650cda6d4042112291b44a (patch)
treefe43593fa1d30fc2ba9cdbd770a45616db961902 /llvm/lib/Analysis/ModuleDebugInfoPrinter.cpp
parent0c7c687b5b96c7748ad9ba830053154105320bd7 (diff)
downloadllvm-327f942876d0fb83a3650cda6d4042112291b44a.zip
llvm-327f942876d0fb83a3650cda6d4042112291b44a.tar.gz
llvm-327f942876d0fb83a3650cda6d4042112291b44a.tar.bz2
[IRTranslator] Merge the entry and ABI lowering blocks.
The IRTranslator uses an additional block before the LLVM-IR entry block to perform all the ABI lowering and the constant hoisting. Thus, this block is the actual entry block and it falls through the LLVM-IR entry block. However, with such representation, we end up with two basic blocks that are not maximal. Therefore, this patch adds a bit of canonicalization by merging both the LLVM-IR entry block and the ABI lowering/constants hoisting into one block, making the resulting block more likely to be maximal (indeed the LLVM-IR entry block might not have been maximal). llvm-svn: 289891
Diffstat (limited to 'llvm/lib/Analysis/ModuleDebugInfoPrinter.cpp')
0 files changed, 0 insertions, 0 deletions