1 ; RUN: llvm-upgrade < %s | llvm-as | opt -simplifycfg | llvm-dis | \
2 ; RUN: grep switch | count 1
4 ; Test that a switch going to a switch on the same value can be merged. All
5 ; three switches in this example can be merged into one big one.
12 void %test1(uint %V) {
13 switch uint %V, label %F [
21 switch uint %V, label %F [
38 switch uint %V, label %F [