1; RUN: opt < %s -loop-rotate -S | FileCheck %s
2
3@a = external global i8, align 4
4@tmp = global i8* @a
5
6define void @f() {
7; CHECK-LABEL: define void @f(
8; CHECK: getelementptr i8, i8* @a, i32 0
9entry:
10  br label %for.preheader
11
12for.preheader:
13  br i1 undef, label %if.then8, label %for.body
14
15for.body:
16  br i1 undef, label %if.end, label %if.then8
17
18if.end:
19  %arrayidx = getelementptr i8, i8* @a, i32 0
20  br label %for.preheader
21
22if.then8:
23  unreachable
24}
25