1 ; RUN: llc -mtriple=i686-- -asm-verbose=false < %s | FileCheck %s
3 ; Check that merging switch cases that differ in one bit works.
8 define void @test1(i32 %variable) nounwind {
10 switch i32 %variable, label %if.end [
16 %call = tail call i32 (...) @bar() nounwind
24 ; CHECK: orl $-2147483648
25 ; CHECK-NEXT: cmpl $-2147483648
26 define void @test2(i32 %variable) nounwind {
28 switch i32 %variable, label %if.end [
30 i32 -2147483648, label %if.then
34 %call = tail call i32 (...) @bar() nounwind
41 declare i32 @bar(...) nounwind