; LLVM IR from bondhugula/pluto :: examples/lbm/mrt/d2q9 (mrt_ldc_d2q9)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%struct.timeval = type { i64, i64 }

@omega = external dso_local global double, align 8
@nu = external dso_local global double, align 8
@s_0 = external dso_local global double, align 8
@s_1 = external dso_local global double, align 8
@s_2 = external dso_local global double, align 8
@s_3 = external dso_local global double, align 8
@s_4 = external dso_local global double, align 8
@s_5 = external dso_local global double, align 8
@s_6 = external dso_local global double, align 8
@s_7 = external dso_local global double, align 8
@s_8 = external dso_local global double, align 8
@.str = external hidden unnamed_addr constant [220 x i8], align 1
@grid = external dso_local global [2 x [1030 x [1028 x [9 x double]]]], align 16

; Function Attrs: nounwind uwtable
define dso_local i32 @main() #0 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca double, align 8
  %7 = alloca double, align 8
  %8 = alloca double, align 8
  %9 = alloca double, align 8
  %10 = alloca double, align 8
  %11 = alloca double, align 8
  %12 = alloca double, align 8
  %13 = alloca double, align 8
  %14 = alloca double, align 8
  %15 = alloca double, align 8
  %16 = alloca double, align 8
  %17 = alloca double, align 8
  %18 = alloca double, align 8
  %19 = alloca i32, align 4
  %20 = alloca %struct.timeval, align 8
  %21 = alloca %struct.timeval, align 8
  %22 = alloca %struct.timeval, align 8
  %23 = alloca double, align 8
  %24 = alloca i16, align 2
  %25 = alloca i16, align 2
  %26 = alloca i32, align 4
  store i32 0, ptr %1, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #4
  store double 0x41A9000000000000, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #4
  store i32 -1, ptr %19, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 16, ptr %20) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr %21) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr %22) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #4
  store double 0.000000e+00, ptr %23, align 8, !tbaa !5
  store double 0x3FF3D3462E78714E, ptr @omega, align 8, !tbaa !5
  %27 = load double, ptr @omega, align 8, !tbaa !5
  %28 = fdiv double 1.000000e+00, %27
  %29 = fsub double %28, 5.000000e-01
  %30 = fdiv double %29, 3.000000e+00
  store double %30, ptr @nu, align 8, !tbaa !5
  store double 1.000000e+00, ptr @s_0, align 8, !tbaa !5
  store double 1.400000e+00, ptr @s_1, align 8, !tbaa !5
  store double 1.400000e+00, ptr @s_2, align 8, !tbaa !5
  store double 1.000000e+00, ptr @s_3, align 8, !tbaa !5
  store double 1.200000e+00, ptr @s_4, align 8, !tbaa !5
  store double 1.000000e+00, ptr @s_5, align 8, !tbaa !5
  store double 1.200000e+00, ptr @s_6, align 8, !tbaa !5
  %31 = load double, ptr @nu, align 8, !tbaa !5
  %32 = call double @llvm.fmuladd.f64(double 6.000000e+00, double %31, double 1.000000e+00)
  %33 = fdiv double 2.000000e+00, %32
  store double %33, ptr @s_7, align 8, !tbaa !5
  %34 = load double, ptr @nu, align 8, !tbaa !5
  %35 = call double @llvm.fmuladd.f64(double 6.000000e+00, double %34, double 1.000000e+00)
  %36 = fdiv double 2.000000e+00, %35
  store double %36, ptr @s_8, align 8, !tbaa !5
  %37 = load double, ptr @omega, align 8, !tbaa !5
  %38 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 1024, i32 noundef 1024, double noundef 0x4090624DD2F1A9FC, i32 noundef 200, double noundef 1.000000e+03, double noundef 1.000000e-01, double noundef %37)
  store double 1.000000e+00, ptr %7, align 8, !tbaa !5
  store double 0.000000e+00, ptr %8, align 8, !tbaa !5
  store double 0.000000e+00, ptr %9, align 8, !tbaa !5
  %39 = load double, ptr %7, align 8, !tbaa !5
  store double %39, ptr %10, align 8, !tbaa !5
  %40 = load double, ptr %7, align 8, !tbaa !5
  %41 = load double, ptr %8, align 8, !tbaa !5
  %42 = load double, ptr %8, align 8, !tbaa !5
  %43 = load double, ptr %9, align 8, !tbaa !5
  %44 = load double, ptr %9, align 8, !tbaa !5
  %45 = fmul double %43, %44
  %46 = call double @llvm.fmuladd.f64(double %41, double %42, double %45)
  %47 = fmul double 3.000000e+00, %46
  %48 = call double @llvm.fmuladd.f64(double -2.000000e+00, double %40, double %47)
  store double %48, ptr %11, align 8, !tbaa !5
  %49 = load double, ptr %7, align 8, !tbaa !5
  %50 = load double, ptr %8, align 8, !tbaa !5
  %51 = load double, ptr %8, align 8, !tbaa !5
  %52 = load double, ptr %9, align 8, !tbaa !5
  %53 = load double, ptr %9, align 8, !tbaa !5
  %54 = fmul double %52, %53
  %55 = call double @llvm.fmuladd.f64(double %50, double %51, double %54)
  %56 = call double @llvm.fmuladd.f64(double -3.000000e+00, double %55, double %49)
  store double %56, ptr %12, align 8, !tbaa !5
  %57 = load double, ptr %8, align 8, !tbaa !5
  store double %57, ptr %13, align 8, !tbaa !5
  %58 = load double, ptr %8, align 8, !tbaa !5
  %59 = fneg double %58
  store double %59, ptr %14, align 8, !tbaa !5
  %60 = load double, ptr %9, align 8, !tbaa !5
  store double %60, ptr %15, align 8, !tbaa !5
  %61 = load double, ptr %9, align 8, !tbaa !5
  %62 = fneg double %61
  store double %62, ptr %16, align 8, !tbaa !5
  %63 = load double, ptr %8, align 8, !tbaa !5
  %64 = load double, ptr %8, align 8, !tbaa !5
  %65 = load double, ptr %9, align 8, !tbaa !5
  %66 = load double, ptr %9, align 8, !tbaa !5
  %67 = fmul double %65, %66
  %68 = fneg double %67
  %69 = call double @llvm.fmuladd.f64(double %63, double %64, double %68)
  store double %69, ptr %17, align 8, !tbaa !5
  %70 = load double, ptr %8, align 8, !tbaa !5
  %71 = load double, ptr %9, align 8, !tbaa !5
  %72 = fmul double %70, %71
  store double %72, ptr %18, align 8, !tbaa !5
  store i32 0, ptr %3, align 4, !tbaa !9
  br label %73

73:                                               ; preds = %151, %0
  %74 = load i32, ptr %3, align 4, !tbaa !9
  %75 = icmp slt i32 %74, 1030
  br i1 %75, label %76, label %154

76:                                               ; preds = %73
  store i32 0, ptr %4, align 4, !tbaa !9
  br label %77

77:                                               ; preds = %147, %76
  %78 = load i32, ptr %4, align 4, !tbaa !9
  %79 = icmp slt i32 %78, 1028
  br i1 %79, label %80, label %150

80:                                               ; preds = %77
  %81 = load i32, ptr %3, align 4, !tbaa !9
  %82 = sext i32 %81 to i64
  %83 = getelementptr inbounds [1030 x [1028 x [9 x double]]], ptr @grid, i64 0, i64 %82
  %84 = load i32, ptr %4, align 4, !tbaa !9
  %85 = sext i32 %84 to i64
  %86 = getelementptr inbounds [1028 x [9 x double]], ptr %83, i64 0, i64 %85
  %87 = getelementptr inbounds [9 x double], ptr %86, i64 0, i64 0
  store double 0x3FDC71C71C71C71C, ptr %87, align 8, !tbaa !5
  %88 = load i32, ptr %3, align 4, !tbaa !9
  %89 = sext i32 %88 to i64
  %90 = getelementptr inbounds [1030 x [1028 x [9 x double]]], ptr getelementptr inbounds ([2 x [1030 x [1028 x [9 x double]]]], ptr @grid, i64 0, i64 1), i64 0, i64 %89
  %91 = load i32, ptr %4, align 4, !tbaa !9
  %92 = sext i32 %91 to i64
  %93 = getelementptr inbounds [1028 x [9 x double]], ptr %90, i64 0, i64 %92
  %94 = getelementptr inbounds [9 x double], ptr %93, i64 0, i64 0
  store double 0x3FDC71C71C71C71C, ptr %94, align 8, !tbaa !5
  store i32 1, ptr %5, align 4, !tbaa !9
  br label %95

95:                                               ; preds = %117, %80
  %96 = load i32, ptr %5, align 4, !tbaa !9
  %97 = icmp slt i32 %96, 5
  br i1 %97, label %98, label %120

98:                                               ; preds = %95
  %99 = load i32, ptr %3, align 4, !tbaa !9
  %100 = sext i32 %99 to i64
  %101 = getelementptr inbounds [1030 x [1028 x [9 x double]]], ptr @grid, i64 0, i64 %100
  %102 = load i32, ptr %4, align 4, !tbaa !9
  %103 = sext i32 %102 to i64
  %104 = getelementptr inbounds [1028 x [9 x double]], ptr %101, i64 0, i64 %103
  %105 = load i32, ptr %5, align 4, !tbaa !9
  %106 = sext i32 %105 to i64
  %107 = getelementptr inbounds [9 x double], ptr %104, i64 0, i64 %106
  store double 0x3FBC71C71C71C71C, ptr %107, align 8, !tbaa !5
  %108 = load i32, ptr %3, align 4, !tbaa !9
  %109 = sext i32 %108 to i64
  %110 = getelementptr inbounds [1030 x [1028 x [9 x double]]], ptr getelementptr inbounds ([2 x [1030 x [1028 x [9 x double]]]], ptr @grid, i64 0, i64 1), i64 0, i64 %109
  %111 = load i32, ptr %4, align 4, !tbaa !9
  %112 = sext i32 %111 to i64
  %113 = getelementptr inbounds [1028 x [9 x double]], ptr %110, i64 0, i64 %112
  %114 = load i32, ptr %5, align 4, !tbaa !9
  %115 = sext i32 %114 to i64
  %116 = getelementptr inbounds [9 x double], ptr %113, i64 0, i64 %115
  store double 0x3FBC71C71C71C71C, ptr %116, align 8, !tbaa !5
  br label %117

117:                                              ; preds = %98
  %118 = load i32, ptr %5, align 4, !tbaa !9
  %119 = add nsw i32 %118, 1
  store i32 %119, ptr %5, align 4, !tbaa !9
  br label %95, !llvm.loop !11

120:                                              ; preds = %95
  store i32 5, ptr %5, align 4, !tbaa !9
  br label %121

121:                                              ; preds = %143, %120
  %122 = load i32, ptr %5, align 4, !tbaa !9
  %123 = icmp slt i32 %122, 9
  br i1 %123, label %124, label %146

124:                                              ; preds = %121
  %125 = load i32, ptr %3, align 4, !tbaa !9
  %126 = sext i32 %125 to i64
  %127 = getelementptr inbounds [1030 x [1028 x [9 x double]]], ptr @grid, i64 0, i64 %126
  %128 = load i32, ptr %4, align 4, !tbaa !9
  %129 = sext i32 %128 to i64
  %130 = getelementptr inbounds [1028 x [9 x double]], ptr %127, i64 0, i64 %129
  %131 = load i32, ptr %5, align 4, !tbaa !9
  %132 = sext i32 %131 to i64
  %133 = getelementptr inbounds [9 x double], ptr %130, i64 0, i64 %132
  store double 0x3F9C71C71C71C71C, ptr %133, align 8, !tbaa !5
  %134 = load i32, ptr %3, align 4, !tbaa !9
  %135 = sext i32 %134 to i64
  %136 = getelementptr inbounds [1030 x [1028 x [9 x double]]], ptr getelementptr inbounds ([2 x [1030 x [1028 x [9 x double]]]], ptr @grid, i64 0, i64 1), i64 0, i64 %135
  %137 = load i32, ptr %4, align 4, !tbaa !9
  %138 = sext i32 %137 to i64
  %139 = getelementptr inbounds [1028 x [9 x double]], ptr %136, i64 0, i64 %138
  %140 = load i32, ptr %5, align 4, !tbaa !9
  %141 = sext i32 %140 to i64
  %142 = getelementptr inbounds [9 x double], ptr %139, i64 0, i64 %141
  store double 0x3F9C71C71C71C71C, ptr %142, align 8, !tbaa !5
  br label %143

143:                                              ; preds = %124
  %144 = load i32, ptr %5, align 4, !tbaa !9
  %145 = add nsw i32 %144, 1
  store i32 %145, ptr %5, align 4, !tbaa !9
  br label %121, !llvm.loop !13

146:                                              ; preds = %121
  br label %147

147:                                              ; preds = %146
  %148 = load i32, ptr %4, align 4, !tbaa !9
  %149 = add nsw i32 %148, 1
  store i32 %149, ptr %4, align 4, !tbaa !9
  br label %77, !llvm.loop !14

150:                                              ; preds = %77
  br label %151

151:                                              ; preds = %150
  %152 = load i32, ptr %3, align 4, !tbaa !9
  %153 = add nsw i32 %152, 1
  store i32 %153, ptr %3, align 4, !tbaa !9
  br label %73, !llvm.loop !15

154:                                              ; preds = %73
  call void @llvm.lifetime.start.p0(i64 2, ptr %24) #4
  store i16 1027, ptr %24, align 2, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 2, ptr %25) #4
  store i16 1028, ptr %25, align 2, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #4
  store i32 200, ptr %26, align 4, !tbaa !9
  store i32 0, ptr %2, align 4, !tbaa !9
  br label %155

155:                                              ; preds = %415, %154
  %156 = load i32, ptr %2, align 4, !tbaa !9
  %157 = load i32, ptr %26, align 4, !tbaa !9
  %158 = icmp slt i32 %156, %157
  br i1 %158, label %159, label %418

159:                                              ; preds = %155
  store i32 2, ptr %3, align 4, !tbaa !9
  br label %160

160:                                              ; preds = %411, %159
  %161 = load i32, ptr %3, align 4, !tbaa !9
  %162 = load i16, ptr %25, align 2, !tbaa !16
  %163 = sext i16 %162 to i32
  %164 = icmp slt i32 %161, %163
  br i1 %164, label %165, label %414

165:                                              ; preds = %160
  store i32 1, ptr %4, align 4, !tbaa !9
  br label %166

166:                                              ; preds = %407, %165
  %167 = load i32, ptr %4, align 4, !tbaa !9
  %168 = load i16, ptr %24, align 2, !tbaa !16
  %169 = sext i16 %168 to i32
  %170 = icmp slt i32 %167, %169
  br i1 %170, label %171, label %410

171:                                              ; preds = %166
  %172 = load i32, ptr %2, align 4, !tbaa !9
  %173 = srem i32 %172, 2
  %174 = sext i32 %173 to i64
  %175 = getelementptr inbounds [2 x [1030 x [1028 x [9 x double]]]], ptr @grid, i64 0, i64 %174
  %176 = load i32, ptr %3, align 4, !tbaa !9
  %177 = sext i32 %176 to i64
  %178 = getelementptr inbounds [1030 x [1028 x [9 x double]]], ptr %175, i64 0, i64 %177
  %179 = load i32, ptr %4, align 4, !tbaa !9
  %180 = sext i32 %179 to i64
  %181 = getelementptr inbounds [1028 x [9 x double]], ptr %178, i64 0, i64 %180
  %182 = getelementptr inbounds [9 x double], ptr %181, i64 0, i64 0
  %183 = load double, ptr %182, align 8, !tbaa !5
  %184 = load i32, ptr %2, align 4, !tbaa !9
  %185 = srem i32 %184, 2
  %186 = sext i32 %185 to i64
  %187 = getelementptr inbounds [2 x [1030 x [1028 x [9 x double]]]], ptr @grid, i64 0, i64 %186
  %188 = load i32, ptr %3, align 4, !tbaa !9
  %189 = sub nsw i32 %188, 1
  %190 = sext i32 %189 to i64
  %191 = getelementptr inbounds [1030 x [1028 x [9 x double]]], ptr %187, i64 0, i64 %190
  %192 = load i32, ptr %4, align 4, !tbaa !9
  %193 = add nsw i32 %192, 0
  %194 = sext i32 %193 to i64
  %195 = getelementptr inbounds [1028 x [9 x double]], ptr %191, i64 0, i64 %194
  %196 = getelementptr inbounds [9 x double], ptr %195, i64 0, i64 2
  %197 = load double, ptr %196, align 8, !tbaa !5
  %198 = load i32, ptr %2, align 4, !tbaa !9
  %199 = srem i32 %198, 2
  %200 = sext i32 %199 to i64
  %201 = getelementptr inbounds [2 x [1030 x [1028 x [9 x double]]]], ptr @grid, i64 0, i64 %200
  %202 = load i32, ptr %3, align 4, !tbaa !9
  %203 = add nsw i32 %202, 1
  %204 = sext i32 %203 to i64
  %205 = getelementptr inbounds [1030 x [1028 x [9 x double]]], ptr %201, i64 0, i64 %204
  %206 = load i32, ptr %4, align 4, !tbaa !9
  %207 = add nsw i32 %206, 0
  %208 = sext i32 %207 to i64
  %209 = getelementptr inbounds [1028 x [9 x double]], ptr %205, i64 0, i64 %208
  %210 = getelementptr inbounds [9 x double], ptr %209, i64 0, i64 4
  %211 = load double, ptr %210, align 8, !tbaa !5
  %212 = load i32, ptr %2, align 4, !tbaa !9
  %213 = srem i32 %212, 2
  %214 = sext i32 %213 to i64
  %215 = getelementptr inbounds [2 x [1030 x [1028 x [9 x double]]]], ptr @grid, i64 0, i64 %214
  %216 = load i32, ptr %3, align 4, !tbaa !9
  %217 = add nsw i32 %216, 0
  %218 = sext i32 %217 to i64
  %219 = getelementptr inbounds [1030 x [1028 x [9 x double]]], ptr %215, i64 0, i64 %218
  %220 = load i32, ptr %4, align 4, !tbaa !9
  %221 = sub nsw i32 %220, 1
  %222 = sext i32 %221 to i64
  %223 = getelementptr inbounds [1028 x [9 x double]], ptr %219, i64 0, i64 %222
  %224 = getelementptr inbounds [9 x double], ptr %223, i64 0, i64 1
  %225 = load double, ptr %224, align 8, !tbaa !5
  %226 = load i32, ptr %2, align 4, !tbaa !9
  %227 = srem i32 %226, 2
  %228 = sext i32 %227 to i64
  %229 = getelementptr inbounds [2 x [1030 x [1028 x [9 x double]]]], ptr @grid, i64 0, i64 %228
  %230 = load i32, ptr %3, align 4, !tbaa !9
  %231 = add nsw i32 %230, 0
  %232 = sext i32 %231 to i64
  %233 = getelementptr inbounds [1030 x [1028 x [9 x double]]], ptr %229, i64 0, i64 %232
  %234 = load i32, ptr %4, align 4, !tbaa !9
  %235 = add nsw i32 %234, 1
  %236 = sext i32 %235 to i64
  %237 = getelementptr inbounds [1028 x [9 x double]], ptr %233, i64 0, i64 %236
  %238 = getelementptr inbounds [9 x double], ptr %237, i64 0, i64 3
  %239 = load double, ptr %238, align 8, !tbaa !5
  %240 = load i32, ptr %2, align 4, !tbaa !9
  %241 = srem i32 %240, 2
  %242 = sext i32 %241 to i64
  %243 = getelementptr inbounds [2 x [1030 x [1028 x [9 x double]]]], ptr @grid, i64 0, i64 %242
  %244 = load i32, ptr %3, align 4, !tbaa !9
  %245 = sub nsw i32 %244, 1
  %246 = sext i32 %245 to i64
  %247 = getelementptr inbounds [1030 x [1028 x [9 x double]]], ptr %243, i64 0, i64 %246
  %248 = load i32, ptr %4, align 4, !tbaa !9
  %249 = sub nsw i32 %248, 1
  %250 = sext i32 %249 to i64
  %251 = getelementptr inbounds [1028 x [9 x double]], ptr %247, i64 0, i64 %250
  %252 = getelementptr inbounds [9 x double], ptr %251, i64 0, i64 5
  %253 = load double, ptr %252, align 8, !tbaa !5
  %254 = load i32, ptr %2, align 4, !tbaa !9
  %255 = srem i32 %254, 2
  %256 = sext i32 %255 to i64
  %257 = getelementptr inbounds [2 x [1030 x [1028 x [9 x double]]]], ptr @grid, i64 0, i64 %256
  %258 = load i32, ptr %3, align 4, !tbaa !9
  %259 = sub nsw i32 %258, 1
  %260 = sext i32 %259 to i64
  %261 = getelementptr inbounds [1030 x [1028 x [9 x double]]], ptr %257, i64 0, i64 %260
  %262 = load i32, ptr %4, align 4, !tbaa !9
  %263 = add nsw i32 %262, 1
  %264 = sext i32 %263 to i64
  %265 = getelementptr inbounds [1028 x [9 x double]], ptr %261, i64 0, i64 %264
  %266 = getelementptr inbounds [9 x double], ptr %265, i64 0, i64 6
  %267 = load double, ptr %266, align 8, !tbaa !5
  %268 = load i32, ptr %2, align 4, !tbaa !9
  %269 = srem i32 %268, 2
  %270 = sext i32 %269 to i64
  %271 = getelementptr inbounds [2 x [1030 x [1028 x [9 x double]]]], ptr @grid, i64 0, i64 %270
  %272 = load i32, ptr %3, align 4, !tbaa !9
  %273 = add nsw i32 %272, 1
  %274 = sext i32 %273 to i64
  %275 = getelementptr inbounds [1030 x [1028 x [9 x double]]], ptr %271, i64 0, i64 %274
  %276 = load i32, ptr %4, align 4, !tbaa !9
  %277 = sub nsw i32 %276, 1
  %278 = sext i32 %277 to i64
  %279 = getelementptr inbounds [1028 x [9 x double]], ptr %275, i64 0, i64 %278
  %280 = getelementptr inbounds [9 x double], ptr %279, i64 0, i64 8
  %281 = load double, ptr %280, align 8, !tbaa !5
  %282 = load i32, ptr %2, align 4, !tbaa !9
  %283 = srem i32 %282, 2
  %284 = sext i32 %283 to i64
  %285 = getelementptr inbounds [2 x [1030 x [1028 x [9 x double]]]], ptr @grid, i64 0, i64 %284
  %286 = load i32, ptr %3, align 4, !tbaa !9
  %287 = add nsw i32 %286, 1
  %288 = sext i32 %287 to i64
  %289 = getelementptr inbounds [1030 x [1028 x [9 x double]]], ptr %285, i64 0, i64 %288
  %290 = load i32, ptr %4, align 4, !tbaa !9
  %291 = add nsw i32 %290, 1
  %292 = sext i32 %291 to i64
  %293 = getelementptr inbounds [1028 x [9 x double]], ptr %289, i64 0, i64 %292
  %294 = getelementptr inbounds [9 x double], ptr %293, i64 0, i64 7
  %295 = load double, ptr %294, align 8, !tbaa !5
  %296 = load i32, ptr %2, align 4, !tbaa !9
  %297 = add nsw i32 %296, 1
  %298 = srem i32 %297, 2
  %299 = sext i32 %298 to i64
  %300 = getelementptr inbounds [2 x [1030 x [1028 x [9 x double]]]], ptr @grid, i64 0, i64 %299
  %301 = load i32, ptr %3, align 4, !tbaa !9
  %302 = sext i32 %301 to i64
  %303 = getelementptr inbounds [1030 x [1028 x [9 x double]]], ptr %300, i64 0, i64 %302
  %304 = load i32, ptr %4, align 4, !tbaa !9
  %305 = sext i32 %304 to i64
  %306 = getelementptr inbounds [1028 x [9 x double]], ptr %303, i64 0, i64 %305
  %307 = getelementptr inbounds [9 x double], ptr %306, i64 0, i64 0
  %308 = load i32, ptr %2, align 4, !tbaa !9
  %309 = add nsw i32 %308, 1
  %310 = srem i32 %309, 2
  %311 = sext i32 %310 to i64
  %312 = getelementptr inbounds [2 x [1030 x [1028 x [9 x double]]]], ptr @grid, i64 0, i64 %311
  %313 = load i32, ptr %3, align 4, !tbaa !9
  %314 = sext i32 %313 to i64
  %315 = getelementptr inbounds [1030 x [1028 x [9 x double]]], ptr %312, i64 0, i64 %314
  %316 = load i32, ptr %4, align 4, !tbaa !9
  %317 = sext i32 %316 to i64
  %318 = getelementptr inbounds [1028 x [9 x double]], ptr %315, i64 0, i64 %317
  %319 = getelementptr inbounds [9 x double], ptr %318, i64 0, i64 2
  %320 = load i32, ptr %2, align 4, !tbaa !9
  %321 = add nsw i32 %320, 1
  %322 = srem i32 %321, 2
  %323 = sext i32 %322 to i64
  %324 = getelementptr inbounds [2 x [1030 x [1028 x [9 x double]]]], ptr @grid, i64 0, i64 %323
  %325 = load i32, ptr %3, align 4, !tbaa !9
  %326 = sext i32 %325 to i64
  %327 = getelementptr inbounds [1030 x [1028 x [9 x double]]], ptr %324, i64 0, i64 %326
  %328 = load i32, ptr %4, align 4, !tbaa !9
  %329 = sext i32 %328 to i64
  %330 = getelementptr inbounds [1028 x [9 x double]], ptr %327, i64 0, i64 %329
  %331 = getelementptr inbounds [9 x double], ptr %330, i64 0, i64 4
  %332 = load i32, ptr %2, align 4, !tbaa !9
  %333 = add nsw i32 %332, 1
  %334 = srem i32 %333, 2
  %335 = sext i32 %334 to i64
  %336 = getelementptr inbounds [2 x [1030 x [1028 x [9 x double]]]], ptr @grid, i64 0, i64 %335
  %337 = load i32, ptr %3, align 4, !tbaa !9
  %338 = sext i32 %337 to i64
  %339 = getelementptr inbounds [1030 x [1028 x [9 x double]]], ptr %336, i64 0, i64 %338
  %340 = load i32, ptr %4, align 4, !tbaa !9
  %341 = sext i32 %340 to i64
  %342 = getelementptr inbounds [1028 x [9 x double]], ptr %339, i64 0, i64 %341
  %343 = getelementptr inbounds [9 x double], ptr %342, i64 0, i64 1
  %344 = load i32, ptr %2, align 4, !tbaa !9
  %345 = add nsw i32 %344, 1
  %346 = srem i32 %345, 2
  %347 = sext i32 %346 to i64
  %348 = getelementptr inbounds [2 x [1030 x [1028 x [9 x double]]]], ptr @grid, i64 0, i64 %347
  %349 = load i32, ptr %3, align 4, !tbaa !9
  %350 = sext i32 %349 to i64
  %351 = getelementptr inbounds [1030 x [1028 x [9 x double]]], ptr %348, i64 0, i64 %350
  %352 = load i32, ptr %4, align 4, !tbaa !9
  %353 = sext i32 %352 to i64
  %354 = getelementptr inbounds [1028 x [9 x double]], ptr %351, i64 0, i64 %353
  %355 = getelementptr inbounds [9 x double], ptr %354, i64 0, i64 3
  %356 = load i32, ptr %2, align 4, !tbaa !9
  %357 = add nsw i32 %356, 1
  %358 = srem i32 %357, 2
  %359 = sext i32 %358 to i64
  %360 = getelementptr inbounds [2 x [1030 x [1028 x [9 x double]]]], ptr @grid, i64 0, i64 %359
  %361 = load i32, ptr %3, align 4, !tbaa !9
  %362 = sext i32 %361 to i64
  %363 = getelementptr inbounds [1030 x [1028 x [9 x double]]], ptr %360, i64 0, i64 %362
  %364 = load i32, ptr %4, align 4, !tbaa !9
  %365 = sext i32 %364 to i64
  %366 = getelementptr inbounds [1028 x [9 x double]], ptr %363, i64 0, i64 %365
  %367 = getelementptr inbounds [9 x double], ptr %366, i64 0, i64 5
  %368 = load i32, ptr %2, align 4, !tbaa !9
  %369 = add nsw i32 %368, 1
  %370 = srem i32 %369, 2
  %371 = sext i32 %370 to i64
  %372 = getelementptr inbounds [2 x [1030 x [1028 x [9 x double]]]], ptr @grid, i64 0, i64 %371
  %373 = load i32, ptr %3, align 4, !tbaa !9
  %374 = sext i32 %373 to i64
  %375 = getelementptr inbounds [1030 x [1028 x [9 x double]]], ptr %372, i64 0, i64 %374
  %376 = load i32, ptr %4, align 4, !tbaa !9
  %377 = sext i32 %376 to i64
  %378 = getelementptr inbounds [1028 x [9 x double]], ptr %375, i64 0, i64 %377
  %379 = getelementptr inbounds [9 x double], ptr %378, i64 0, i64 6
  %380 = load i32, ptr %2, align 4, !tbaa !9
  %381 = add nsw i32 %380, 1
  %382 = srem i32 %381, 2
  %383 = sext i32 %382 to i64
  %384 = getelementptr inbounds [2 x [1030 x [1028 x [9 x double]]]], ptr @grid, i64 0, i64 %383
  %385 = load i32, ptr %3, align 4, !tbaa !9
  %386 = sext i32 %385 to i64
  %387 = getelementptr inbounds [1030 x [1028 x [9 x double]]], ptr %384, i64 0, i64 %386
  %388 = load i32, ptr %4, align 4, !tbaa !9
  %389 = sext i32 %388 to i64
  %390 = getelementptr inbounds [1028 x [9 x double]], ptr %387, i64 0, i64 %389
  %391 = getelementptr inbounds [9 x double], ptr %390, i64 0, i64 8
  %392 = load i32, ptr %2, align 4, !tbaa !9
  %393 = add nsw i32 %392, 1
  %394 = srem i32 %393, 2
  %395 = sext i32 %394 to i64
  %396 = getelementptr inbounds [2 x [1030 x [1028 x [9 x double]]]], ptr @grid, i64 0, i64 %395
  %397 = load i32, ptr %3, align 4, !tbaa !9
  %398 = sext i32 %397 to i64
  %399 = getelementptr inbounds [1030 x [1028 x [9 x double]]], ptr %396, i64 0, i64 %398
  %400 = load i32, ptr %4, align 4, !tbaa !9
  %401 = sext i32 %400 to i64
  %402 = getelementptr inbounds [1028 x [9 x double]], ptr %399, i64 0, i64 %401
  %403 = getelementptr inbounds [9 x double], ptr %402, i64 0, i64 7
  %404 = load i32, ptr %2, align 4, !tbaa !9
  %405 = load i32, ptr %3, align 4, !tbaa !9
  %406 = load i32, ptr %4, align 4, !tbaa !9
  call void @lbm_kernel(double noundef %183, double noundef %197, double noundef %211, double noundef %225, double noundef %239, double noundef %253, double noundef %267, double noundef %281, double noundef %295, ptr noundef %307, ptr noundef %319, ptr noundef %331, ptr noundef %343, ptr noundef %355, ptr noundef %367, ptr noundef %379, ptr noundef %391, ptr noundef %403, i32 noundef %404, i32 noundef %405, i32 noundef %406)
  br label %407

407:                                              ; preds = %171
  %408 = load i32, ptr %4, align 4, !tbaa !9
  %409 = add nsw i32 %408, 1
  store i32 %409, ptr %4, align 4, !tbaa !9
  br label %166, !llvm.loop !18

410:                                              ; preds = %166
  br label %411

411:                                              ; preds = %410
  %412 = load i32, ptr %3, align 4, !tbaa !9
  %413 = add nsw i32 %412, 1
  store i32 %413, ptr %3, align 4, !tbaa !9
  br label %160, !llvm.loop !19

414:                                              ; preds = %160
  br label %415

415:                                              ; preds = %414
  %416 = load i32, ptr %2, align 4, !tbaa !9
  %417 = add nsw i32 %416, 1
  store i32 %417, ptr %2, align 4, !tbaa !9
  br label %155, !llvm.loop !20

418:                                              ; preds = %155
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #4
  call void @llvm.lifetime.end.p0(i64 2, ptr %25) #4
  call void @llvm.lifetime.end.p0(i64 2, ptr %24) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %22) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %21) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %20) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #4
  ret i32 0
}

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2

declare i32 @printf(ptr noundef, ...) #3

; Function Attrs: nounwind uwtable
declare dso_local void @lbm_kernel(double noundef, double noundef, double noundef, double noundef, double noundef, double noundef, double noundef, double noundef, double noundef, ptr noalias noundef, ptr noalias noundef, ptr noalias noundef, ptr noalias noundef, ptr noalias noundef, ptr noalias noundef, ptr noalias noundef, ptr noalias noundef, ptr noalias noundef, i32 noundef, i32 noundef, i32 noundef) #0

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1

attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"double", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !12}
!14 = distinct !{!14, !12}
!15 = distinct !{!15, !12}
!16 = !{!17, !17, i64 0}
!17 = !{!"short", !7, i64 0}
!18 = distinct !{!18, !12}
!19 = distinct !{!19, !12}
!20 = distinct !{!20, !12}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

@omega = external dso_local local_unnamed_addr global double, align 8
@nu = external dso_local local_unnamed_addr global double, align 8
@s_0 = external dso_local local_unnamed_addr global double, align 8
@s_1 = external dso_local local_unnamed_addr global double, align 8
@s_2 = external dso_local local_unnamed_addr global double, align 8
@s_3 = external dso_local local_unnamed_addr global double, align 8
@s_4 = external dso_local local_unnamed_addr global double, align 8
@s_5 = external dso_local local_unnamed_addr global double, align 8
@s_6 = external dso_local local_unnamed_addr global double, align 8
@s_7 = external dso_local local_unnamed_addr global double, align 8
@s_8 = external dso_local local_unnamed_addr global double, align 8
@.str = external hidden unnamed_addr constant [220 x i8], align 1
@grid = external dso_local global [2 x [1030 x [1028 x [9 x double]]]], align 16

; Function Attrs: nounwind uwtable
define dso_local noundef i32 @main() local_unnamed_addr #0 {
  store double 0x3FF3D3462E78714E, ptr @omega, align 8, !tbaa !5
  store double 0x3FBA339C0EBEDFA5, ptr @nu, align 8, !tbaa !5
  store double 1.000000e+00, ptr @s_0, align 8, !tbaa !5
  store double 1.400000e+00, ptr @s_1, align 8, !tbaa !5
  store double 1.400000e+00, ptr @s_2, align 8, !tbaa !5
  store double 1.000000e+00, ptr @s_3, align 8, !tbaa !5
  store double 1.200000e+00, ptr @s_4, align 8, !tbaa !5
  store double 1.000000e+00, ptr @s_5, align 8, !tbaa !5
  store double 1.200000e+00, ptr @s_6, align 8, !tbaa !5
  store double 0x3FF3D3462E78714E, ptr @s_7, align 8, !tbaa !5
  store double 0x3FF3D3462E78714E, ptr @s_8, align 8, !tbaa !5
  %1 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, i32 noundef 1024, i32 noundef 1024, double noundef 0x4090624DD2F1A9FC, i32 noundef 200, double noundef 1.000000e+03, double noundef 1.000000e-01, double noundef 0x3FF3D3462E78714E)
  br label %.preheader118

.preheader118:                                    ; preds = %0, %12
  %indvars.iv129 = phi i64 [ 0, %0 ], [ %indvars.iv.next130, %12 ]
  br label %.preheader117.preheader

.preheader117.preheader:                          ; preds = %.preheader118, %.preheader117.preheader
  %indvars.iv = phi i64 [ 0, %.preheader118 ], [ %indvars.iv.next, %.preheader117.preheader ]
  %2 = getelementptr inbounds [1030 x [1028 x [9 x double]]], ptr @grid, i64 0, i64 %indvars.iv129, i64 %indvars.iv
  %3 = getelementptr inbounds [1030 x [1028 x [9 x double]]], ptr getelementptr inbounds (i8, ptr @grid, i64 76236480), i64 0, i64 %indvars.iv129, i64 %indvars.iv
  store <2 x double> <double 0x3FDC71C71C71C71C, double 0x3FBC71C71C71C71C>, ptr %2, align 8, !tbaa !5
  store <2 x double> <double 0x3FDC71C71C71C71C, double 0x3FBC71C71C71C71C>, ptr %3, align 8, !tbaa !5
  %4 = getelementptr inbounds [1030 x [1028 x [9 x double]]], ptr @grid, i64 0, i64 %indvars.iv129, i64 %indvars.iv, i64 2
  %5 = getelementptr inbounds [1030 x [1028 x [9 x double]]], ptr getelementptr inbounds (i8, ptr @grid, i64 76236480), i64 0, i64 %indvars.iv129, i64 %indvars.iv, i64 2
  store <2 x double> <double 0x3FBC71C71C71C71C, double 0x3FBC71C71C71C71C>, ptr %4, align 8, !tbaa !5
  store <2 x double> <double 0x3FBC71C71C71C71C, double 0x3FBC71C71C71C71C>, ptr %5, align 8, !tbaa !5
  %6 = getelementptr inbounds [1030 x [1028 x [9 x double]]], ptr @grid, i64 0, i64 %indvars.iv129, i64 %indvars.iv, i64 4
  %7 = getelementptr inbounds [1030 x [1028 x [9 x double]]], ptr getelementptr inbounds (i8, ptr @grid, i64 76236480), i64 0, i64 %indvars.iv129, i64 %indvars.iv, i64 4
  store <2 x double> <double 0x3FBC71C71C71C71C, double 0x3F9C71C71C71C71C>, ptr %6, align 8, !tbaa !5
  store <2 x double> <double 0x3FBC71C71C71C71C, double 0x3F9C71C71C71C71C>, ptr %7, align 8, !tbaa !5
  %8 = getelementptr inbounds [1030 x [1028 x [9 x double]]], ptr @grid, i64 0, i64 %indvars.iv129, i64 %indvars.iv, i64 6
  %9 = getelementptr inbounds [1030 x [1028 x [9 x double]]], ptr getelementptr inbounds (i8, ptr @grid, i64 76236480), i64 0, i64 %indvars.iv129, i64 %indvars.iv, i64 6
  store <2 x double> <double 0x3F9C71C71C71C71C, double 0x3F9C71C71C71C71C>, ptr %8, align 8, !tbaa !5
  store <2 x double> <double 0x3F9C71C71C71C71C, double 0x3F9C71C71C71C71C>, ptr %9, align 8, !tbaa !5
  %10 = getelementptr inbounds [1030 x [1028 x [9 x double]]], ptr @grid, i64 0, i64 %indvars.iv129, i64 %indvars.iv, i64 8
  store double 0x3F9C71C71C71C71C, ptr %10, align 8, !tbaa !5
  %11 = getelementptr inbounds [1030 x [1028 x [9 x double]]], ptr getelementptr inbounds (i8, ptr @grid, i64 76236480), i64 0, i64 %indvars.iv129, i64 %indvars.iv, i64 8
  store double 0x3F9C71C71C71C71C, ptr %11, align 8, !tbaa !5
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, 1028
  br i1 %exitcond.not, label %12, label %.preheader117.preheader, !llvm.loop !9

12:                                               ; preds = %.preheader117.preheader
  %indvars.iv.next130 = add nuw nsw i64 %indvars.iv129, 1
  %exitcond132.not = icmp eq i64 %indvars.iv.next130, 1030
  br i1 %exitcond132.not, label %.preheader115, label %.preheader118, !llvm.loop !11

.preheader115:                                    ; preds = %12, %50
  %.0125 = phi i32 [ %51, %50 ], [ 0, %12 ]
  %13 = and i32 %.0125, 1
  %14 = zext nneg i32 %13 to i64
  %15 = xor i32 %13, 1
  %16 = zext nneg i32 %15 to i64
  br label %.preheader

.preheader:                                       ; preds = %.preheader115, %49
  %indvars.iv137 = phi i64 [ 2, %.preheader115 ], [ %indvars.iv.next138, %49 ]
  %17 = add nsw i64 %indvars.iv137, -1
  %indvars.iv.next138 = add nuw nsw i64 %indvars.iv137, 1
  %18 = trunc nuw nsw i64 %indvars.iv137 to i32
  br label %19

19:                                               ; preds = %.preheader, %19
  %indvars.iv133 = phi i64 [ 1, %.preheader ], [ %indvars.iv.next134, %19 ]
  %20 = getelementptr inbounds [2 x [1030 x [1028 x [9 x double]]]], ptr @grid, i64 0, i64 %14, i64 %indvars.iv137, i64 %indvars.iv133
  %21 = load double, ptr %20, align 8, !tbaa !5
  %22 = getelementptr inbounds [2 x [1030 x [1028 x [9 x double]]]], ptr @grid, i64 0, i64 %14, i64 %17, i64 %indvars.iv133, i64 2
  %23 = load double, ptr %22, align 8, !tbaa !5
  %24 = getelementptr inbounds [2 x [1030 x [1028 x [9 x double]]]], ptr @grid, i64 0, i64 %14, i64 %indvars.iv.next138, i64 %indvars.iv133, i64 4
  %25 = load double, ptr %24, align 8, !tbaa !5
  %26 = add nsw i64 %indvars.iv133, -1
  %27 = getelementptr inbounds [2 x [1030 x [1028 x [9 x double]]]], ptr @grid, i64 0, i64 %14, i64 %indvars.iv137, i64 %26, i64 1
  %28 = load double, ptr %27, align 8, !tbaa !5
  %indvars.iv.next134 = add nuw nsw i64 %indvars.iv133, 1
  %29 = getelementptr inbounds [2 x [1030 x [1028 x [9 x double]]]], ptr @grid, i64 0, i64 %14, i64 %indvars.iv137, i64 %indvars.iv.next134, i64 3
  %30 = load double, ptr %29, align 8, !tbaa !5
  %31 = getelementptr inbounds [2 x [1030 x [1028 x [9 x double]]]], ptr @grid, i64 0, i64 %14, i64 %17, i64 %26, i64 5
  %32 = load double, ptr %31, align 8, !tbaa !5
  %33 = getelementptr inbounds [2 x [1030 x [1028 x [9 x double]]]], ptr @grid, i64 0, i64 %14, i64 %17, i64 %indvars.iv.next134, i64 6
  %34 = load double, ptr %33, align 8, !tbaa !5
  %35 = getelementptr inbounds [2 x [1030 x [1028 x [9 x double]]]], ptr @grid, i64 0, i64 %14, i64 %indvars.iv.next138, i64 %26, i64 8
  %36 = load double, ptr %35, align 8, !tbaa !5
  %37 = getelementptr inbounds [2 x [1030 x [1028 x [9 x double]]]], ptr @grid, i64 0, i64 %14, i64 %indvars.iv.next138, i64 %indvars.iv.next134, i64 7
  %38 = load double, ptr %37, align 8, !tbaa !5
  %39 = getelementptr inbounds [2 x [1030 x [1028 x [9 x double]]]], ptr @grid, i64 0, i64 %16, i64 %indvars.iv137, i64 %indvars.iv133
  %40 = getelementptr inbounds i8, ptr %39, i64 16
  %41 = getelementptr inbounds i8, ptr %39, i64 32
  %42 = getelementptr inbounds i8, ptr %39, i64 8
  %43 = getelementptr inbounds i8, ptr %39, i64 24
  %44 = getelementptr inbounds i8, ptr %39, i64 40
  %45 = getelementptr inbounds i8, ptr %39, i64 48
  %46 = getelementptr inbounds i8, ptr %39, i64 64
  %47 = getelementptr inbounds i8, ptr %39, i64 56
  %48 = trunc nuw nsw i64 %indvars.iv133 to i32
  tail call void @lbm_kernel(double noundef %21, double noundef %23, double noundef %25, double noundef %28, double noundef %30, double noundef %32, double noundef %34, double noundef %36, double noundef %38, ptr noundef nonnull %39, ptr noundef nonnull %40, ptr noundef nonnull %41, ptr noundef nonnull %42, ptr noundef nonnull %43, ptr noundef nonnull %44, ptr noundef nonnull %45, ptr noundef nonnull %46, ptr noundef nonnull %47, i32 noundef %.0125, i32 noundef %18, i32 noundef %48)
  %exitcond136.not = icmp eq i64 %indvars.iv.next134, 1027
  br i1 %exitcond136.not, label %49, label %19, !llvm.loop !12

49:                                               ; preds = %19
  %exitcond140.not = icmp eq i64 %indvars.iv.next138, 1028
  br i1 %exitcond140.not, label %50, label %.preheader, !llvm.loop !13

50:                                               ; preds = %49
  %51 = add nuw nsw i32 %.0125, 1
  %exitcond141.not = icmp eq i32 %51, 200
  br i1 %exitcond141.not, label %52, label %.preheader115, !llvm.loop !14

52:                                               ; preds = %50
  ret i32 0
}

; Function Attrs: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare dso_local void @lbm_kernel(double noundef, double noundef, double noundef, double noundef, double noundef, double noundef, double noundef, double noundef, double noundef, ptr noalias noundef, ptr noalias noundef, ptr noalias noundef, ptr noalias noundef, ptr noalias noundef, ptr noalias noundef, ptr noalias noundef, ptr noalias noundef, ptr noalias noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #0

attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"double", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = distinct !{!11, !10}
!12 = distinct !{!12, !10}
!13 = distinct !{!13, !10}
!14 = distinct !{!14, !10}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass