blob: f9191b95f42e46b37330f5ce9a89cc8149abdeab [file] [log] [blame]
Peter Collingbourne0e5c0682014-12-19 20:50:07 +00001; RUN: llc < %s
2
3define void @f() {
4entry:
5 br label %bb1
6
7bb1:
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
13bb2:
David Blaikiea79ac142015-02-27 21:17:42 +000014 %load = load [0 x { i8*, i64, i64 }], [0 x { i8*, i64, i64 }]* undef, align 8
Peter Collingbourne0e5c0682014-12-19 20:50:07 +000015 br label %bb1
16
17bb3:
18 ret void
19}