diff options
author | Chris Lattner <sabre@nondot.org> | 2011-04-14 02:44:53 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2011-04-14 02:44:53 +0000 |
commit | fba5cdfce11364affdf153f6cbfe67d19814291e (patch) | |
tree | 1874acd63cb13b740b9d5e5be7af8cf5661d3876 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 35a65b2aa61e674e366c58e1da0c2c89ff60a648 (diff) | |
download | bcm5719-llvm-fba5cdfce11364affdf153f6cbfe67d19814291e.tar.gz bcm5719-llvm-fba5cdfce11364affdf153f6cbfe67d19814291e.zip |
rework FoldBranchToCommonDest to exit earlier when there is a bonus
instruction around, reducing work.
Greatly simplify handling of debug instructions. There is no need to
build up a vector of them and then move them into the one predecessor
if we're processing a block. Instead just rescan the block and *copy*
them into the pred. If a block gets merged into multiple preds, this
will retain more debug info.
llvm-svn: 129502
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions