44 lines · plain
1; RUN: llc < %s -verify-coalescing2; PR109983 4target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:32:32-n8:16:32"5target triple = "i386-unknown-freebsd8.2"6 7define void @test(i32 %arg1) nounwind align 2 {8bb11:9 %tmp13 = and i32 %arg1, 710 %tmp14 = add i32 %tmp13, -511 switch i32 %tmp13, label %bb18 [12 i32 0, label %bb2113 i32 4, label %bb2214 i32 3, label %bb2115 i32 2, label %bb1916 ]17 18bb18:19 %tmp202 = call i32 @f() nounwind20 unreachable21 22bb19:23 %tmp20 = call i32 @f() nounwind24 br label %bb2425 26bb21:27 %tmp203 = call i32 @f() nounwind28 br label %bb2429 30bb22:31 %tmp23 = call i32 @f() nounwind32 br label %bb2433 34bb24:35 %tmp15 = icmp ult i32 %tmp14, 236 %tmp55 = select i1 %tmp15, i32 45, i32 4437 %tmp56 = call i32 @f2(i32 %tmp55)38 unreachable39}40 41declare i32 @f()42 43declare i32 @f2(i32)44