]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/CodeGen/XCore/shedulingPreference.ll
Vendor import of llvm RELEASE_360/rc1 tag r226102 (effectively, 3.6.0 RC1):
[FreeBSD/FreeBSD.git] / test / CodeGen / XCore / shedulingPreference.ll
1 ; RUN: llc < %s -march=xcore
2
3 define void @f( ) {
4 entry:
5
6   switch i32 undef, label %default [
7     i32 0, label %start
8   ]
9
10 start:
11   br label %end
12
13 default:
14   %arg = fadd double undef, undef
15   %res = call double @f2(i32 undef, double %arg, double undef)
16   br label %end
17
18 end:
19   %unused = phi double [ %res, %default ], [ undef, %start ]
20
21   unreachable
22 }
23
24 declare double @f2(i32, double, double)
25