diff options
| author | Eli Friedman <eli.friedman@gmail.com> | 2008-12-16 20:54:32 +0000 |
|---|---|---|
| committer | Eli Friedman <eli.friedman@gmail.com> | 2008-12-16 20:54:32 +0000 |
| commit | cb61afb54610ef11d469dd6327b40d06ea85dc1b (patch) | |
| tree | f445764ab0b3425ffb73ca691de6a1d0331d716a /llvm/lib/Transforms/IPO | |
| parent | 42b1e9e2527c53fa0da22105c13e4ba5aa9d92f6 (diff) | |
| download | bcm5719-llvm-cb61afb54610ef11d469dd6327b40d06ea85dc1b.tar.gz bcm5719-llvm-cb61afb54610ef11d469dd6327b40d06ea85dc1b.zip | |
Add a helper to remove a branch and DCE the condition, and use it
consistently for deleting branches. In addition to being slightly
more readable, this makes SimplifyCFG a bit better
about cleaning up after itself when it makes conditions unused.
llvm-svn: 61100
Diffstat (limited to 'llvm/lib/Transforms/IPO')
0 files changed, 0 insertions, 0 deletions

