[ARM] Enable shrink-wrapping by default.
[oota-llvm.git] / test / CodeGen / Generic / empty-phi.ll
1 ; RUN: llc < %s
2
3 define void @f() {
4 entry:
5   br label %bb1
6
7 bb1:
8   %0 = phi [0 x { i8*, i64, i64 }] [ %load, %bb2 ], [ undef, %entry ]
9   store [0 x { i8*, i64, i64 }] %0, [0 x { i8*, i64, i64 }]* undef, align 8
10   %1 = icmp eq i64 undef, 0
11   br i1 %1, label %bb2, label %bb3
12
13 bb2:
14   %load = load [0 x { i8*, i64, i64 }], [0 x { i8*, i64, i64 }]* undef, align 8
15   br label %bb1
16
17 bb3:
18   ret void
19 }