summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2011-04-14 02:44:53 +0000
committerChris Lattner <sabre@nondot.org>2011-04-14 02:44:53 +0000
commitfba5cdfce11364affdf153f6cbfe67d19814291e (patch)
tree1874acd63cb13b740b9d5e5be7af8cf5661d3876 /clang/lib/Frontend/CompilerInvocation.cpp
parent35a65b2aa61e674e366c58e1da0c2c89ff60a648 (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud