1 ; RUN: opt -S -simplifycfg < %s | FileCheck %s
3 define i32 @test1(i32 %x) nounwind {
5 switch i32 %i, label %a [
17 ; CHECK: %cond = icmp eq i32 %i, 24
18 ; CHECK: %merge = select i1 %cond, i32 5, i32 0
19 ; CHECK: ret i32 %merge
23 define i32 @test2(i32 %x) nounwind {
25 switch i32 %i, label %a [