aboutsummaryrefslogtreecommitdiffstats
path: root/bindings
diff options
context:
space:
mode:
authorManman Ren <mren@apple.com>2012-06-13 05:43:29 +0000
committerManman Ren <mren@apple.com>2012-06-13 05:43:29 +0000
commitee28e0fdd1955d9fe7acc05b3250ceee759ac3c6 (patch)
tree7e88f8e1466aedaf73e9643afdfb6a9e88400701 /bindings
parent764dc754fe52c3a61363fad341b68be397103668 (diff)
downloadexternal_llvm-ee28e0fdd1955d9fe7acc05b3250ceee759ac3c6.zip
external_llvm-ee28e0fdd1955d9fe7acc05b3250ceee759ac3c6.tar.gz
external_llvm-ee28e0fdd1955d9fe7acc05b3250ceee759ac3c6.tar.bz2
SimplifyCFG: fold unconditional branch to its predecessor if profitable.
This patch extends FoldBranchToCommonDest to fold unconditional branches. For unconditional branches, we fold them if it is easy to update the phi nodes in the common successors. rdar://10554090 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@158392 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'bindings')
0 files changed, 0 insertions, 0 deletions