summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/CompilerInvocation.cpp
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
commitd33f4efbfdef6ffccf212ab3e40a7673589085fd (patch)
tree34b882ee4de7fd72a9b3fd1335052664df03b782 /clang/lib/Frontend/CompilerInvocation.cpp
parent0948d93b7fdd571236536eff218aaadfaac5558e (diff)
downloadbcm5719-llvm-d33f4efbfdef6ffccf212ab3e40a7673589085fd.tar.gz
bcm5719-llvm-d33f4efbfdef6ffccf212ab3e40a7673589085fd.zip
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 llvm-svn: 158392
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud