| commit | ff97acd8f1c9a0b067ad97e4987e0e48d0d8f39e | [log] [tgz] |
|---|---|---|
| author | Dan Gohman <gohman@apple.com> | Thu Oct 22 00:03:58 2009 +0000 |
| committer | Dan Gohman <gohman@apple.com> | Thu Oct 22 00:03:58 2009 +0000 |
| tree | 502895a183e183e4e3043a4bcb84dab0f42155ac | |
| parent | 649bf5c04b6010f8b1a4cf8fadab941cf0baf420 [diff] |
Revert the main portion of r31856. It was causing BranchFolding to break up CFG diamonds by banishing one of the blocks to the end of the function, which is bad for code density and branch size. This does pessimize MultiSource/Benchmarks/Ptrdist/yacr2, the benchmark cited as the reason for the change, however I've examined the code and it looks more like a case of gaming a particular branch than of being generally applicable. llvm-svn: 84803