@@ -2219,8 +2219,8 @@ TextToLower.exit: ; preds = %.preheader.i, %28,
22192219
22202220.preheader124.lr.ph.i: ; preds = %.loopexit125.i
22212221 %.not109.i = icmp eq ptr %56, null
2222- %smax148 .i = call i32 @llvm.smax .i32(i32 %34, i32 1)
2223- %wide.trip.count149.i = zext nneg i32 %smax148 .i to i64
2222+ %umax148 .i = call i32 @llvm.umax .i32(i32 %34, i32 1)
2223+ %wide.trip.count149.i = zext nneg i32 %umax148 .i to i64
22242224 br label %.preheader124.i
22252225
22262226.preheader124.i: ; preds = %.backedge.i, %.preheader124.lr.ph.i
@@ -7692,7 +7692,7 @@ define void @GenImageFontAtlas(ptr dead_on_unwind noalias nocapture writable wri
76927692.preheader: ; preds = %53
76937693 %56 = trunc nuw nsw i64 %indvars.iv278 to i32
76947694 %.0198235 = add nuw nsw i32 %56, 1
7695- %57 = icmp slt i32 %.0198235, %12
7695+ %57 = icmp ult i32 %.0198235, %12
76967696 br i1 %57, label %.lr.ph, label %.loopexit
76977697
76987698.lr.ph: ; preds = %.preheader, %.lr.ph
@@ -7768,7 +7768,7 @@ define void @GenImageFontAtlas(ptr dead_on_unwind noalias nocapture writable wri
77687768 %88 = tail call noalias dereferenceable_or_null(72) ptr @malloc(i64 noundef 72) #45
77697769 %89 = tail call noalias ptr @malloc(i64 noundef %14) #45
77707770 %90 = add nsw i32 %12, -1
7771- %91 = icmp sgt i32 %12, 1
7771+ %91 = icmp ugt i32 %12, 1
77727772 br i1 %91, label %.lr.ph.preheader.i, label %stbrp_init_target.exit
77737773
77747774.lr.ph.preheader.i: ; preds = %87
@@ -15169,6 +15169,9 @@ declare i64 @llvm.smax.i64(i64, i64) #39
1516915169; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
1517015170declare float @llvm.copysign.f32(float, float) #39
1517115171
15172+ ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
15173+ declare i32 @llvm.umax.i32(i32, i32) #39
15174+
1517215175; Function Attrs: nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: readwrite)
1517315176declare void @llvm.experimental.noalias.scope.decl(metadata) #41
1517415177
0 commit comments