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