; LLVM IR from jgaeddert/liquid-dsp :: src/utility/tests (bshift_array_autotest)

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

@.str = external hidden unnamed_addr constant [96 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [40 x i8], align 1
@liquid_autotest_verbose = external global i32, align 4
@.str.2 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [40 x i8], align 1
@__const.autotest_lbcircshift.input = external hidden unnamed_addr constant [4 x i8], align 1
@__const.autotest_lbcircshift.output_test_0 = external hidden unnamed_addr constant [4 x i8], align 1
@__const.autotest_lbcircshift.output_test_1 = external hidden unnamed_addr constant [4 x i8], align 1
@__const.autotest_lbcircshift.output_test_2 = external hidden unnamed_addr constant [4 x i8], align 1
@__const.autotest_lbcircshift.output_test_3 = external hidden unnamed_addr constant [4 x i8], align 1
@__const.autotest_lbcircshift.output_test_4 = external hidden unnamed_addr constant [4 x i8], align 1
@__const.autotest_lbcircshift.output_test_5 = external hidden unnamed_addr constant [4 x i8], align 1
@__const.autotest_lbcircshift.output_test_6 = external hidden unnamed_addr constant [4 x i8], align 1
@__const.autotest_lbcircshift.output_test_7 = external hidden unnamed_addr constant [4 x i8], align 1

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memmove.p0.p0.i64(ptr nocapture writeonly, ptr nocapture readonly, i64, i1 immarg) #1

declare i32 @liquid_autotest_same_data(ptr noundef, ptr noundef, i32 noundef) #2

declare void @liquid_autotest_failed_msg(ptr noundef, i32 noundef, ptr noundef) #2

declare void @liquid_autotest_print_array(ptr noundef, i32 noundef) #2

declare void @liquid_autotest_passed(...) #2

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

; Function Attrs: nounwind uwtable
define dso_local void @autotest_lbcircshift() #3 {
  %1 = alloca [4 x i8], align 1
  %2 = alloca [4 x i8], align 1
  %3 = alloca [4 x i8], align 1
  %4 = alloca [4 x i8], align 1
  %5 = alloca [4 x i8], align 1
  %6 = alloca [4 x i8], align 1
  %7 = alloca [4 x i8], align 1
  %8 = alloca [4 x i8], align 1
  %9 = alloca [4 x i8], align 1
  %10 = alloca [4 x i8], align 1
  %11 = alloca i32, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %1) #4
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %1, ptr align 1 @__const.autotest_lbcircshift.input, i64 4, i1 false)
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #4
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %2, ptr align 1 @__const.autotest_lbcircshift.output_test_0, i64 4, i1 false)
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #4
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %3, ptr align 1 @__const.autotest_lbcircshift.output_test_1, i64 4, i1 false)
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #4
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %4, ptr align 1 @__const.autotest_lbcircshift.output_test_2, i64 4, i1 false)
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #4
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %5, ptr align 1 @__const.autotest_lbcircshift.output_test_3, i64 4, i1 false)
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #4
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %6, ptr align 1 @__const.autotest_lbcircshift.output_test_4, i64 4, i1 false)
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #4
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %7, ptr align 1 @__const.autotest_lbcircshift.output_test_5, i64 4, i1 false)
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #4
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %8, ptr align 1 @__const.autotest_lbcircshift.output_test_6, i64 4, i1 false)
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #4
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %9, ptr align 1 @__const.autotest_lbcircshift.output_test_7, i64 4, i1 false)
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #4
  store i32 0, ptr %11, align 4, !tbaa !5
  br label %12

12:                                               ; preds = %136, %0
  %13 = load i32, ptr %11, align 4, !tbaa !5
  %14 = icmp ult i32 %13, 8
  br i1 %14, label %15, label %139

15:                                               ; preds = %12
  %16 = getelementptr inbounds [4 x i8], ptr %10, i64 0, i64 0
  %17 = getelementptr inbounds [4 x i8], ptr %1, i64 0, i64 0
  call void @llvm.memmove.p0.p0.i64(ptr align 1 %16, ptr align 1 %17, i64 4, i1 false)
  %18 = getelementptr inbounds [4 x i8], ptr %10, i64 0, i64 0
  %19 = load i32, ptr %11, align 4, !tbaa !5
  %20 = call i32 @liquid_lbcircshift(ptr noundef %18, i32 noundef 4, i32 noundef %19)
  %21 = load i32, ptr %11, align 4, !tbaa !5
  switch i32 %21, label %134 [
    i32 0, label %22
    i32 1, label %36
    i32 2, label %50
    i32 3, label %64
    i32 4, label %78
    i32 5, label %92
    i32 6, label %106
    i32 7, label %120
  ]

22:                                               ; preds = %15
  %23 = getelementptr inbounds [4 x i8], ptr %10, i64 0, i64 0
  %24 = getelementptr inbounds [4 x i8], ptr %2, i64 0, i64 0
  %25 = call i32 @liquid_autotest_same_data(ptr noundef %23, ptr noundef %24, i32 noundef 4)
  %26 = icmp ne i32 %25, 0
  br i1 %26, label %34, label %27

27:                                               ; preds = %22
  call void @liquid_autotest_failed_msg(ptr noundef @.str, i32 noundef 158, ptr noundef @.str.1)
  %28 = load i32, ptr @liquid_autotest_verbose, align 4, !tbaa !5
  %29 = icmp ne i32 %28, 0
  br i1 %29, label %30, label %33

30:                                               ; preds = %27
  %31 = getelementptr inbounds [4 x i8], ptr %10, i64 0, i64 0
  call void @liquid_autotest_print_array(ptr noundef %31, i32 noundef 4)
  %32 = getelementptr inbounds [4 x i8], ptr %2, i64 0, i64 0
  call void @liquid_autotest_print_array(ptr noundef %32, i32 noundef 4)
  br label %33

33:                                               ; preds = %30, %27
  br label %35

34:                                               ; preds = %22
  call void (...) @liquid_autotest_passed()
  br label %35

35:                                               ; preds = %34, %33
  br label %135

36:                                               ; preds = %15
  %37 = getelementptr inbounds [4 x i8], ptr %10, i64 0, i64 0
  %38 = getelementptr inbounds [4 x i8], ptr %3, i64 0, i64 0
  %39 = call i32 @liquid_autotest_same_data(ptr noundef %37, ptr noundef %38, i32 noundef 4)
  %40 = icmp ne i32 %39, 0
  br i1 %40, label %48, label %41

41:                                               ; preds = %36
  call void @liquid_autotest_failed_msg(ptr noundef @.str, i32 noundef 159, ptr noundef @.str.2)
  %42 = load i32, ptr @liquid_autotest_verbose, align 4, !tbaa !5
  %43 = icmp ne i32 %42, 0
  br i1 %43, label %44, label %47

44:                                               ; preds = %41
  %45 = getelementptr inbounds [4 x i8], ptr %10, i64 0, i64 0
  call void @liquid_autotest_print_array(ptr noundef %45, i32 noundef 4)
  %46 = getelementptr inbounds [4 x i8], ptr %3, i64 0, i64 0
  call void @liquid_autotest_print_array(ptr noundef %46, i32 noundef 4)
  br label %47

47:                                               ; preds = %44, %41
  br label %49

48:                                               ; preds = %36
  call void (...) @liquid_autotest_passed()
  br label %49

49:                                               ; preds = %48, %47
  br label %135

50:                                               ; preds = %15
  %51 = getelementptr inbounds [4 x i8], ptr %10, i64 0, i64 0
  %52 = getelementptr inbounds [4 x i8], ptr %4, i64 0, i64 0
  %53 = call i32 @liquid_autotest_same_data(ptr noundef %51, ptr noundef %52, i32 noundef 4)
  %54 = icmp ne i32 %53, 0
  br i1 %54, label %62, label %55

55:                                               ; preds = %50
  call void @liquid_autotest_failed_msg(ptr noundef @.str, i32 noundef 160, ptr noundef @.str.3)
  %56 = load i32, ptr @liquid_autotest_verbose, align 4, !tbaa !5
  %57 = icmp ne i32 %56, 0
  br i1 %57, label %58, label %61

58:                                               ; preds = %55
  %59 = getelementptr inbounds [4 x i8], ptr %10, i64 0, i64 0
  call void @liquid_autotest_print_array(ptr noundef %59, i32 noundef 4)
  %60 = getelementptr inbounds [4 x i8], ptr %4, i64 0, i64 0
  call void @liquid_autotest_print_array(ptr noundef %60, i32 noundef 4)
  br label %61

61:                                               ; preds = %58, %55
  br label %63

62:                                               ; preds = %50
  call void (...) @liquid_autotest_passed()
  br label %63

63:                                               ; preds = %62, %61
  br label %135

64:                                               ; preds = %15
  %65 = getelementptr inbounds [4 x i8], ptr %10, i64 0, i64 0
  %66 = getelementptr inbounds [4 x i8], ptr %5, i64 0, i64 0
  %67 = call i32 @liquid_autotest_same_data(ptr noundef %65, ptr noundef %66, i32 noundef 4)
  %68 = icmp ne i32 %67, 0
  br i1 %68, label %76, label %69

69:                                               ; preds = %64
  call void @liquid_autotest_failed_msg(ptr noundef @.str, i32 noundef 161, ptr noundef @.str.4)
  %70 = load i32, ptr @liquid_autotest_verbose, align 4, !tbaa !5
  %71 = icmp ne i32 %70, 0
  br i1 %71, label %72, label %75

72:                                               ; preds = %69
  %73 = getelementptr inbounds [4 x i8], ptr %10, i64 0, i64 0
  call void @liquid_autotest_print_array(ptr noundef %73, i32 noundef 4)
  %74 = getelementptr inbounds [4 x i8], ptr %5, i64 0, i64 0
  call void @liquid_autotest_print_array(ptr noundef %74, i32 noundef 4)
  br label %75

75:                                               ; preds = %72, %69
  br label %77

76:                                               ; preds = %64
  call void (...) @liquid_autotest_passed()
  br label %77

77:                                               ; preds = %76, %75
  br label %135

78:                                               ; preds = %15
  %79 = getelementptr inbounds [4 x i8], ptr %10, i64 0, i64 0
  %80 = getelementptr inbounds [4 x i8], ptr %6, i64 0, i64 0
  %81 = call i32 @liquid_autotest_same_data(ptr noundef %79, ptr noundef %80, i32 noundef 4)
  %82 = icmp ne i32 %81, 0
  br i1 %82, label %90, label %83

83:                                               ; preds = %78
  call void @liquid_autotest_failed_msg(ptr noundef @.str, i32 noundef 162, ptr noundef @.str.5)
  %84 = load i32, ptr @liquid_autotest_verbose, align 4, !tbaa !5
  %85 = icmp ne i32 %84, 0
  br i1 %85, label %86, label %89

86:                                               ; preds = %83
  %87 = getelementptr inbounds [4 x i8], ptr %10, i64 0, i64 0
  call void @liquid_autotest_print_array(ptr noundef %87, i32 noundef 4)
  %88 = getelementptr inbounds [4 x i8], ptr %6, i64 0, i64 0
  call void @liquid_autotest_print_array(ptr noundef %88, i32 noundef 4)
  br label %89

89:                                               ; preds = %86, %83
  br label %91

90:                                               ; preds = %78
  call void (...) @liquid_autotest_passed()
  br label %91

91:                                               ; preds = %90, %89
  br label %135

92:                                               ; preds = %15
  %93 = getelementptr inbounds [4 x i8], ptr %10, i64 0, i64 0
  %94 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 0
  %95 = call i32 @liquid_autotest_same_data(ptr noundef %93, ptr noundef %94, i32 noundef 4)
  %96 = icmp ne i32 %95, 0
  br i1 %96, label %104, label %97

97:                                               ; preds = %92
  call void @liquid_autotest_failed_msg(ptr noundef @.str, i32 noundef 163, ptr noundef @.str.6)
  %98 = load i32, ptr @liquid_autotest_verbose, align 4, !tbaa !5
  %99 = icmp ne i32 %98, 0
  br i1 %99, label %100, label %103

100:                                              ; preds = %97
  %101 = getelementptr inbounds [4 x i8], ptr %10, i64 0, i64 0
  call void @liquid_autotest_print_array(ptr noundef %101, i32 noundef 4)
  %102 = getelementptr inbounds [4 x i8], ptr %7, i64 0, i64 0
  call void @liquid_autotest_print_array(ptr noundef %102, i32 noundef 4)
  br label %103

103:                                              ; preds = %100, %97
  br label %105

104:                                              ; preds = %92
  call void (...) @liquid_autotest_passed()
  br label %105

105:                                              ; preds = %104, %103
  br label %135

106:                                              ; preds = %15
  %107 = getelementptr inbounds [4 x i8], ptr %10, i64 0, i64 0
  %108 = getelementptr inbounds [4 x i8], ptr %8, i64 0, i64 0
  %109 = call i32 @liquid_autotest_same_data(ptr noundef %107, ptr noundef %108, i32 noundef 4)
  %110 = icmp ne i32 %109, 0
  br i1 %110, label %118, label %111

111:                                              ; preds = %106
  call void @liquid_autotest_failed_msg(ptr noundef @.str, i32 noundef 164, ptr noundef @.str.7)
  %112 = load i32, ptr @liquid_autotest_verbose, align 4, !tbaa !5
  %113 = icmp ne i32 %112, 0
  br i1 %113, label %114, label %117

114:                                              ; preds = %111
  %115 = getelementptr inbounds [4 x i8], ptr %10, i64 0, i64 0
  call void @liquid_autotest_print_array(ptr noundef %115, i32 noundef 4)
  %116 = getelementptr inbounds [4 x i8], ptr %8, i64 0, i64 0
  call void @liquid_autotest_print_array(ptr noundef %116, i32 noundef 4)
  br label %117

117:                                              ; preds = %114, %111
  br label %119

118:                                              ; preds = %106
  call void (...) @liquid_autotest_passed()
  br label %119

119:                                              ; preds = %118, %117
  br label %135

120:                                              ; preds = %15
  %121 = getelementptr inbounds [4 x i8], ptr %10, i64 0, i64 0
  %122 = getelementptr inbounds [4 x i8], ptr %9, i64 0, i64 0
  %123 = call i32 @liquid_autotest_same_data(ptr noundef %121, ptr noundef %122, i32 noundef 4)
  %124 = icmp ne i32 %123, 0
  br i1 %124, label %132, label %125

125:                                              ; preds = %120
  call void @liquid_autotest_failed_msg(ptr noundef @.str, i32 noundef 165, ptr noundef @.str.8)
  %126 = load i32, ptr @liquid_autotest_verbose, align 4, !tbaa !5
  %127 = icmp ne i32 %126, 0
  br i1 %127, label %128, label %131

128:                                              ; preds = %125
  %129 = getelementptr inbounds [4 x i8], ptr %10, i64 0, i64 0
  call void @liquid_autotest_print_array(ptr noundef %129, i32 noundef 4)
  %130 = getelementptr inbounds [4 x i8], ptr %9, i64 0, i64 0
  call void @liquid_autotest_print_array(ptr noundef %130, i32 noundef 4)
  br label %131

131:                                              ; preds = %128, %125
  br label %133

132:                                              ; preds = %120
  call void (...) @liquid_autotest_passed()
  br label %133

133:                                              ; preds = %132, %131
  br label %135

134:                                              ; preds = %15
  br label %135

135:                                              ; preds = %134, %133, %119, %105, %91, %77, %63, %49, %35
  br label %136

136:                                              ; preds = %135
  %137 = load i32, ptr %11, align 4, !tbaa !5
  %138 = add i32 %137, 1
  store i32 %138, ptr %11, align 4, !tbaa !5
  br label %12, !llvm.loop !9

139:                                              ; preds = %12
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #4
  call void @llvm.lifetime.end.p0(i64 4, 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
  call void @llvm.lifetime.end.p0(i64 4, ptr %1) #4
  ret void
}

declare i32 @liquid_lbcircshift(ptr noundef, i32 noundef, i32 noundef) #2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "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 #3 = { 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 #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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}


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

@.str = external hidden unnamed_addr constant [96 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [40 x i8], align 1
@liquid_autotest_verbose = external local_unnamed_addr global i32, align 4
@.str.2 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [40 x i8], align 1
@__const.autotest_lbcircshift.input = external hidden unnamed_addr constant [4 x i8], align 1
@__const.autotest_lbcircshift.output_test_0 = external hidden unnamed_addr constant [4 x i8], align 1
@__const.autotest_lbcircshift.output_test_1 = external hidden unnamed_addr constant [4 x i8], align 1
@__const.autotest_lbcircshift.output_test_2 = external hidden unnamed_addr constant [4 x i8], align 1
@__const.autotest_lbcircshift.output_test_3 = external hidden unnamed_addr constant [4 x i8], align 1
@__const.autotest_lbcircshift.output_test_4 = external hidden unnamed_addr constant [4 x i8], align 1
@__const.autotest_lbcircshift.output_test_5 = external hidden unnamed_addr constant [4 x i8], align 1
@__const.autotest_lbcircshift.output_test_6 = external hidden unnamed_addr constant [4 x i8], align 1
@__const.autotest_lbcircshift.output_test_7 = external hidden unnamed_addr constant [4 x i8], align 1

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

declare i32 @liquid_autotest_same_data(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1

declare void @liquid_autotest_failed_msg(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1

declare void @liquid_autotest_print_array(ptr noundef, i32 noundef) local_unnamed_addr #1

declare void @liquid_autotest_passed(...) local_unnamed_addr #1

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

; Function Attrs: nounwind uwtable
define dso_local void @autotest_lbcircshift() local_unnamed_addr #2 {
  %1 = alloca [4 x i8], align 4
  %2 = alloca [4 x i8], align 4
  %3 = alloca [4 x i8], align 4
  %4 = alloca [4 x i8], align 4
  %5 = alloca [4 x i8], align 4
  %6 = alloca [4 x i8], align 4
  %7 = alloca [4 x i8], align 4
  %8 = alloca [4 x i8], align 4
  %9 = alloca [4 x i8], align 4
  %.sroa.0.0.copyload = load i32, ptr @__const.autotest_lbcircshift.input, align 1
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #3
  %10 = load i32, ptr @__const.autotest_lbcircshift.output_test_0, align 1
  store i32 %10, ptr %1, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3
  %11 = load i32, ptr @__const.autotest_lbcircshift.output_test_1, align 1
  store i32 %11, ptr %2, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
  %12 = load i32, ptr @__const.autotest_lbcircshift.output_test_2, align 1
  store i32 %12, ptr %3, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
  %13 = load i32, ptr @__const.autotest_lbcircshift.output_test_3, align 1
  store i32 %13, ptr %4, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3
  %14 = load i32, ptr @__const.autotest_lbcircshift.output_test_4, align 1
  store i32 %14, ptr %5, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3
  %15 = load i32, ptr @__const.autotest_lbcircshift.output_test_5, align 1
  store i32 %15, ptr %6, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #3
  %16 = load i32, ptr @__const.autotest_lbcircshift.output_test_6, align 1
  store i32 %16, ptr %7, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #3
  %17 = load i32, ptr @__const.autotest_lbcircshift.output_test_7, align 1
  store i32 %17, ptr %8, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %9) #3
  br label %18

18:                                               ; preds = %68, %0
  %.020 = phi i32 [ 0, %0 ], [ %69, %68 ]
  store i32 %.sroa.0.0.copyload, ptr %9, align 4
  %19 = call i32 @liquid_lbcircshift(ptr noundef nonnull %9, i32 noundef 4, i32 noundef %.020) #3
  switch i32 %.020, label %default.unreachable [
    i32 0, label %20
    i32 1, label %26
    i32 2, label %32
    i32 3, label %38
    i32 4, label %44
    i32 5, label %50
    i32 6, label %56
    i32 7, label %62
  ]

20:                                               ; preds = %18
  %21 = call i32 @liquid_autotest_same_data(ptr noundef nonnull %9, ptr noundef nonnull %1, i32 noundef 4) #3
  %.not18 = icmp eq i32 %21, 0
  br i1 %.not18, label %22, label %25

22:                                               ; preds = %20
  call void @liquid_autotest_failed_msg(ptr noundef nonnull @.str, i32 noundef 158, ptr noundef nonnull @.str.1) #3
  %23 = load i32, ptr @liquid_autotest_verbose, align 4, !tbaa !5
  %.not19 = icmp eq i32 %23, 0
  br i1 %.not19, label %68, label %24

24:                                               ; preds = %22
  call void @liquid_autotest_print_array(ptr noundef nonnull %9, i32 noundef 4) #3
  call void @liquid_autotest_print_array(ptr noundef nonnull %1, i32 noundef 4) #3
  br label %68

25:                                               ; preds = %20
  call void (...) @liquid_autotest_passed() #3
  br label %68

26:                                               ; preds = %18
  %27 = call i32 @liquid_autotest_same_data(ptr noundef nonnull %9, ptr noundef nonnull %2, i32 noundef 4) #3
  %.not16 = icmp eq i32 %27, 0
  br i1 %.not16, label %28, label %31

28:                                               ; preds = %26
  call void @liquid_autotest_failed_msg(ptr noundef nonnull @.str, i32 noundef 159, ptr noundef nonnull @.str.2) #3
  %29 = load i32, ptr @liquid_autotest_verbose, align 4, !tbaa !5
  %.not17 = icmp eq i32 %29, 0
  br i1 %.not17, label %68, label %30

30:                                               ; preds = %28
  call void @liquid_autotest_print_array(ptr noundef nonnull %9, i32 noundef 4) #3
  call void @liquid_autotest_print_array(ptr noundef nonnull %2, i32 noundef 4) #3
  br label %68

31:                                               ; preds = %26
  call void (...) @liquid_autotest_passed() #3
  br label %68

32:                                               ; preds = %18
  %33 = call i32 @liquid_autotest_same_data(ptr noundef nonnull %9, ptr noundef nonnull %3, i32 noundef 4) #3
  %.not14 = icmp eq i32 %33, 0
  br i1 %.not14, label %34, label %37

34:                                               ; preds = %32
  call void @liquid_autotest_failed_msg(ptr noundef nonnull @.str, i32 noundef 160, ptr noundef nonnull @.str.3) #3
  %35 = load i32, ptr @liquid_autotest_verbose, align 4, !tbaa !5
  %.not15 = icmp eq i32 %35, 0
  br i1 %.not15, label %68, label %36

36:                                               ; preds = %34
  call void @liquid_autotest_print_array(ptr noundef nonnull %9, i32 noundef 4) #3
  call void @liquid_autotest_print_array(ptr noundef nonnull %3, i32 noundef 4) #3
  br label %68

37:                                               ; preds = %32
  call void (...) @liquid_autotest_passed() #3
  br label %68

38:                                               ; preds = %18
  %39 = call i32 @liquid_autotest_same_data(ptr noundef nonnull %9, ptr noundef nonnull %4, i32 noundef 4) #3
  %.not12 = icmp eq i32 %39, 0
  br i1 %.not12, label %40, label %43

40:                                               ; preds = %38
  call void @liquid_autotest_failed_msg(ptr noundef nonnull @.str, i32 noundef 161, ptr noundef nonnull @.str.4) #3
  %41 = load i32, ptr @liquid_autotest_verbose, align 4, !tbaa !5
  %.not13 = icmp eq i32 %41, 0
  br i1 %.not13, label %68, label %42

42:                                               ; preds = %40
  call void @liquid_autotest_print_array(ptr noundef nonnull %9, i32 noundef 4) #3
  call void @liquid_autotest_print_array(ptr noundef nonnull %4, i32 noundef 4) #3
  br label %68

43:                                               ; preds = %38
  call void (...) @liquid_autotest_passed() #3
  br label %68

44:                                               ; preds = %18
  %45 = call i32 @liquid_autotest_same_data(ptr noundef nonnull %9, ptr noundef nonnull %5, i32 noundef 4) #3
  %.not10 = icmp eq i32 %45, 0
  br i1 %.not10, label %46, label %49

46:                                               ; preds = %44
  call void @liquid_autotest_failed_msg(ptr noundef nonnull @.str, i32 noundef 162, ptr noundef nonnull @.str.5) #3
  %47 = load i32, ptr @liquid_autotest_verbose, align 4, !tbaa !5
  %.not11 = icmp eq i32 %47, 0
  br i1 %.not11, label %68, label %48

48:                                               ; preds = %46
  call void @liquid_autotest_print_array(ptr noundef nonnull %9, i32 noundef 4) #3
  call void @liquid_autotest_print_array(ptr noundef nonnull %5, i32 noundef 4) #3
  br label %68

49:                                               ; preds = %44
  call void (...) @liquid_autotest_passed() #3
  br label %68

50:                                               ; preds = %18
  %51 = call i32 @liquid_autotest_same_data(ptr noundef nonnull %9, ptr noundef nonnull %6, i32 noundef 4) #3
  %.not8 = icmp eq i32 %51, 0
  br i1 %.not8, label %52, label %55

52:                                               ; preds = %50
  call void @liquid_autotest_failed_msg(ptr noundef nonnull @.str, i32 noundef 163, ptr noundef nonnull @.str.6) #3
  %53 = load i32, ptr @liquid_autotest_verbose, align 4, !tbaa !5
  %.not9 = icmp eq i32 %53, 0
  br i1 %.not9, label %68, label %54

54:                                               ; preds = %52
  call void @liquid_autotest_print_array(ptr noundef nonnull %9, i32 noundef 4) #3
  call void @liquid_autotest_print_array(ptr noundef nonnull %6, i32 noundef 4) #3
  br label %68

55:                                               ; preds = %50
  call void (...) @liquid_autotest_passed() #3
  br label %68

56:                                               ; preds = %18
  %57 = call i32 @liquid_autotest_same_data(ptr noundef nonnull %9, ptr noundef nonnull %7, i32 noundef 4) #3
  %.not6 = icmp eq i32 %57, 0
  br i1 %.not6, label %58, label %61

58:                                               ; preds = %56
  call void @liquid_autotest_failed_msg(ptr noundef nonnull @.str, i32 noundef 164, ptr noundef nonnull @.str.7) #3
  %59 = load i32, ptr @liquid_autotest_verbose, align 4, !tbaa !5
  %.not7 = icmp eq i32 %59, 0
  br i1 %.not7, label %68, label %60

60:                                               ; preds = %58
  call void @liquid_autotest_print_array(ptr noundef nonnull %9, i32 noundef 4) #3
  call void @liquid_autotest_print_array(ptr noundef nonnull %7, i32 noundef 4) #3
  br label %68

61:                                               ; preds = %56
  call void (...) @liquid_autotest_passed() #3
  br label %68

62:                                               ; preds = %18
  %63 = call i32 @liquid_autotest_same_data(ptr noundef nonnull %9, ptr noundef nonnull %8, i32 noundef 4) #3
  %.not = icmp eq i32 %63, 0
  br i1 %.not, label %64, label %67

64:                                               ; preds = %62
  call void @liquid_autotest_failed_msg(ptr noundef nonnull @.str, i32 noundef 165, ptr noundef nonnull @.str.8) #3
  %65 = load i32, ptr @liquid_autotest_verbose, align 4, !tbaa !5
  %.not5 = icmp eq i32 %65, 0
  br i1 %.not5, label %70, label %66

66:                                               ; preds = %64
  call void @liquid_autotest_print_array(ptr noundef nonnull %9, i32 noundef 4) #3
  call void @liquid_autotest_print_array(ptr noundef nonnull %8, i32 noundef 4) #3
  br label %70

67:                                               ; preds = %62
  call void (...) @liquid_autotest_passed() #3
  br label %70

default.unreachable:                              ; preds = %18
  unreachable

68:                                               ; preds = %22, %24, %25, %28, %30, %31, %34, %36, %37, %40, %42, %43, %46, %48, %49, %52, %54, %55, %58, %60, %61
  %69 = add nuw nsw i32 %.020, 1
  br label %18

70:                                               ; preds = %64, %66, %67
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #3
  ret void
}

declare i32 @liquid_lbcircshift(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 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 #3 = { 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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopRotatePass,SROAPass,SimplifyCFGPass