1 ; RUN: llvm-upgrade < %s | llvm-as | opt -simplifycfg | llvm-dis | \
2 ; RUN: not grep {icmp eq}
4 ; Check that simplifycfg deletes a dead 'seteq' instruction when it
5 ; folds a conditional branch into a switch instruction.
10 void %testcfg(uint %V) {
11 %C = seteq uint %V, 18
12 %D = seteq uint %V, 180
14 br bool %E, label %L1, label %Sw
16 switch uint %V, label %L1 [