Erase fence insertion from SelectionDAGBuilder.cpp (NFC)
[oota-llvm.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