1 ; RUN: opt < %s -loop-rotate -S | FileCheck %s
2 ; RUN: opt < %s -loop-rotate -enable-mssa-loop-dependency=true -verify-memoryssa -S | FileCheck %s
4 @a = external global i8, align 4
8 ; CHECK-LABEL: define void @f(
9 ; CHECK: getelementptr i8, i8* @a, i32 0
11 br label %for.preheader
14 br i1 undef, label %if.then8, label %for.body
17 br i1 undef, label %if.end, label %if.then8
20 %arrayidx = getelementptr i8, i8* @a, i32 0
21 br label %for.preheader