26 lines · plain
1; RUN: llc < %s -mtriple=xcore2 3define void @f( ) {4entry:5 6 switch i32 undef, label %default [7 i32 0, label %start8 ]9 10start:11 br label %end12 13default:14 %arg = fadd double undef, undef15 %res = call double @f2(i32 undef, double %arg, double undef)16 br label %end17 18end:19 %unused = phi double [ %res, %default ], [ undef, %start ]20 21 unreachable22}23 24declare double @f2(i32, double, double)25 26