diff options
author | Nadav Rotem <nrotem@apple.com> | 2012-08-14 05:19:07 +0000 |
---|---|---|
committer | Nadav Rotem <nrotem@apple.com> | 2012-08-14 05:19:07 +0000 |
commit | 70409991bc92beaced7a9abb7c5f2f1e30cc3721 (patch) | |
tree | def3a79a70ea6635a6c9cab07672ba229a85783a /llvm/lib/CodeGen/MachineSSAUpdater.cpp | |
parent | 160522c25acd8508903feea0f7fbb45b324ffcdf (diff) | |
download | llvm-70409991bc92beaced7a9abb7c5f2f1e30cc3721.zip llvm-70409991bc92beaced7a9abb7c5f2f1e30cc3721.tar.gz llvm-70409991bc92beaced7a9abb7c5f2f1e30cc3721.tar.bz2 |
During the CodeGenPrepare we often lower intrinsics (such as objsize)
and allow some optimizations to turn conditional branches into unconditional.
This commit adds a simple control-flow optimization which merges two consecutive
basic blocks which are connected by a single edge. This allows the codegen to
operate on larger basic blocks.
rdar://11973998
llvm-svn: 161852
Diffstat (limited to 'llvm/lib/CodeGen/MachineSSAUpdater.cpp')
0 files changed, 0 insertions, 0 deletions