Xamarin Public Jenkins (auto-signing) 64ac736ec5 Imported Upstream version 6.0.0.172
Former-commit-id: f3cc9b82f3e5bd8f0fd3ebc098f789556b44e9cd
2019-04-12 14:10:50 +00:00

25 lines
456 B
LLVM

; RUN: opt < %s -loop-rotate -S | FileCheck %s
@a = external global i8, align 4
@tmp = global i8* @a
define void @f() {
; CHECK-LABEL: define void @f(
; CHECK: getelementptr i8, i8* @a, i32 0
entry:
br label %for.preheader
for.preheader:
br i1 undef, label %if.then8, label %for.body
for.body:
br i1 undef, label %if.end, label %if.then8
if.end:
%arrayidx = getelementptr i8, i8* @a, i32 0
br label %for.preheader
if.then8:
unreachable
}