#define NULL ((void *)0)
typedef unsigned long size_t; // Customize by platform.
typedef long intptr_t;
typedef unsigned long uintptr_t;
typedef long scalar_t__; // Either arithmetic or pointer type.
/* By default, we understand bool (as a convenience). */
typedef int bool;
#define false 0
#define true 1

/* Forward declarations */

/* Type definitions */

/* Variables and functions */
int /*<<< orphan*/ acc_device_default;
int /*<<< orphan*/ acc_init(int /*<<< orphan*/);
int /*<<< orphan*/ acc_shutdown(int /*<<< orphan*/);
int /*<<< orphan*/ printf(char *, ...);
int main() {
  int iter;
  for (iter = 0; iter < 100; iter++) {
    acc_init(acc_device_default);
    int array[100];
    int sum = iter, i;
    for (i = 0; i < 100; i++)
      array[i] = i;
#pragma acc parallel loop reduction(+ : sum)
    for (i = 0; i < 100; i++) {
      sum += array[i];
    }
    acc_shutdown(acc_device_default);
    if (sum != (100 - 1) * 100 / 2 + iter) {
      printf("iter=%d, sum=%d\n", iter, sum);
      return 1;
    }
  }
  printf("PASS\n");
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x1b0,%rsp
movl   $0x0,-0x4(%rbp)
movl   $0x0,-0x8(%rbp)
cmpl   $0x64,-0x8(%rbp)
jge    1249 <main+0x119>
mov    0x2e86(%rip),%rax
mov    (%rax),%edi
call   1050 <acc_init@plt>
mov    -0x8(%rbp),%eax
mov    %eax,-0x1a4(%rbp)
movl   $0x0,-0x1a8(%rbp)
cmpl   $0x64,-0x1a8(%rbp)
jge    11a9 <main+0x79>
mov    -0x1a8(%rbp),%ecx
movslq -0x1a8(%rbp),%rax
mov    %ecx,-0x1a0(%rbp,%rax,4)
mov    -0x1a8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1a8(%rbp)
jmp    1174 <main+0x44>
movl   $0x0,-0x1a8(%rbp)
cmpl   $0x64,-0x1a8(%rbp)
jge    11ee <main+0xbe>
movslq -0x1a8(%rbp),%rax
mov    -0x1a0(%rbp,%rax,4),%eax
add    -0x1a4(%rbp),%eax
mov    %eax,-0x1a4(%rbp)
mov    -0x1a8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1a8(%rbp)
jmp    11b3 <main+0x83>
mov    0x2deb(%rip),%rax
mov    (%rax),%edi
call   1040 <acc_shutdown@plt>
mov    -0x1a4(%rbp),%eax
mov    -0x8(%rbp),%ecx
add    $0x1356,%ecx
cmp    %ecx,%eax
je     1236 <main+0x106>
mov    -0x8(%rbp),%esi
mov    -0x1a4(%rbp),%edx
lea    0xddd(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x1,-0x4(%rbp)
jmp    125e <main+0x12e>
jmp    123b <main+0x10b>
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
jmp    1149 <main+0x19>
lea    0xdc1(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x1b0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r14
push   %rbx
sub    $0x190,%rsp
xor    %ebx,%ebx
mov    0x2e8c(%rip),%r14
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
mov    (%r14),%edi
call   1060 <acc_init@plt>
movaps 0xe91(%rip),%xmm0
movaps %xmm0,(%rsp)
movaps 0xe96(%rip),%xmm0
movaps %xmm0,0x10(%rsp)
movaps 0xe9a(%rip),%xmm0
movaps %xmm0,0x20(%rsp)
movaps 0xe9e(%rip),%xmm0
movaps %xmm0,0x30(%rsp)
movaps 0xea2(%rip),%xmm0
movaps %xmm0,0x40(%rsp)
movaps 0xea6(%rip),%xmm0
movaps %xmm0,0x50(%rsp)
movaps 0xeaa(%rip),%xmm0
movaps %xmm0,0x60(%rsp)
movaps 0xeae(%rip),%xmm0
movaps %xmm0,0x70(%rsp)
movaps 0xeb2(%rip),%xmm0
movaps %xmm0,0x80(%rsp)
movaps 0xeb3(%rip),%xmm0
movaps %xmm0,0x90(%rsp)
movaps 0xeb4(%rip),%xmm0
movaps %xmm0,0xa0(%rsp)
movaps 0xeb5(%rip),%xmm0
movaps %xmm0,0xb0(%rsp)
movaps 0xeb6(%rip),%xmm0
movaps %xmm0,0xc0(%rsp)
movaps 0xeb7(%rip),%xmm0
movaps %xmm0,0xd0(%rsp)
movaps 0xeb8(%rip),%xmm0
movaps %xmm0,0xe0(%rsp)
movaps 0xeb9(%rip),%xmm0
movaps %xmm0,0xf0(%rsp)
movaps 0xeba(%rip),%xmm0
movaps %xmm0,0x100(%rsp)
movaps 0xebb(%rip),%xmm0
movaps %xmm0,0x110(%rsp)
movaps 0xebc(%rip),%xmm0
movaps %xmm0,0x120(%rsp)
movaps 0xebd(%rip),%xmm0
movaps %xmm0,0x130(%rsp)
movaps 0xebe(%rip),%xmm0
movaps %xmm0,0x140(%rsp)
movaps 0xebf(%rip),%xmm0
movaps %xmm0,0x150(%rsp)
movaps 0xec0(%rip),%xmm0
movaps %xmm0,0x160(%rsp)
movaps 0xec1(%rip),%xmm0
movaps %xmm0,0x170(%rsp)
movaps 0xec2(%rip),%xmm0
movaps %xmm0,0x180(%rsp)
movd   %ebx,%xmm0
paddd  (%rsp),%xmm0
paddd  0x10(%rsp),%xmm0
paddd  0x20(%rsp),%xmm0
paddd  0x30(%rsp),%xmm0
paddd  0x40(%rsp),%xmm0
paddd  0x50(%rsp),%xmm0
paddd  0xe9b(%rip),%xmm0
pshufd $0xee,%xmm0,%xmm1
paddd  %xmm0,%xmm1
pshufd $0x55,%xmm1,%xmm0
paddd  %xmm1,%xmm0
movd   %xmm0,%ebp
mov    (%r14),%edi
call   1050 <acc_shutdown@plt>
lea    0x1356(%rbx),%eax
cmp    %ebp,%eax
jne    1339 <main+0x1f9>
add    $0x1,%ebx
cmp    $0x64,%ebx
jne    1160 <main+0x20>
lea    0xe81(%rip),%rdi
call   1030 <puts@plt>
xor    %eax,%eax
jmp    1350 <main+0x210>
lea    0xe60(%rip),%rdi
mov    %ebx,%esi
mov    %ebp,%edx
xor    %eax,%eax
call   1040 <printf@plt>
mov    $0x1,%eax
add    $0x190,%rsp
pop    %rbx
pop    %r14
pop    %rbp
ret

LLVM IR (-O0):
@acc_device_default = global i32 0
@.str = [17 x i8] c"iter=%d, sum=%d\0A\00"
@.str.1 = [6 x i8] c"PASS\0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i32
%3 = alloca [100 x i32]
%4 = alloca i32
%5 = alloca i32
store i32 0, i32* %1
store i32 0, i32* %2
br label %6
6: ; preds = %50, %0
%7 = load i32, i32* %2
%8 = icmp slt i32 %7, 100
br i1 %8, label %9, label %53
9: ; preds = %6
%10 = load i32, i32* @acc_device_default
%11 = call i32 @acc_init(i32 %10)
%12 = load i32, i32* %2
store i32 %12, i32* %4
store i32 0, i32* %5
br label %13
13: ; preds = %21, %9
%14 = load i32, i32* %5
%15 = icmp slt i32 %14, 100
br i1 %15, label %16, label %24
16: ; preds = %13
%17 = load i32, i32* %5
%18 = load i32, i32* %5
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds [100 x i32], [100 x i32]* %3, i64 0, i64 %19
store i32 %17, i32* %20
br label %21
21: ; preds = %16
%22 = load i32, i32* %5
%23 = add nsw i32 %22, 1
store i32 %23, i32* %5
br label %13
24: ; preds = %13
store i32 0, i32* %5
br label %25
25: ; preds = %35, %24
%26 = load i32, i32* %5
%27 = icmp slt i32 %26, 100
br i1 %27, label %28, label %38
28: ; preds = %25
%29 = load i32, i32* %5
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds [100 x i32], [100 x i32]* %3, i64 0, i64 %30
%32 = load i32, i32* %31
%33 = load i32, i32* %4
%34 = add nsw i32 %33, %32
store i32 %34, i32* %4
br label %35
35: ; preds = %28
%36 = load i32, i32* %5
%37 = add nsw i32 %36, 1
store i32 %37, i32* %5
br label %25
38: ; preds = %25
%39 = load i32, i32* @acc_device_default
%40 = call i32 @acc_shutdown(i32 %39)
%41 = load i32, i32* %4
%42 = load i32, i32* %2
%43 = add nsw i32 4950, %42
%44 = icmp ne i32 %41, %43
br i1 %44, label %45, label %49
45: ; preds = %38
%46 = load i32, i32* %2
%47 = load i32, i32* %4
%48 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str, i64 0, i64 0), i32 %46, i32 %47)
store i32 1, i32* %1
br label %55
49: ; preds = %38
br label %50
50: ; preds = %49
%51 = load i32, i32* %2
%52 = add nsw i32 %51, 1
store i32 %52, i32* %2
br label %6
53: ; preds = %6
%54 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0))
store i32 0, i32* %1
br label %55
55: ; preds = %53, %45
%56 = load i32, i32* %1
ret i32 %56
}

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