int test1() {
  int array[100];
  int i;
  for (i = 0; i < 100; i++)
    array[i] = i;
#pragma acc enter data copyin(array [10:80])
#pragma acc kernels loop present(array [10:80])
  for (i = 10; i < 90; i++) {
    array[i]++;
  }
#pragma acc exit data copyout(array [10:80])
  for (i = 0; i < 100; i++) {
    if (i >= 10 && i < 90) {
      if (array[i] != i + 1)
        return 1;
    } else {
      if (array[i] != i)
        return 2;
    }
  }
  return 0;
}


x86 assembly (clang, -O0):
<test1>:
push   %rbp
mov    %rsp,%rbp
sub    $0x130,%rsp
movl   $0x0,-0x1a4(%rbp)
cmpl   $0x64,-0x1a4(%rbp)
jge    114a <test1+0x4a>
mov    -0x1a4(%rbp),%ecx
movslq -0x1a4(%rbp),%rax
mov    %ecx,-0x1a0(%rbp,%rax,4)
mov    -0x1a4(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1a4(%rbp)
jmp    1115 <test1+0x15>
movl   $0xa,-0x1a4(%rbp)
cmpl   $0x5a,-0x1a4(%rbp)
jge    118d <test1+0x8d>
movslq -0x1a4(%rbp),%rax
mov    -0x1a0(%rbp,%rax,4),%ecx
add    $0x1,%ecx
mov    %ecx,-0x1a0(%rbp,%rax,4)
mov    -0x1a4(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1a4(%rbp)
jmp    1154 <test1+0x54>
movl   $0x0,-0x1a4(%rbp)
cmpl   $0x64,-0x1a4(%rbp)
jge    1232 <test1+0x132>
cmpl   $0xa,-0x1a4(%rbp)
jl     11ee <test1+0xee>
cmpl   $0x5a,-0x1a4(%rbp)
jge    11ee <test1+0xee>
movslq -0x1a4(%rbp),%rax
mov    -0x1a0(%rbp,%rax,4),%eax
mov    -0x1a4(%rbp),%ecx
add    $0x1,%ecx
cmp    %ecx,%eax
je     11e9 <test1+0xe9>
movl   $0x1,-0x4(%rbp)
jmp    1239 <test1+0x139>
jmp    1219 <test1+0x119>
movslq -0x1a4(%rbp),%rax
mov    -0x1a0(%rbp,%rax,4),%eax
cmp    -0x1a4(%rbp),%eax
je     1214 <test1+0x114>
movl   $0x2,-0x4(%rbp)
jmp    1239 <test1+0x139>
jmp    1219 <test1+0x119>
jmp    121e <test1+0x11e>
mov    -0x1a4(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1a4(%rbp)
jmp    1197 <test1+0x97>
movl   $0x0,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x130,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<test1>:
sub    $0x118,%rsp
movaps 0xef2(%rip),%xmm0
movaps %xmm0,-0x80(%rsp)
movaps 0xef6(%rip),%xmm0
movaps %xmm0,-0x70(%rsp)
movaps 0xefa(%rip),%xmm0
movaps %xmm0,-0x60(%rsp)
movaps 0xefe(%rip),%xmm0
movaps %xmm0,-0x50(%rsp)
movaps 0xf02(%rip),%xmm0
movaps %xmm0,-0x40(%rsp)
movaps 0xf06(%rip),%xmm0
movaps %xmm0,-0x30(%rsp)
movaps 0xf0a(%rip),%xmm0
movaps %xmm0,-0x20(%rsp)
movaps 0xf0e(%rip),%xmm0
movaps %xmm0,-0x10(%rsp)
movaps 0xf12(%rip),%xmm0
movaps %xmm0,(%rsp)
movaps 0xf17(%rip),%xmm0
movaps %xmm0,0x10(%rsp)
movaps 0xf1b(%rip),%xmm0
movaps %xmm0,0x20(%rsp)
movaps 0xf1f(%rip),%xmm0
movaps %xmm0,0x30(%rsp)
movaps 0xf23(%rip),%xmm0
movaps %xmm0,0x40(%rsp)
movaps 0xf27(%rip),%xmm0
movaps %xmm0,0x50(%rsp)
movaps 0xf2b(%rip),%xmm0
movaps %xmm0,0x60(%rsp)
movaps 0xf2f(%rip),%xmm0
movaps %xmm0,0x70(%rsp)
movaps 0xf33(%rip),%xmm0
movaps %xmm0,0x80(%rsp)
movaps 0xf34(%rip),%xmm0
movaps %xmm0,0x90(%rsp)
movaps 0xf35(%rip),%xmm0
movaps %xmm0,0xa0(%rsp)
movaps 0xf36(%rip),%xmm0
movaps %xmm0,0xb0(%rsp)
movaps 0xf37(%rip),%xmm0
movaps %xmm0,0xc0(%rsp)
movaps 0xf38(%rip),%xmm0
movaps %xmm0,0xd0(%rsp)
movaps 0xf39(%rip),%xmm0
movaps %xmm0,0xe0(%rsp)
movaps 0xf3a(%rip),%xmm0
movaps %xmm0,0xf0(%rsp)
movdqa 0xf3a(%rip),%xmm0
movdqa %xmm0,0x100(%rsp)
pcmpeqd %xmm0,%xmm0
movdqu -0x58(%rsp),%xmm1
movdqu -0x48(%rsp),%xmm2
movdqu -0x38(%rsp),%xmm3
movdqu -0x28(%rsp),%xmm4
psubd  %xmm0,%xmm1
movdqu %xmm1,-0x58(%rsp)
psubd  %xmm0,%xmm2
movdqu %xmm2,-0x48(%rsp)
psubd  %xmm0,%xmm3
movdqu %xmm3,-0x38(%rsp)
psubd  %xmm0,%xmm4
movdqu %xmm4,-0x28(%rsp)
movdqu -0x18(%rsp),%xmm1
psubd  %xmm0,%xmm1
movdqu %xmm1,-0x18(%rsp)
movdqu -0x8(%rsp),%xmm1
psubd  %xmm0,%xmm1
movdqu %xmm1,-0x8(%rsp)
movdqu 0x8(%rsp),%xmm1
psubd  %xmm0,%xmm1
movdqu %xmm1,0x8(%rsp)
movdqu 0x18(%rsp),%xmm1
psubd  %xmm0,%xmm1
movdqu %xmm1,0x18(%rsp)
movdqu 0x28(%rsp),%xmm1
psubd  %xmm0,%xmm1
movdqu %xmm1,0x28(%rsp)
movdqu 0x38(%rsp),%xmm1
psubd  %xmm0,%xmm1
movdqu %xmm1,0x38(%rsp)
movdqu 0x48(%rsp),%xmm1
psubd  %xmm0,%xmm1
movdqu %xmm1,0x48(%rsp)
movdqu 0x58(%rsp),%xmm1
psubd  %xmm0,%xmm1
movdqu %xmm1,0x58(%rsp)
movdqu 0x68(%rsp),%xmm1
psubd  %xmm0,%xmm1
movdqu %xmm1,0x68(%rsp)
movdqu 0x78(%rsp),%xmm1
psubd  %xmm0,%xmm1
movdqu %xmm1,0x78(%rsp)
movdqu 0x88(%rsp),%xmm1
psubd  %xmm0,%xmm1
movdqu %xmm1,0x88(%rsp)
movdqu 0x98(%rsp),%xmm1
psubd  %xmm0,%xmm1
movdqu %xmm1,0x98(%rsp)
movdqu 0xa8(%rsp),%xmm1
psubd  %xmm0,%xmm1
movdqu %xmm1,0xa8(%rsp)
movdqu 0xb8(%rsp),%xmm1
psubd  %xmm0,%xmm1
movdqu %xmm1,0xb8(%rsp)
movdqu 0xc8(%rsp),%xmm1
psubd  %xmm0,%xmm1
movdqu %xmm1,0xc8(%rsp)
movdqu 0xd8(%rsp),%xmm1
psubd  %xmm0,%xmm1
movdqu %xmm1,0xd8(%rsp)
xor    %eax,%eax
jmp    13cf <test1+0x2cf>
nopl   0x0(%rax,%rax,1)
add    $0x1,%rax
cmp    %rcx,%rax
jne    13f4 <test1+0x2f4>
cmp    $0x64,%rax
je     13ea <test1+0x2ea>
lea    -0xa(%rax),%edx
mov    -0x80(%rsp,%rax,4),%ecx
cmp    $0x4f,%edx
jbe    13c0 <test1+0x2c0>
cmp    %rcx,%rax
jne    1401 <test1+0x301>
add    $0x1,%rax
cmp    $0x64,%rax
jne    13cf <test1+0x2cf>
xor    %eax,%eax
add    $0x118,%rsp
ret
mov    $0x1,%eax
add    $0x118,%rsp
ret
mov    $0x2,%eax
add    $0x118,%rsp
ret

LLVM IR (-O0):
define i32 @test1() {
%1 = alloca i32
%2 = alloca [100 x i32]
%3 = alloca i32
store i32 0, i32* %3
br label %4
4: ; preds = %12, %0
%5 = load i32, i32* %3
%6 = icmp slt i32 %5, 100
br i1 %6, label %7, label %15
7: ; preds = %4
%8 = load i32, i32* %3
%9 = load i32, i32* %3
%10 = sext i32 %9 to i64
%11 = getelementptr inbounds [100 x i32], [100 x i32]* %2, i64 0, i64 %10
store i32 %8, i32* %11
br label %12
12: ; preds = %7
%13 = load i32, i32* %3
%14 = add nsw i32 %13, 1
store i32 %14, i32* %3
br label %4
15: ; preds = %4
store i32 10, i32* %3
br label %16
16: ; preds = %25, %15
%17 = load i32, i32* %3
%18 = icmp slt i32 %17, 90
br i1 %18, label %19, label %28
19: ; preds = %16
%20 = load i32, i32* %3
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds [100 x i32], [100 x i32]* %2, i64 0, i64 %21
%23 = load i32, i32* %22
%24 = add nsw i32 %23, 1
store i32 %24, i32* %22
br label %25
25: ; preds = %19
%26 = load i32, i32* %3
%27 = add nsw i32 %26, 1
store i32 %27, i32* %3
br label %16
28: ; preds = %16
store i32 0, i32* %3
br label %29
29: ; preds = %58, %28
%30 = load i32, i32* %3
%31 = icmp slt i32 %30, 100
br i1 %31, label %32, label %61
32: ; preds = %29
%33 = load i32, i32* %3
%34 = icmp sge i32 %33, 10
br i1 %34, label %35, label %48
35: ; preds = %32
%36 = load i32, i32* %3
%37 = icmp slt i32 %36, 90
br i1 %37, label %38, label %48
38: ; preds = %35
%39 = load i32, i32* %3
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds [100 x i32], [100 x i32]* %2, i64 0, i64 %40
%42 = load i32, i32* %41
%43 = load i32, i32* %3
%44 = add nsw i32 %43, 1
%45 = icmp ne i32 %42, %44
br i1 %45, label %46, label %47
46: ; preds = %38
store i32 1, i32* %1
br label %62
47: ; preds = %38
br label %57
48: ; preds = %35, %32
%49 = load i32, i32* %3
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds [100 x i32], [100 x i32]* %2, i64 0, i64 %50
%52 = load i32, i32* %51
%53 = load i32, i32* %3
%54 = icmp ne i32 %52, %53
br i1 %54, label %55, label %56
55: ; preds = %48
store i32 2, i32* %1
br label %62
56: ; preds = %48
br label %57
57: ; preds = %56, %47
br label %58
58: ; preds = %57
%59 = load i32, i32* %3
%60 = add nsw i32 %59, 1
store i32 %60, i32* %3
br label %29
61: ; preds = %29
store i32 0, i32* %1
br label %62
62: ; preds = %61, %55, %46
%63 = load i32, i32* %1
ret i32 %63
}

LLVM IR (-O2):
define i32 @test1() {
%1 = alloca [100 x i32]
%2 = bitcast [100 x i32]* %1 to i8*
%3 = bitcast [100 x i32]* %1 to <4 x i32>*
store <4 x i32> <i32 0, i32 1, i32 2, i32 3>, <4 x i32>* %3
%4 = getelementptr inbounds [100 x i32], [100 x i32]* %1, i64 0, i64 4
%5 = bitcast i32* %4 to <4 x i32>*
store <4 x i32> <i32 4, i32 5, i32 6, i32 7>, <4 x i32>* %5
%6 = getelementptr inbounds [100 x i32], [100 x i32]* %1, i64 0, i64 8
%7 = bitcast i32* %6 to <4 x i32>*
store <4 x i32> <i32 8, i32 9, i32 10, i32 11>, <4 x i32>* %7
%8 = getelementptr inbounds [100 x i32], [100 x i32]* %1, i64 0, i64 12
%9 = bitcast i32* %8 to <4 x i32>*
store <4 x i32> <i32 12, i32 13, i32 14, i32 15>, <4 x i32>* %9
%10 = getelementptr inbounds [100 x i32], [100 x i32]* %1, i64 0, i64 16
%11 = bitcast i32* %10 to <4 x i32>*
store <4 x i32> <i32 16, i32 17, i32 18, i32 19>, <4 x i32>* %11
%12 = getelementptr inbounds [100 x i32], [100 x i32]* %1, i64 0, i64 20
%13 = bitcast i32* %12 to <4 x i32>*
store <4 x i32> <i32 20, i32 21, i32 22, i32 23>, <4 x i32>* %13
%14 = getelementptr inbounds [100 x i32], [100 x i32]* %1, i64 0, i64 24
%15 = bitcast i32* %14 to <4 x i32>*
store <4 x i32> <i32 24, i32 25, i32 26, i32 27>, <4 x i32>* %15
%16 = getelementptr inbounds [100 x i32], [100 x i32]* %1, i64 0, i64 28
%17 = bitcast i32* %16 to <4 x i32>*
store <4 x i32> <i32 28, i32 29, i32 30, i32 31>, <4 x i32>* %17
%18 = getelementptr inbounds [100 x i32], [100 x i32]* %1, i64 0, i64 32
%19 = bitcast i32* %18 to <4 x i32>*
store <4 x i32> <i32 32, i32 33, i32 34, i32 35>, <4 x i32>* %19
%20 = getelementptr inbounds [100 x i32], [100 x i32]* %1, i64 0, i64 36
%21 = bitcast i32* %20 to <4 x i32>*
store <4 x i32> <i32 36, i32 37, i32 38, i32 39>, <4 x i32>* %21
%22 = getelementptr inbounds [100 x i32], [100 x i32]* %1, i64 0, i64 40
%23 = bitcast i32* %22 to <4 x i32>*
store <4 x i32> <i32 40, i32 41, i32 42, i32 43>, <4 x i32>* %23
%24 = getelementptr inbounds [100 x i32], [100 x i32]* %1, i64 0, i64 44
%25 = bitcast i32* %24 to <4 x i32>*
store <4 x i32> <i32 44, i32 45, i32 46, i32 47>, <4 x i32>* %25
%26 = getelementptr inbounds [100 x i32], [100 x i32]* %1, i64 0, i64 48
%27 = bitcast i32* %26 to <4 x i32>*
store <4 x i32> <i32 48, i32 49, i32 50, i32 51>, <4 x i32>* %27
%28 = getelementptr inbounds [100 x i32], [100 x i32]* %1, i64 0, i64 52
%29 = bitcast i32* %28 to <4 x i32>*
store <4 x i32> <i32 52, i32 53, i32 54, i32 55>, <4 x i32>* %29
%30 = getelementptr inbounds [100 x i32], [100 x i32]* %1, i64 0, i64 56
%31 = bitcast i32* %30 to <4 x i32>*
store <4 x i32> <i32 56, i32 57, i32 58, i32 59>, <4 x i32>* %31
%32 = getelementptr inbounds [100 x i32], [100 x i32]* %1, i64 0, i64 60
%33 = bitcast i32* %32 to <4 x i32>*
store <4 x i32> <i32 60, i32 61, i32 62, i32 63>, <4 x i32>* %33
%34 = getelementptr inbounds [100 x i32], [100 x i32]* %1, i64 0, i64 64
%35 = bitcast i32* %34 to <4 x i32>*
store <4 x i32> <i32 64, i32 65, i32 66, i32 67>, <4 x i32>* %35
%36 = getelementptr inbounds [100 x i32], [100 x i32]* %1, i64 0, i64 68
%37 = bitcast i32* %36 to <4 x i32>*
store <4 x i32> <i32 68, i32 69, i32 70, i32 71>, <4 x i32>* %37
%38 = getelementptr inbounds [100 x i32], [100 x i32]* %1, i64 0, i64 72
%39 = bitcast i32* %38 to <4 x i32>*
store <4 x i32> <i32 72, i32 73, i32 74, i32 75>, <4 x i32>* %39
%40 = getelementptr inbounds [100 x i32], [100 x i32]* %1, i64 0, i64 76
%41 = bitcast i32* %40 to <4 x i32>*
store <4 x i32> <i32 76, i32 77, i32 78, i32 79>, <4 x i32>* %41
%42 = getelementptr inbounds [100 x i32], [100 x i32]* %1, i64 0, i64 80
%43 = bitcast i32* %42 to <4 x i32>*
store <4 x i32> <i32 80, i32 81, i32 82, i32 83>, <4 x i32>* %43
%44 = getelementptr inbounds [100 x i32], [100 x i32]* %1, i64 0, i64 84
%45 = bitcast i32* %44 to <4 x i32>*
store <4 x i32> <i32 84, i32 85, i32 86, i32 87>, <4 x i32>* %45
%46 = getelementptr inbounds [100 x i32], [100 x i32]* %1, i64 0, i64 88
%47 = bitcast i32* %46 to <4 x i32>*
store <4 x i32> <i32 88, i32 89, i32 90, i32 91>, <4 x i32>* %47
%48 = getelementptr inbounds [100 x i32], [100 x i32]* %1, i64 0, i64 92
%49 = bitcast i32* %48 to <4 x i32>*
store <4 x i32> <i32 92, i32 93, i32 94, i32 95>, <4 x i32>* %49
%50 = getelementptr inbounds [100 x i32], [100 x i32]* %1, i64 0, i64 96
%51 = bitcast i32* %50 to <4 x i32>*
store <4 x i32> <i32 96, i32 97, i32 98, i32 99>, <4 x i32>* %51
%52 = getelementptr inbounds [100 x i32], [100 x i32]* %1, i64 0, i64 10
%53 = bitcast i32* %52 to <4 x i32>*
%54 = load <4 x i32>, <4 x i32>* %53
%55 = add nsw <4 x i32> %54, <i32 1, i32 1, i32 1, i32 1>
%56 = bitcast i32* %52 to <4 x i32>*
store <4 x i32> %55, <4 x i32>* %56
%57 = getelementptr inbounds [100 x i32], [100 x i32]* %1, i64 0, i64 14
%58 = bitcast i32* %57 to <4 x i32>*
%59 = load <4 x i32>, <4 x i32>* %58
%60 = add nsw <4 x i32> %59, <i32 1, i32 1, i32 1, i32 1>
%61 = bitcast i32* %57 to <4 x i32>*
store <4 x i32> %60, <4 x i32>* %61
%62 = getelementptr inbounds [100 x i32], [100 x i32]* %1, i64 0, i64 18
%63 = bitcast i32* %62 to <4 x i32>*
%64 = load <4 x i32>, <4 x i32>* %63
%65 = add nsw <4 x i32> %64, <i32 1, i32 1, i32 1, i32 1>
%66 = bitcast i32* %62 to <4 x i32>*
store <4 x i32> %65, <4 x i32>* %66
%67 = getelementptr inbounds [100 x i32], [100 x i32]* %1, i64 0, i64 22
%68 = bitcast i32* %67 to <4 x i32>*
%69 = load <4 x i32>, <4 x i32>* %68
%70 = add nsw <4 x i32> %69, <i32 1, i32 1, i32 1, i32 1>
%71 = bitcast i32* %67 to <4 x i32>*
store <4 x i32> %70, <4 x i32>* %71
%72 = getelementptr inbounds [100 x i32], [100 x i32]* %1, i64 0, i64 26
%73 = bitcast i32* %72 to <4 x i32>*
%74 = load <4 x i32>, <4 x i32>* %73
%75 = add nsw <4 x i32> %74, <i32 1, i32 1, i32 1, i32 1>
%76 = bitcast i32* %72 to <4 x i32>*
store <4 x i32> %75, <4 x i32>* %76
%77 = getelementptr inbounds [100 x i32], [100 x i32]* %1, i64 0, i64 30
%78 = bitcast i32* %77 to <4 x i32>*
%79 = load <4 x i32>, <4 x i32>* %78
%80 = add nsw <4 x i32> %79, <i32 1, i32 1, i32 1, i32 1>
%81 = bitcast i32* %77 to <4 x i32>*
store <4 x i32> %80, <4 x i32>* %81
%82 = getelementptr inbounds [100 x i32], [100 x i32]* %1, i64 0, i64 34
%83 = bitcast i32* %82 to <4 x i32>*
%84 = load <4 x i32>, <4 x i32>* %83
%85 = add nsw <4 x i32> %84, <i32 1, i32 1, i32 1, i32 1>
%86 = bitcast i32* %82 to <4 x i32>*
store <4 x i32> %85, <4 x i32>* %86
%87 = getelementptr inbounds [100 x i32], [100 x i32]* %1, i64 0, i64 38
%88 = bitcast i32* %87 to <4 x i32>*
%89 = load <4 x i32>, <4 x i32>* %88
%90 = add nsw <4 x i32> %89, <i32 1, i32 1, i32 1, i32 1>
%91 = bitcast i32* %87 to <4 x i32>*
store <4 x i32> %90, <4 x i32>* %91
%92 = getelementptr inbounds [100 x i32], [100 x i32]* %1, i64 0, i64 42
%93 = bitcast i32* %92 to <4 x i32>*
%94 = load <4 x i32>, <4 x i32>* %93
%95 = add nsw <4 x i32> %94, <i32 1, i32 1, i32 1, i32 1>
%96 = bitcast i32* %92 to <4 x i32>*
store <4 x i32> %95, <4 x i32>* %96
%97 = getelementptr inbounds [100 x i32], [100 x i32]* %1, i64 0, i64 46
%98 = bitcast i32* %97 to <4 x i32>*
%99 = load <4 x i32>, <4 x i32>* %98
%100 = add nsw <4 x i32> %99, <i32 1, i32 1, i32 1, i32 1>
%101 = bitcast i32* %97 to <4 x i32>*
store <4 x i32> %100, <4 x i32>* %101
%102 = getelementptr inbounds [100 x i32], [100 x i32]* %1, i64 0, i64 50
%103 = bitcast i32* %102 to <4 x i32>*
%104 = load <4 x i32>, <4 x i32>* %103
%105 = add nsw <4 x i32> %104, <i32 1, i32 1, i32 1, i32 1>
%106 = bitcast i32* %102 to <4 x i32>*
store <4 x i32> %105, <4 x i32>* %106
%107 = getelementptr inbounds [100 x i32], [100 x i32]* %1, i64 0, i64 54
%108 = bitcast i32* %107 to <4 x i32>*
%109 = load <4 x i32>, <4 x i32>* %108
%110 = add nsw <4 x i32> %109, <i32 1, i32 1, i32 1, i32 1>
%111 = bitcast i32* %107 to <4 x i32>*
store <4 x i32> %110, <4 x i32>* %111
%112 = getelementptr inbounds [100 x i32], [100 x i32]* %1, i64 0, i64 58
%113 = bitcast i32* %112 to <4 x i32>*
%114 = load <4 x i32>, <4 x i32>* %113
%115 = add nsw <4 x i32> %114, <i32 1, i32 1, i32 1, i32 1>
%116 = bitcast i32* %112 to <4 x i32>*
store <4 x i32> %115, <4 x i32>* %116
%117 = getelementptr inbounds [100 x i32], [100 x i32]* %1, i64 0, i64 62
%118 = bitcast i32* %117 to <4 x i32>*
%119 = load <4 x i32>, <4 x i32>* %118
%120 = add nsw <4 x i32> %119, <i32 1, i32 1, i32 1, i32 1>
%121 = bitcast i32* %117 to <4 x i32>*
store <4 x i32> %120, <4 x i32>* %121
%122 = getelementptr inbounds [100 x i32], [100 x i32]* %1, i64 0, i64 66
%123 = bitcast i32* %122 to <4 x i32>*
%124 = load <4 x i32>, <4 x i32>* %123
%125 = add nsw <4 x i32> %124, <i32 1, i32 1, i32 1, i32 1>
%126 = bitcast i32* %122 to <4 x i32>*
store <4 x i32> %125, <4 x i32>* %126
%127 = getelementptr inbounds [100 x i32], [100 x i32]* %1, i64 0, i64 70
%128 = bitcast i32* %127 to <4 x i32>*
%129 = load <4 x i32>, <4 x i32>* %128
%130 = add nsw <4 x i32> %129, <i32 1, i32 1, i32 1, i32 1>
%131 = bitcast i32* %127 to <4 x i32>*
store <4 x i32> %130, <4 x i32>* %131
%132 = getelementptr inbounds [100 x i32], [100 x i32]* %1, i64 0, i64 74
%133 = bitcast i32* %132 to <4 x i32>*
%134 = load <4 x i32>, <4 x i32>* %133
%135 = add nsw <4 x i32> %134, <i32 1, i32 1, i32 1, i32 1>
%136 = bitcast i32* %132 to <4 x i32>*
store <4 x i32> %135, <4 x i32>* %136
%137 = getelementptr inbounds [100 x i32], [100 x i32]* %1, i64 0, i64 78
%138 = bitcast i32* %137 to <4 x i32>*
%139 = load <4 x i32>, <4 x i32>* %138
%140 = add nsw <4 x i32> %139, <i32 1, i32 1, i32 1, i32 1>
%141 = bitcast i32* %137 to <4 x i32>*
store <4 x i32> %140, <4 x i32>* %141
%142 = getelementptr inbounds [100 x i32], [100 x i32]* %1, i64 0, i64 82
%143 = bitcast i32* %142 to <4 x i32>*
%144 = load <4 x i32>, <4 x i32>* %143
%145 = add nsw <4 x i32> %144, <i32 1, i32 1, i32 1, i32 1>
%146 = bitcast i32* %142 to <4 x i32>*
store <4 x i32> %145, <4 x i32>* %146
%147 = getelementptr inbounds [100 x i32], [100 x i32]* %1, i64 0, i64 86
%148 = bitcast i32* %147 to <4 x i32>*
%149 = load <4 x i32>, <4 x i32>* %148
%150 = add nsw <4 x i32> %149, <i32 1, i32 1, i32 1, i32 1>
%151 = bitcast i32* %147 to <4 x i32>*
store <4 x i32> %150, <4 x i32>* %151
br label %152
152: ; preds = %0, %168
%153 = phi i64 [ %169, %168 ], [ 0, %0 ]
%154 = trunc i64 %153 to i32
%155 = add i32 %154, -10
%156 = icmp ult i32 %155, 80
%157 = getelementptr inbounds [100 x i32], [100 x i32]* %1, i64 0, i64 %153
%158 = load i32, i32* %157
br i1 %156, label %159, label %163
159: ; preds = %152
%160 = add nuw nsw i64 %153, 1
%161 = zext i32 %158 to i64
%162 = icmp eq i64 %160, %161
br i1 %162, label %168, label %171
163: ; preds = %152
%164 = zext i32 %158 to i64
%165 = icmp eq i64 %153, %164
br i1 %165, label %166, label %171
166: ; preds = %163
%167 = add nuw nsw i64 %153, 1
br label %168
168: ; preds = %166, %159
%169 = phi i64 [ %167, %166 ], [ %160, %159 ]
%170 = icmp eq i64 %169, 100
br i1 %170, label %171, label %152
171: ; preds = %168, %163, %159
%172 = phi i32 [ 1, %159 ], [ 2, %163 ], [ 0, %168 ]
ret i32 %172
}