• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: llc < %s -march=xcore
2
3define void @f( ) {
4entry:
5
6  switch i32 undef, label %default [
7    i32 0, label %start
8  ]
9
10start:
11  br label %end
12
13default:
14  %arg = fadd double undef, undef
15  %res = call double @f2(i32 undef, double %arg, double undef)
16  br label %end
17
18end:
19  %unused = phi double [ %res, %default ], [ undef, %start ]
20
21  unreachable
22}
23
24declare double @f2(i32, double, double)
25
26