; LLVM IR from libxsmm/libxsmm :: src (generator_mateltwise_unary_binary_avx_avx512)

; 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.libxsmm_mateltwise_kernel_config_struct = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i8 }

; Function Attrs: nounwind uwtable
define dso_local void @libxsmm_generator_configure_avx512_vlens(ptr noundef %0, ptr noundef %1) #0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %5 = load ptr, ptr %3, align 8, !tbaa !5
  %6 = call i32 @libxsmm_meltw_getenum_precision(ptr noundef %5, i32 noundef 4)
  %7 = icmp eq i32 12, %6
  br i1 %7, label %16, label %8

8:                                                ; preds = %2
  %9 = load ptr, ptr %3, align 8, !tbaa !5
  %10 = call i32 @libxsmm_meltw_getenum_precision(ptr noundef %9, i32 noundef 4)
  %11 = icmp eq i32 4, %10
  br i1 %11, label %16, label %12

12:                                               ; preds = %8
  %13 = load ptr, ptr %3, align 8, !tbaa !5
  %14 = call i32 @libxsmm_meltw_getenum_precision(ptr noundef %13, i32 noundef 4)
  %15 = icmp eq i32 5, %14
  br i1 %15, label %16, label %19

16:                                               ; preds = %12, %8, %2
  %17 = load ptr, ptr %4, align 8, !tbaa !5
  %18 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %17, i32 0, i32 124
  store i32 64, ptr %18, align 4, !tbaa !9
  br label %59

19:                                               ; preds = %12
  %20 = load ptr, ptr %3, align 8, !tbaa !5
  %21 = call i32 @libxsmm_meltw_getenum_precision(ptr noundef %20, i32 noundef 4)
  %22 = icmp eq i32 2, %21
  br i1 %22, label %31, label %23

23:                                               ; preds = %19
  %24 = load ptr, ptr %3, align 8, !tbaa !5
  %25 = call i32 @libxsmm_meltw_getenum_precision(ptr noundef %24, i32 noundef 4)
  %26 = icmp eq i32 10, %25
  br i1 %26, label %31, label %27

27:                                               ; preds = %23
  %28 = load ptr, ptr %3, align 8, !tbaa !5
  %29 = call i32 @libxsmm_meltw_getenum_precision(ptr noundef %28, i32 noundef 4)
  %30 = icmp eq i32 3, %29
  br i1 %30, label %31, label %34

31:                                               ; preds = %27, %23, %19
  %32 = load ptr, ptr %4, align 8, !tbaa !5
  %33 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %32, i32 0, i32 124
  store i32 32, ptr %33, align 4, !tbaa !9
  br label %58

34:                                               ; preds = %27
  %35 = load ptr, ptr %3, align 8, !tbaa !5
  %36 = call i32 @libxsmm_meltw_getenum_precision(ptr noundef %35, i32 noundef 4)
  %37 = icmp eq i32 1, %36
  br i1 %37, label %42, label %38

38:                                               ; preds = %34
  %39 = load ptr, ptr %3, align 8, !tbaa !5
  %40 = call i32 @libxsmm_meltw_getenum_precision(ptr noundef %39, i32 noundef 4)
  %41 = icmp eq i32 8, %40
  br i1 %41, label %42, label %45

42:                                               ; preds = %38, %34
  %43 = load ptr, ptr %4, align 8, !tbaa !5
  %44 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %43, i32 0, i32 124
  store i32 16, ptr %44, align 4, !tbaa !9
  br label %57

45:                                               ; preds = %38
  %46 = load ptr, ptr %3, align 8, !tbaa !5
  %47 = call i32 @libxsmm_meltw_getenum_precision(ptr noundef %46, i32 noundef 4)
  %48 = icmp eq i32 0, %47
  br i1 %48, label %53, label %49

49:                                               ; preds = %45
  %50 = load ptr, ptr %3, align 8, !tbaa !5
  %51 = call i32 @libxsmm_meltw_getenum_precision(ptr noundef %50, i32 noundef 4)
  %52 = icmp eq i32 6, %51
  br i1 %52, label %53, label %56

53:                                               ; preds = %49, %45
  %54 = load ptr, ptr %4, align 8, !tbaa !5
  %55 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %54, i32 0, i32 124
  store i32 8, ptr %55, align 4, !tbaa !9
  br label %56

56:                                               ; preds = %53, %49
  br label %57

57:                                               ; preds = %56, %42
  br label %58

58:                                               ; preds = %57, %31
  br label %59

59:                                               ; preds = %58, %16
  %60 = load ptr, ptr %4, align 8, !tbaa !5
  %61 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %60, i32 0, i32 124
  %62 = load i32, ptr %61, align 4, !tbaa !9
  %63 = load ptr, ptr %4, align 8, !tbaa !5
  %64 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %63, i32 0, i32 120
  store i32 %62, ptr %64, align 4, !tbaa !12
  %65 = load ptr, ptr %3, align 8, !tbaa !5
  %66 = call i32 @libxsmm_meltw_getenum_precision(ptr noundef %65, i32 noundef 3)
  %67 = icmp eq i32 14, %66
  br i1 %67, label %68, label %74

68:                                               ; preds = %59
  %69 = load ptr, ptr %4, align 8, !tbaa !5
  %70 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %69, i32 0, i32 120
  %71 = load i32, ptr %70, align 4, !tbaa !12
  %72 = load ptr, ptr %4, align 8, !tbaa !5
  %73 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %72, i32 0, i32 123
  store i32 %71, ptr %73, align 4, !tbaa !13
  br label %170

74:                                               ; preds = %59
  %75 = load ptr, ptr %3, align 8, !tbaa !5
  %76 = call i32 @libxsmm_meltw_getenum_precision(ptr noundef %75, i32 noundef 3)
  %77 = icmp eq i32 12, %76
  br i1 %77, label %78, label %93

78:                                               ; preds = %74
  %79 = load ptr, ptr %3, align 8, !tbaa !5
  %80 = call i32 @libxsmm_meltw_getenum_precision(ptr noundef %79, i32 noundef 4)
  %81 = icmp eq i32 1, %80
  br i1 %81, label %86, label %82

82:                                               ; preds = %78
  %83 = load ptr, ptr %3, align 8, !tbaa !5
  %84 = call i32 @libxsmm_meltw_getenum_precision(ptr noundef %83, i32 noundef 0)
  %85 = icmp eq i32 1, %84
  br i1 %85, label %86, label %89

86:                                               ; preds = %82, %78
  %87 = load ptr, ptr %4, align 8, !tbaa !5
  %88 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %87, i32 0, i32 123
  store i32 16, ptr %88, align 4, !tbaa !13
  br label %92

89:                                               ; preds = %82
  %90 = load ptr, ptr %4, align 8, !tbaa !5
  %91 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %90, i32 0, i32 123
  store i32 64, ptr %91, align 4, !tbaa !13
  br label %92

92:                                               ; preds = %89, %86
  br label %169

93:                                               ; preds = %74
  %94 = load ptr, ptr %3, align 8, !tbaa !5
  %95 = call i32 @libxsmm_meltw_getenum_precision(ptr noundef %94, i32 noundef 3)
  %96 = icmp eq i32 2, %95
  br i1 %96, label %105, label %97

97:                                               ; preds = %93
  %98 = load ptr, ptr %3, align 8, !tbaa !5
  %99 = call i32 @libxsmm_meltw_getenum_precision(ptr noundef %98, i32 noundef 3)
  %100 = icmp eq i32 10, %99
  br i1 %100, label %105, label %101

101:                                              ; preds = %97
  %102 = load ptr, ptr %3, align 8, !tbaa !5
  %103 = call i32 @libxsmm_meltw_getenum_precision(ptr noundef %102, i32 noundef 3)
  %104 = icmp eq i32 3, %103
  br i1 %104, label %105, label %120

105:                                              ; preds = %101, %97, %93
  %106 = load ptr, ptr %3, align 8, !tbaa !5
  %107 = call i32 @libxsmm_meltw_getenum_precision(ptr noundef %106, i32 noundef 4)
  %108 = icmp eq i32 1, %107
  br i1 %108, label %113, label %109

109:                                              ; preds = %105
  %110 = load ptr, ptr %3, align 8, !tbaa !5
  %111 = call i32 @libxsmm_meltw_getenum_precision(ptr noundef %110, i32 noundef 0)
  %112 = icmp eq i32 1, %111
  br i1 %112, label %113, label %116

113:                                              ; preds = %109, %105
  %114 = load ptr, ptr %4, align 8, !tbaa !5
  %115 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %114, i32 0, i32 123
  store i32 16, ptr %115, align 4, !tbaa !13
  br label %119

116:                                              ; preds = %109
  %117 = load ptr, ptr %4, align 8, !tbaa !5
  %118 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %117, i32 0, i32 123
  store i32 32, ptr %118, align 4, !tbaa !13
  br label %119

119:                                              ; preds = %116, %113
  br label %168

120:                                              ; preds = %101
  %121 = load ptr, ptr %3, align 8, !tbaa !5
  %122 = call i32 @libxsmm_meltw_getenum_precision(ptr noundef %121, i32 noundef 3)
  %123 = icmp eq i32 4, %122
  br i1 %123, label %128, label %124

124:                                              ; preds = %120
  %125 = load ptr, ptr %3, align 8, !tbaa !5
  %126 = call i32 @libxsmm_meltw_getenum_precision(ptr noundef %125, i32 noundef 3)
  %127 = icmp eq i32 5, %126
  br i1 %127, label %128, label %143

128:                                              ; preds = %124, %120
  %129 = load ptr, ptr %3, align 8, !tbaa !5
  %130 = call i32 @libxsmm_meltw_getenum_precision(ptr noundef %129, i32 noundef 4)
  %131 = icmp eq i32 1, %130
  br i1 %131, label %136, label %132

132:                                              ; preds = %128
  %133 = load ptr, ptr %3, align 8, !tbaa !5
  %134 = call i32 @libxsmm_meltw_getenum_precision(ptr noundef %133, i32 noundef 0)
  %135 = icmp eq i32 1, %134
  br i1 %135, label %136, label %139

136:                                              ; preds = %132, %128
  %137 = load ptr, ptr %4, align 8, !tbaa !5
  %138 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %137, i32 0, i32 123
  store i32 16, ptr %138, align 4, !tbaa !13
  br label %142

139:                                              ; preds = %132
  %140 = load ptr, ptr %4, align 8, !tbaa !5
  %141 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %140, i32 0, i32 123
  store i32 64, ptr %141, align 4, !tbaa !13
  br label %142

142:                                              ; preds = %139, %136
  br label %167

143:                                              ; preds = %124
  %144 = load ptr, ptr %3, align 8, !tbaa !5
  %145 = call i32 @libxsmm_meltw_getenum_precision(ptr noundef %144, i32 noundef 3)
  %146 = icmp eq i32 1, %145
  br i1 %146, label %151, label %147

147:                                              ; preds = %143
  %148 = load ptr, ptr %3, align 8, !tbaa !5
  %149 = call i32 @libxsmm_meltw_getenum_precision(ptr noundef %148, i32 noundef 3)
  %150 = icmp eq i32 8, %149
  br i1 %150, label %151, label %154

151:                                              ; preds = %147, %143
  %152 = load ptr, ptr %4, align 8, !tbaa !5
  %153 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %152, i32 0, i32 123
  store i32 16, ptr %153, align 4, !tbaa !13
  br label %166

154:                                              ; preds = %147
  %155 = load ptr, ptr %3, align 8, !tbaa !5
  %156 = call i32 @libxsmm_meltw_getenum_precision(ptr noundef %155, i32 noundef 3)
  %157 = icmp eq i32 0, %156
  br i1 %157, label %162, label %158

158:                                              ; preds = %154
  %159 = load ptr, ptr %3, align 8, !tbaa !5
  %160 = call i32 @libxsmm_meltw_getenum_precision(ptr noundef %159, i32 noundef 3)
  %161 = icmp eq i32 6, %160
  br i1 %161, label %162, label %165

162:                                              ; preds = %158, %154
  %163 = load ptr, ptr %4, align 8, !tbaa !5
  %164 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %163, i32 0, i32 123
  store i32 8, ptr %164, align 4, !tbaa !13
  br label %165

165:                                              ; preds = %162, %158
  br label %166

166:                                              ; preds = %165, %151
  br label %167

167:                                              ; preds = %166, %142
  br label %168

168:                                              ; preds = %167, %119
  br label %169

169:                                              ; preds = %168, %92
  br label %170

170:                                              ; preds = %169, %68
  ret void
}

declare i32 @libxsmm_meltw_getenum_precision(ptr noundef, i32 noundef) #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 = { "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 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 496}
!10 = !{!"libxsmm_mateltwise_kernel_config_struct", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12, !11, i64 16, !11, i64 20, !11, i64 24, !11, i64 28, !11, i64 32, !11, i64 36, !11, i64 40, !11, i64 44, !11, i64 48, !11, i64 52, !11, i64 56, !11, i64 60, !11, i64 64, !11, i64 68, !11, i64 72, !11, i64 76, !11, i64 80, !11, i64 84, !11, i64 88, !11, i64 92, !11, i64 96, !11, i64 100, !11, i64 104, !11, i64 108, !11, i64 112, !11, i64 116, !11, i64 120, !11, i64 124, !11, i64 128, !11, i64 132, !11, i64 136, !11, i64 140, !11, i64 144, !11, i64 148, !11, i64 152, !11, i64 156, !11, i64 160, !11, i64 164, !11, i64 168, !11, i64 172, !11, i64 176, !11, i64 180, !11, i64 184, !11, i64 188, !11, i64 192, !11, i64 196, !11, i64 200, !11, i64 204, !11, i64 208, !11, i64 212, !11, i64 216, !11, i64 220, !11, i64 224, !11, i64 228, !11, i64 232, !11, i64 236, !11, i64 240, !11, i64 244, !11, i64 248, !11, i64 252, !11, i64 256, !11, i64 260, !11, i64 264, !11, i64 268, !11, i64 272, !11, i64 276, !11, i64 280, !11, i64 284, !11, i64 288, !11, i64 292, !11, i64 296, !11, i64 300, !11, i64 304, !11, i64 308, !11, i64 312, !11, i64 316, !11, i64 320, !11, i64 324, !11, i64 328, !11, i64 332, !11, i64 336, !11, i64 340, !11, i64 344, !11, i64 348, !11, i64 352, !11, i64 356, !11, i64 360, !11, i64 364, !11, i64 368, !11, i64 372, !11, i64 376, !11, i64 380, !11, i64 384, !11, i64 388, !11, i64 392, !11, i64 396, !11, i64 400, !11, i64 404, !11, i64 408, !11, i64 412, !11, i64 416, !11, i64 420, !11, i64 424, !11, i64 428, !11, i64 432, !11, i64 436, !11, i64 440, !11, i64 444, !11, i64 448, !11, i64 452, !11, i64 456, !11, i64 460, !11, i64 464, !11, i64 468, !11, i64 472, !11, i64 476, !11, i64 480, !11, i64 484, !11, i64 488, !11, i64 492, !11, i64 496, !11, i64 500, !11, i64 504, !11, i64 508, !7, i64 512}
!11 = !{!"int", !7, i64 0}
!12 = !{!10, !11, i64 480}
!13 = !{!10, !11, i64 492}


; 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"

; Function Attrs: nounwind uwtable
define dso_local void @libxsmm_generator_configure_avx512_vlens(ptr noundef %0, ptr nocapture noundef %1) local_unnamed_addr #0 {
  %3 = tail call i32 @libxsmm_meltw_getenum_precision(ptr noundef %0, i32 noundef 4) #2
  %4 = icmp eq i32 %3, 12
  br i1 %4, label %11, label %5

5:                                                ; preds = %2
  %6 = tail call i32 @libxsmm_meltw_getenum_precision(ptr noundef %0, i32 noundef 4) #2
  %7 = icmp eq i32 %6, 4
  br i1 %7, label %11, label %8

8:                                                ; preds = %5
  %9 = tail call i32 @libxsmm_meltw_getenum_precision(ptr noundef %0, i32 noundef 4) #2
  %10 = icmp eq i32 %9, 5
  br i1 %10, label %11, label %13

11:                                               ; preds = %8, %5, %2
  %12 = getelementptr inbounds i8, ptr %1, i64 496
  store i32 64, ptr %12, align 4, !tbaa !5
  br label %40

13:                                               ; preds = %8
  %14 = tail call i32 @libxsmm_meltw_getenum_precision(ptr noundef %0, i32 noundef 4) #2
  %15 = icmp eq i32 %14, 2
  br i1 %15, label %22, label %16

16:                                               ; preds = %13
  %17 = tail call i32 @libxsmm_meltw_getenum_precision(ptr noundef %0, i32 noundef 4) #2
  %18 = icmp eq i32 %17, 10
  br i1 %18, label %22, label %19

19:                                               ; preds = %16
  %20 = tail call i32 @libxsmm_meltw_getenum_precision(ptr noundef %0, i32 noundef 4) #2
  %21 = icmp eq i32 %20, 3
  br i1 %21, label %22, label %24

22:                                               ; preds = %19, %16, %13
  %23 = getelementptr inbounds i8, ptr %1, i64 496
  store i32 32, ptr %23, align 4, !tbaa !5
  br label %40

24:                                               ; preds = %19
  %25 = tail call i32 @libxsmm_meltw_getenum_precision(ptr noundef %0, i32 noundef 4) #2
  %26 = icmp eq i32 %25, 1
  br i1 %26, label %30, label %27

27:                                               ; preds = %24
  %28 = tail call i32 @libxsmm_meltw_getenum_precision(ptr noundef %0, i32 noundef 4) #2
  %29 = icmp eq i32 %28, 8
  br i1 %29, label %30, label %32

30:                                               ; preds = %27, %24
  %31 = getelementptr inbounds i8, ptr %1, i64 496
  store i32 16, ptr %31, align 4, !tbaa !5
  br label %40

32:                                               ; preds = %27
  %33 = tail call i32 @libxsmm_meltw_getenum_precision(ptr noundef %0, i32 noundef 4) #2
  %34 = icmp eq i32 %33, 0
  br i1 %34, label %38, label %35

35:                                               ; preds = %32
  %36 = tail call i32 @libxsmm_meltw_getenum_precision(ptr noundef %0, i32 noundef 4) #2
  %37 = icmp eq i32 %36, 6
  br i1 %37, label %38, label %._crit_edge

._crit_edge:                                      ; preds = %35
  %.phi.trans.insert = getelementptr inbounds i8, ptr %1, i64 496
  %.pre = load i32, ptr %.phi.trans.insert, align 4, !tbaa !5
  br label %40

38:                                               ; preds = %35, %32
  %39 = getelementptr inbounds i8, ptr %1, i64 496
  store i32 8, ptr %39, align 4, !tbaa !5
  br label %40

40:                                               ; preds = %._crit_edge, %22, %38, %30, %11
  %41 = phi i32 [ %.pre, %._crit_edge ], [ 32, %22 ], [ 8, %38 ], [ 16, %30 ], [ 64, %11 ]
  %42 = getelementptr inbounds i8, ptr %1, i64 480
  store i32 %41, ptr %42, align 4, !tbaa !10
  %43 = tail call i32 @libxsmm_meltw_getenum_precision(ptr noundef %0, i32 noundef 3) #2
  %44 = icmp eq i32 %43, 14
  br i1 %44, label %45, label %47

45:                                               ; preds = %40
  %46 = load i32, ptr %42, align 4, !tbaa !10
  br label %.sink.split

47:                                               ; preds = %40
  %48 = tail call i32 @libxsmm_meltw_getenum_precision(ptr noundef %0, i32 noundef 3) #2
  %49 = icmp eq i32 %48, 12
  br i1 %49, label %50, label %56

50:                                               ; preds = %47
  %51 = tail call i32 @libxsmm_meltw_getenum_precision(ptr noundef %0, i32 noundef 4) #2
  %52 = icmp eq i32 %51, 1
  br i1 %52, label %.sink.split, label %53

53:                                               ; preds = %50
  %54 = tail call i32 @libxsmm_meltw_getenum_precision(ptr noundef %0, i32 noundef 0) #2
  %55 = icmp eq i32 %54, 1
  %spec.select = select i1 %55, i32 16, i32 64
  br label %.sink.split

56:                                               ; preds = %47
  %57 = tail call i32 @libxsmm_meltw_getenum_precision(ptr noundef %0, i32 noundef 3) #2
  %58 = icmp eq i32 %57, 2
  br i1 %58, label %65, label %59

59:                                               ; preds = %56
  %60 = tail call i32 @libxsmm_meltw_getenum_precision(ptr noundef %0, i32 noundef 3) #2
  %61 = icmp eq i32 %60, 10
  br i1 %61, label %65, label %62

62:                                               ; preds = %59
  %63 = tail call i32 @libxsmm_meltw_getenum_precision(ptr noundef %0, i32 noundef 3) #2
  %64 = icmp eq i32 %63, 3
  br i1 %64, label %65, label %71

65:                                               ; preds = %62, %59, %56
  %66 = tail call i32 @libxsmm_meltw_getenum_precision(ptr noundef %0, i32 noundef 4) #2
  %67 = icmp eq i32 %66, 1
  br i1 %67, label %.sink.split, label %68

68:                                               ; preds = %65
  %69 = tail call i32 @libxsmm_meltw_getenum_precision(ptr noundef %0, i32 noundef 0) #2
  %70 = icmp eq i32 %69, 1
  %spec.select44 = select i1 %70, i32 16, i32 32
  br label %.sink.split

71:                                               ; preds = %62
  %72 = tail call i32 @libxsmm_meltw_getenum_precision(ptr noundef %0, i32 noundef 3) #2
  %73 = icmp eq i32 %72, 4
  br i1 %73, label %77, label %74

74:                                               ; preds = %71
  %75 = tail call i32 @libxsmm_meltw_getenum_precision(ptr noundef %0, i32 noundef 3) #2
  %76 = icmp eq i32 %75, 5
  br i1 %76, label %77, label %83

77:                                               ; preds = %74, %71
  %78 = tail call i32 @libxsmm_meltw_getenum_precision(ptr noundef %0, i32 noundef 4) #2
  %79 = icmp eq i32 %78, 1
  br i1 %79, label %.sink.split, label %80

80:                                               ; preds = %77
  %81 = tail call i32 @libxsmm_meltw_getenum_precision(ptr noundef %0, i32 noundef 0) #2
  %82 = icmp eq i32 %81, 1
  %spec.select45 = select i1 %82, i32 16, i32 64
  br label %.sink.split

83:                                               ; preds = %74
  %84 = tail call i32 @libxsmm_meltw_getenum_precision(ptr noundef %0, i32 noundef 3) #2
  %85 = icmp eq i32 %84, 1
  br i1 %85, label %.sink.split, label %86

86:                                               ; preds = %83
  %87 = tail call i32 @libxsmm_meltw_getenum_precision(ptr noundef %0, i32 noundef 3) #2
  %88 = icmp eq i32 %87, 8
  br i1 %88, label %.sink.split, label %89

89:                                               ; preds = %86
  %90 = tail call i32 @libxsmm_meltw_getenum_precision(ptr noundef %0, i32 noundef 3) #2
  %91 = icmp eq i32 %90, 0
  br i1 %91, label %.sink.split, label %92

92:                                               ; preds = %89
  %93 = tail call i32 @libxsmm_meltw_getenum_precision(ptr noundef %0, i32 noundef 3) #2
  %94 = icmp eq i32 %93, 6
  br i1 %94, label %.sink.split, label %96

.sink.split:                                      ; preds = %80, %68, %53, %89, %92, %83, %86, %77, %65, %50, %45
  %.sink = phi i32 [ %46, %45 ], [ 16, %50 ], [ 16, %65 ], [ 16, %77 ], [ 16, %86 ], [ 16, %83 ], [ 8, %92 ], [ 8, %89 ], [ %spec.select, %53 ], [ %spec.select44, %68 ], [ %spec.select45, %80 ]
  %95 = getelementptr inbounds i8, ptr %1, i64 492
  store i32 %.sink, ptr %95, align 4, !tbaa !11
  br label %96

96:                                               ; preds = %.sink.split, %92
  ret void
}

declare i32 @libxsmm_meltw_getenum_precision(ptr noundef, i32 noundef) local_unnamed_addr #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 = { "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 #2 = { 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, !7, i64 496}
!6 = !{!"libxsmm_mateltwise_kernel_config_struct", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !7, i64 24, !7, i64 28, !7, i64 32, !7, i64 36, !7, i64 40, !7, i64 44, !7, i64 48, !7, i64 52, !7, i64 56, !7, i64 60, !7, i64 64, !7, i64 68, !7, i64 72, !7, i64 76, !7, i64 80, !7, i64 84, !7, i64 88, !7, i64 92, !7, i64 96, !7, i64 100, !7, i64 104, !7, i64 108, !7, i64 112, !7, i64 116, !7, i64 120, !7, i64 124, !7, i64 128, !7, i64 132, !7, i64 136, !7, i64 140, !7, i64 144, !7, i64 148, !7, i64 152, !7, i64 156, !7, i64 160, !7, i64 164, !7, i64 168, !7, i64 172, !7, i64 176, !7, i64 180, !7, i64 184, !7, i64 188, !7, i64 192, !7, i64 196, !7, i64 200, !7, i64 204, !7, i64 208, !7, i64 212, !7, i64 216, !7, i64 220, !7, i64 224, !7, i64 228, !7, i64 232, !7, i64 236, !7, i64 240, !7, i64 244, !7, i64 248, !7, i64 252, !7, i64 256, !7, i64 260, !7, i64 264, !7, i64 268, !7, i64 272, !7, i64 276, !7, i64 280, !7, i64 284, !7, i64 288, !7, i64 292, !7, i64 296, !7, i64 300, !7, i64 304, !7, i64 308, !7, i64 312, !7, i64 316, !7, i64 320, !7, i64 324, !7, i64 328, !7, i64 332, !7, i64 336, !7, i64 340, !7, i64 344, !7, i64 348, !7, i64 352, !7, i64 356, !7, i64 360, !7, i64 364, !7, i64 368, !7, i64 372, !7, i64 376, !7, i64 380, !7, i64 384, !7, i64 388, !7, i64 392, !7, i64 396, !7, i64 400, !7, i64 404, !7, i64 408, !7, i64 412, !7, i64 416, !7, i64 420, !7, i64 424, !7, i64 428, !7, i64 432, !7, i64 436, !7, i64 440, !7, i64 444, !7, i64 448, !7, i64 452, !7, i64 456, !7, i64 460, !7, i64 464, !7, i64 468, !7, i64 472, !7, i64 476, !7, i64 480, !7, i64 484, !7, i64 488, !7, i64 492, !7, i64 496, !7, i64 500, !7, i64 504, !7, i64 508, !8, i64 512}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!6, !7, i64 480}
!11 = !{!6, !7, i64 492}


; Effective O3 passes: BDCEPass,EarlyCSEPass,GVNPass,GlobalOptPass,InstCombinePass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass