diff options
| author | Reid Spencer <rspencer@reidspencer.com> | 2007-01-17 07:59:14 +0000 |
|---|---|---|
| committer | Reid Spencer <rspencer@reidspencer.com> | 2007-01-17 07:59:14 +0000 |
| commit | 83b3d8267225d585678d5d3af9bba5735f4b415d (patch) | |
| tree | 9d6c2ad7bfd568186e83a39e6f03e1c0bf415715 /llvm/test/Regression/Transforms/SimplifyCFG/switch_switch_fold.ll | |
| parent | 100602d7561ca5e245db6194bddae86357d203d4 (diff) | |
| download | bcm5719-llvm-83b3d8267225d585678d5d3af9bba5735f4b415d.tar.gz bcm5719-llvm-83b3d8267225d585678d5d3af9bba5735f4b415d.zip | |
Regression is gone, don't try to find it on clean target.
llvm-svn: 33296
Diffstat (limited to 'llvm/test/Regression/Transforms/SimplifyCFG/switch_switch_fold.ll')
| -rw-r--r-- | llvm/test/Regression/Transforms/SimplifyCFG/switch_switch_fold.ll | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/llvm/test/Regression/Transforms/SimplifyCFG/switch_switch_fold.ll b/llvm/test/Regression/Transforms/SimplifyCFG/switch_switch_fold.ll deleted file mode 100644 index 8bc5b8d2e65..00000000000 --- a/llvm/test/Regression/Transforms/SimplifyCFG/switch_switch_fold.ll +++ /dev/null @@ -1,46 +0,0 @@ -; RUN: llvm-upgrade < %s | llvm-as | opt -simplifycfg | llvm-dis | grep switch | wc -l | grep 1 - -; Test that a switch going to a switch on the same value can be merged. All -; three switches in this example can be merged into one big one. - -declare void %foo1() -declare void %foo2() -declare void %foo3() -declare void %foo4() - -void %test1(uint %V) { - switch uint %V, label %F [ - uint 4, label %T - uint 17, label %T - uint 5, label %T - uint 1234, label %F - ] - -T: - switch uint %V, label %F [ - uint 4, label %A - uint 17, label %B - uint 42, label %C - ] -A: - call void %foo1() - ret void - -B: - call void %foo2() - ret void -C: - call void %foo3() - ret void - -F: - switch uint %V, label %F [ - uint 4, label %B - uint 18, label %B - uint 42, label %D - ] -D: - call void %foo4() - ret void -} - |

