diff options
| author | Dan Gohman <gohman@apple.com> | 2009-10-22 00:03:58 +0000 |
|---|---|---|
| committer | Dan Gohman <gohman@apple.com> | 2009-10-22 00:03:58 +0000 |
| commit | ff97acd8f1c9a0b067ad97e4987e0e48d0d8f39e (patch) | |
| tree | 502895a183e183e4e3043a4bcb84dab0f42155ac /llvm/test/CodeGen/Generic/switch-lower-feature-2.ll | |
| parent | 649bf5c04b6010f8b1a4cf8fadab941cf0baf420 (diff) | |
| download | bcm5719-llvm-ff97acd8f1c9a0b067ad97e4987e0e48d0d8f39e.tar.gz bcm5719-llvm-ff97acd8f1c9a0b067ad97e4987e0e48d0d8f39e.zip | |
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
Diffstat (limited to 'llvm/test/CodeGen/Generic/switch-lower-feature-2.ll')
| -rw-r--r-- | llvm/test/CodeGen/Generic/switch-lower-feature-2.ll | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/CodeGen/Generic/switch-lower-feature-2.ll b/llvm/test/CodeGen/Generic/switch-lower-feature-2.ll index d6e56471c36..80e0618e05f 100644 --- a/llvm/test/CodeGen/Generic/switch-lower-feature-2.ll +++ b/llvm/test/CodeGen/Generic/switch-lower-feature-2.ll @@ -5,9 +5,9 @@ ; RUN: grep 1023 %t | count 1 ; RUN: grep 119 %t | count 1 ; RUN: grep JTI %t | count 2 -; RUN: grep jg %t | count 1 +; RUN: grep jg %t | count 3 ; RUN: grep ja %t | count 1 -; RUN: grep js %t | count 1 +; RUN: grep jns %t | count 1 target triple = "i686-pc-linux-gnu" |

