Xamarin Public Jenkins (auto-signing) f32dbaf0b2 Imported Upstream version 5.18.0.225
Former-commit-id: 10196d987d5fc5564b9d3b33b1fdf13190f4d0b5
2018-12-21 19:01:49 +00:00

28 lines
770 B
LLVM

; RUN: opt < %s -loop-rotate -verify-dom-info -verify-loop-info -disable-output
define void @func() {
bb0:
br label %bb1
bb1: ; preds = %bb4, %bb0
%0 = phi i16 [ %2, %bb4 ], [ 0, %bb0 ]
%1 = icmp sle i16 %0, 2
br i1 %1, label %bb2, label %bb5
bb2: ; preds = %bb1
br i1 undef, label %bb6, label %bb4
bb3: ; No predecessors!
br label %bb6
bb4: ; preds = %bb2
%2 = add i16 undef, 1
br label %bb1
bb5: ; preds = %bb1
br label %bb6
bb6: ; preds = %bb5, %bb3, %bb2
unreachable
}