1 ; RUN: opt < %s -passes=lower-switch -S | FileCheck %s
2 ; CHECK-NOT: icmp eq i32 %0, 1
4 define i32 @foo(i32 %a) #0 {
6 %retval = alloca i32, align 4
7 %a.addr = alloca i32, align 4
8 store i32 %a, ptr %a.addr, align 4
9 %0 = load i32, ptr %a.addr, align 4
10 switch i32 %0, label %sw.default [