aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/SelectionDAG/TargetLowering.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
commit3c6e746b5f05ffe3870e2aeadd2f9a3c0a96187b (patch)
tree8dc682c3c81593f07a895b92bd44a17f76a501a3 /lib/CodeGen/SelectionDAG/TargetLowering.cpp
parentb3b15711b9ee857dc835dd129b144ff4f2e72d6d (diff)
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129502 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/TargetLowering.cpp')
0 files changed, 0 insertions, 0 deletions