Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 6 additions & 8 deletions bench/cpython/optimized/dtoa.ll
Original file line number Diff line number Diff line change
Expand Up @@ -4290,9 +4290,8 @@ if.end.i: ; preds = %if.end29.i.i, %if.t
store i32 0, ptr %sign.i.i, align 8
%x1.i = getelementptr inbounds i8, ptr %rv.1.i.i, i64 24
%and.i = and i32 %u.sroa.0.4.extract.trunc796, 1048575
%and3.i = and i32 %u.sroa.0.4.extract.trunc796, 2147483647
%shr.i = lshr i32 %and3.i, 20
%tobool.not.i445 = icmp ult i32 %and3.i, 1048576
%shr.i = lshr i32 %u.sroa.0.4.extract.trunc796, 20
%tobool.not.i445 = icmp ult i32 %u.sroa.0.4.extract.trunc796, 1048576
%or.i = or disjoint i32 %and.i, 1048576
%spec.select.i = select i1 %tobool.not.i445, i32 %and.i, i32 %or.i
%u.sroa.0.0.extract.trunc789 = trunc i64 %.pre-phi to i32
Expand Down Expand Up @@ -4535,8 +4534,8 @@ cond.end: ; preds = %cond.false, %cond.t
%cond = phi i32 [ %or38, %cond.true ], [ %shl41, %cond.false ]
%conv = uitofp i32 %cond to double
%27 = bitcast double %conv to i64
%28 = and i64 %27, -4294967296
%d2.sroa.0.4.insert.shift82 = add i64 %28, -139611588448485376
%28 = and i64 %27, 9223372032559808512
%d2.sroa.0.4.insert.shift82 = add nsw i64 %28, -139611588448485376
%d2.sroa.0.4.insert.mask83 = and i64 %27, 4294967295
%d2.sroa.0.4.insert.insert84 = or disjoint i64 %d2.sroa.0.4.insert.shift82, %d2.sroa.0.4.insert.mask83
%sub44 = add nsw i32 %add, -1
Expand Down Expand Up @@ -5308,9 +5307,8 @@ if.end439: ; preds = %if.then433, %if.end

land.lhs.true447: ; preds = %if.end439
%tobool450.not = icmp ne i32 %and.i, 0
%and453 = and i32 %u.sroa.0.4.extract.trunc796, 2145386496
%tobool454.not = icmp eq i32 %and453, 0
%or.cond355 = or i1 %tobool450.not, %tobool454.not
%tobool454.not = icmp ult i32 %u.sroa.0.4.extract.trunc796, 2097152
%or.cond355 = or i1 %tobool454.not, %tobool450.not
br i1 %or.cond355, label %if.end459, label %if.then455

if.then455: ; preds = %land.lhs.true447
Expand Down
299 changes: 148 additions & 151 deletions bench/fmt/optimized/format-impl-test.cc.ll

Large diffs are not rendered by default.

2,646 changes: 1,321 additions & 1,325 deletions bench/hermes/optimized/Interpreter.cpp.ll

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions bench/hermes/optimized/dtoa.c.ll
Original file line number Diff line number Diff line change
Expand Up @@ -3039,8 +3039,8 @@ cond.end: ; preds = %cond.false, %cond.t
%cond = phi i32 [ %or35, %cond.true ], [ %shl38, %cond.false ]
%conv = uitofp i32 %cond to double
%27 = bitcast double %conv to i64
%28 = and i64 %27, -4294967296
%d2.sroa.0.4.insert.shift79 = add i64 %28, -139611588448485376
%28 = and i64 %27, 9223372032559808512
%d2.sroa.0.4.insert.shift79 = add nsw i64 %28, -139611588448485376
%d2.sroa.0.4.insert.mask80 = and i64 %27, 4294967295
%d2.sroa.0.4.insert.insert81 = or disjoint i64 %d2.sroa.0.4.insert.shift79, %d2.sroa.0.4.insert.mask80
%sub41 = add nsw i32 %add, -1
Expand Down Expand Up @@ -6361,8 +6361,8 @@ cond.end: ; preds = %cond.false, %cond.t
%cond = phi i32 [ %or35, %cond.true ], [ %shl38, %cond.false ]
%conv = uitofp i32 %cond to double
%27 = bitcast double %conv to i64
%28 = and i64 %27, -4294967296
%d2.sroa.0.4.insert.shift76 = add i64 %28, -139611588448485376
%28 = and i64 %27, 9223372032559808512
%d2.sroa.0.4.insert.shift76 = add nsw i64 %28, -139611588448485376
%d2.sroa.0.4.insert.mask77 = and i64 %27, 4294967295
%d2.sroa.0.4.insert.insert78 = or disjoint i64 %d2.sroa.0.4.insert.shift76, %d2.sroa.0.4.insert.mask77
%sub41 = add nsw i32 %add, -1
Expand Down
12 changes: 6 additions & 6 deletions bench/icu/optimized/putil.ll
Original file line number Diff line number Diff line change
Expand Up @@ -722,7 +722,7 @@ define noundef signext i8 @uprv_isNaN_75(double noundef %number) local_unnamed_a
entry:
%0 = tail call double @llvm.fabs.f64(double %number)
%and = bitcast double %0 to i64
%cmp = icmp sgt i64 %and, 9218868437227405312
%cmp = icmp ugt i64 %and, 9218868437227405312
%conv = zext i1 %cmp to i8
ret i8 %conv
}
Expand Down Expand Up @@ -845,13 +845,13 @@ define noundef double @uprv_fmax_75(double noundef %x, double noundef %y) local_
entry:
%0 = tail call double @llvm.fabs.f64(double %x)
%and.i = bitcast double %0 to i64
%cmp.i = icmp slt i64 %and.i, 9218868437227405313
%cmp.i = icmp ult i64 %and.i, 9218868437227405313
br i1 %cmp.i, label %lor.lhs.false, label %return

lor.lhs.false: ; preds = %entry
%1 = tail call double @llvm.fabs.f64(double %y)
%and.i9 = bitcast double %1 to i64
%cmp.i10 = icmp slt i64 %and.i9, 9218868437227405313
%cmp.i10 = icmp ult i64 %and.i9, 9218868437227405313
br i1 %cmp.i10, label %if.end, label %return

if.end: ; preds = %lor.lhs.false
Expand All @@ -878,13 +878,13 @@ define noundef double @uprv_fmin_75(double noundef %x, double noundef %y) local_
entry:
%0 = tail call double @llvm.fabs.f64(double %x)
%and.i = bitcast double %0 to i64
%cmp.i = icmp slt i64 %and.i, 9218868437227405313
%cmp.i = icmp ult i64 %and.i, 9218868437227405313
br i1 %cmp.i, label %lor.lhs.false, label %return

lor.lhs.false: ; preds = %entry
%1 = tail call double @llvm.fabs.f64(double %y)
%and.i9 = bitcast double %1 to i64
%cmp.i10 = icmp slt i64 %and.i9, 9218868437227405313
%cmp.i10 = icmp ult i64 %and.i9, 9218868437227405313
br i1 %cmp.i10, label %if.end, label %return

if.end: ; preds = %lor.lhs.false
Expand Down Expand Up @@ -936,7 +936,7 @@ define noundef double @uprv_trunc_75(double noundef %d) local_unnamed_addr #8 {
entry:
%0 = tail call double @llvm.fabs.f64(double %d)
%and.i = bitcast double %0 to i64
%cmp.i = icmp slt i64 %and.i, 9218868437227405313
%cmp.i = icmp ult i64 %and.i, 9218868437227405313
br i1 %cmp.i, label %if.end, label %return

if.end: ; preds = %entry
Expand Down
4 changes: 2 additions & 2 deletions bench/jq/optimized/jv_dtoa.ll
Original file line number Diff line number Diff line change
Expand Up @@ -3726,8 +3726,8 @@ rv_alloc.exit.i608: ; preds = %57, %55
%95 = phi i32 [ %88, %82 ], [ %92, %89 ]
%96 = uitofp i32 %95 to double
%97 = bitcast double %96 to i64
%98 = and i64 %97, -4294967296
%.sroa.085.4.insert.shift100 = add i64 %98, -139611588448485376
%98 = and i64 %97, 9223372032559808512
%.sroa.085.4.insert.shift100 = add nsw i64 %98, -139611588448485376
%.sroa.085.4.insert.mask101 = and i64 %97, 4294967295
%.sroa.085.4.insert.insert102 = or disjoint i64 %.sroa.085.4.insert.shift100, %.sroa.085.4.insert.mask101
%99 = add nsw i32 %80, -1
Expand Down
4 changes: 2 additions & 2 deletions bench/libquic/optimized/dtoa.cc.ll
Original file line number Diff line number Diff line change
Expand Up @@ -3911,8 +3911,8 @@ cond.end: ; preds = %cond.false, %cond.t
%cond = phi i32 [ %or38, %cond.true ], [ %shl41, %cond.false ]
%conv = uitofp i32 %cond to double
%27 = bitcast double %conv to i64
%28 = and i64 %27, -4294967296
%d2.sroa.0.4.insert.shift74 = add i64 %28, -139611588448485376
%28 = and i64 %27, 9223372032559808512
%d2.sroa.0.4.insert.shift74 = add nsw i64 %28, -139611588448485376
%d2.sroa.0.4.insert.mask75 = and i64 %27, 4294967295
%d2.sroa.0.4.insert.insert76 = or disjoint i64 %d2.sroa.0.4.insert.shift74, %d2.sroa.0.4.insert.mask75
%sub44 = add nsw i32 %add, -1
Expand Down
6 changes: 3 additions & 3 deletions bench/meshlab/optimized/matching.cpp.ll
Original file line number Diff line number Diff line change
Expand Up @@ -6063,7 +6063,7 @@ define linkonce_odr void @_ZNK5Eigen11EigenSolverINS_6MatrixIdLi2ELi2ELi0ELi2ELi
%.sroa.0.8.vec.insert.i = insertelement <2 x double> %34, double 0.000000e+00, i64 1
%35 = bitcast <2 x double> %.sroa.0.8.vec.insert.i to <2 x i64>
%36 = load <4 x i32>, ptr %23, align 16
%37 = xor <2 x i64> %35, <i64 0, i64 -9223372036854775808>
%37 = or disjoint <2 x i64> %35, <i64 0, i64 -9223372036854775808>
%38 = bitcast <2 x i64> %37 to <2 x double>
%39 = bitcast <4 x i32> %36 to <2 x double>
%40 = shufflevector <2 x double> %39, <2 x double> poison, <2 x i32> zeroinitializer
Expand Down Expand Up @@ -6128,7 +6128,7 @@ define linkonce_odr void @_ZNK5Eigen11EigenSolverINS_6MatrixIdLi2ELi2ELi0ELi2ELi
%.sroa.0.8.vec.insert.i28 = insertelement <2 x double> %83, double 0.000000e+00, i64 1
%84 = bitcast <2 x double> %.sroa.0.8.vec.insert.i28 to <2 x i64>
%85 = load <4 x i32>, ptr %20, align 16
%86 = xor <2 x i64> %84, <i64 0, i64 -9223372036854775808>
%86 = or disjoint <2 x i64> %84, <i64 0, i64 -9223372036854775808>
%87 = bitcast <2 x i64> %86 to <2 x double>
%88 = bitcast <4 x i32> %85 to <2 x double>
%89 = shufflevector <2 x double> %88, <2 x double> poison, <2 x i32> zeroinitializer
Expand Down Expand Up @@ -6188,7 +6188,7 @@ _ZN5Eigen10MatrixBaseINS_5BlockINS_6MatrixISt7complexIdELi2ELi2ELi0ELi2ELi2EEELi
%.sroa.0.8.vec.insert.i31 = insertelement <2 x double> %134, double 0.000000e+00, i64 1
%135 = bitcast <2 x double> %.sroa.0.8.vec.insert.i31 to <2 x i64>
%136 = load <4 x i32>, ptr %21, align 16
%137 = xor <2 x i64> %135, <i64 0, i64 -9223372036854775808>
%137 = or disjoint <2 x i64> %135, <i64 0, i64 -9223372036854775808>
%138 = bitcast <2 x i64> %137 to <2 x double>
%139 = bitcast <4 x i32> %136 to <2 x double>
%140 = shufflevector <2 x double> %139, <2 x double> poison, <2 x i32> zeroinitializer
Expand Down
19 changes: 9 additions & 10 deletions bench/meshoptimizer/optimized/quantization.cpp.ll
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ source_filename = "bench/meshoptimizer/original/quantization.cpp.ll"
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: mustprogress nofree nosync nounwind willreturn memory(none) uwtable
; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define dso_local noundef zeroext i16 @_Z20meshopt_quantizeHalff(float noundef %v) local_unnamed_addr #0 {
entry:
%0 = bitcast float %v to i32
Expand All @@ -13,19 +13,19 @@ entry:
%and1 = bitcast float %1 to i32
%add = add nsw i32 %and1, -939520000
%shr2 = lshr i32 %add, 13
%cmp = icmp slt i32 %and1, 947912704
%cmp = icmp ult i32 %and1, 947912704
%cond = select i1 %cmp, i32 947912704, i32 %shr2
%cmp3 = icmp sgt i32 %and1, 1199570943
%cmp3 = icmp ugt i32 %and1, 1199570943
%cond7 = select i1 %cmp3, i32 31744, i32 %cond
%cmp8 = icmp sgt i32 %and1, 2139095040
%cmp8 = icmp ugt i32 %and1, 2139095040
%cond12 = select i1 %cmp8, i32 32256, i32 %cond7
%or = or i32 %cond12, %and
%conv = trunc i32 %or to i16
ret i16 %conv
}

; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define dso_local noundef float @_Z21meshopt_quantizeFloatfi(float noundef %v, i32 noundef %N) local_unnamed_addr #1 {
define dso_local noundef float @_Z21meshopt_quantizeFloatfi(float noundef %v, i32 noundef %N) local_unnamed_addr #0 {
entry:
%0 = bitcast float %v to i32
%sub = sub nsw i32 23, %N
Expand All @@ -44,7 +44,7 @@ entry:
}

; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
define dso_local noundef float @_Z22meshopt_dequantizeHalft(i16 noundef zeroext %h) local_unnamed_addr #1 {
define dso_local noundef float @_Z22meshopt_dequantizeHalft(i16 noundef zeroext %h) local_unnamed_addr #0 {
entry:
%h.signext = sext i16 %h to i32
%shl = and i32 %h.signext, -2147483648
Expand All @@ -63,11 +63,10 @@ entry:
}

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fabs.f32(float) #2
declare float @llvm.fabs.f32(float) #1

attributes #0 = { mustprogress nofree nosync nounwind willreturn memory(none) uwtable "frame-pointer"="all" "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 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "frame-pointer"="all" "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 #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "frame-pointer"="all" "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 speculatable willreturn memory(none) }

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

Expand Down
52 changes: 16 additions & 36 deletions bench/oiio/optimized/color_ocio.cpp.ll
Original file line number Diff line number Diff line change
Expand Up @@ -56681,7 +56681,7 @@ invoke.cont127: ; preds = %for.cond121.prehead
br i1 %cmp.i.i.i, label %if.then.i.i.i, label %if.else.i.i.i

if.then.i.i.i: ; preds = %invoke.cont127
%shr.i.i.i = lshr i32 %97, 16
%shr.i.i.i = lshr exact i32 %97, 16
%conv.i.i.i = trunc i32 %shr.i.i.i to i16
br label %for.inc131

Expand Down Expand Up @@ -56898,12 +56898,7 @@ invoke.cont166: ; preds = %invoke.cont166.preh
%conv164 = fadd float %mul161, 5.000000e-01
%153 = bitcast float %conv164 to i32
%cmp.i.i.i153 = fcmp oeq float %conv164, 0.000000e+00
br i1 %cmp.i.i.i153, label %if.then.i.i.i169, label %if.else.i.i.i154

if.then.i.i.i169: ; preds = %invoke.cont166
%shr.i.i.i170 = lshr i32 %153, 16
%conv.i.i.i171 = trunc i32 %shr.i.i.i170 to i16
br label %for.inc171
br i1 %cmp.i.i.i153, label %for.inc171, label %if.else.i.i.i154

if.else.i.i.i154: ; preds = %invoke.cont166
%shr2.i.i.i155 = lshr i32 %153, 23
Expand All @@ -56928,8 +56923,8 @@ if.else13.i.i.i168: ; preds = %if.else.i.i.i154
%call.i.i.i173 = invoke noundef signext i16 @_ZN4half7convertEi(i32 noundef %153)
to label %for.inc171 unwind label %lpad33.loopexit

for.inc171: ; preds = %if.then4.i.i.i159, %if.then.i.i.i169, %if.else13.i.i.i168
%conv11.sink.i.i.i167 = phi i16 [ %conv11.i.i.i166, %if.then4.i.i.i159 ], [ %conv.i.i.i171, %if.then.i.i.i169 ], [ %call.i.i.i173, %if.else13.i.i.i168 ]
for.inc171: ; preds = %invoke.cont166, %if.then4.i.i.i159, %if.else13.i.i.i168
%conv11.sink.i.i.i167 = phi i16 [ %conv11.i.i.i166, %if.then4.i.i.i159 ], [ %call.i.i.i173, %if.else13.i.i.i168 ], [ 0, %invoke.cont166 ]
store i16 %conv11.sink.i.i.i167, ptr %arrayidx.i.i152, align 2
%indvars.iv.next463 = add nsw i64 %indvars.iv462, 1
%156 = load i32, ptr %chend, align 4
Expand Down Expand Up @@ -69418,7 +69413,7 @@ invoke.cont127: ; preds = %for.cond121.prehead
br i1 %cmp.i.i.i, label %if.then.i.i.i, label %if.else.i.i.i

if.then.i.i.i: ; preds = %invoke.cont127
%shr.i.i.i = lshr i32 %95, 16
%shr.i.i.i = lshr exact i32 %95, 16
%conv.i.i.i = trunc i32 %shr.i.i.i to i16
br label %for.inc131

Expand Down Expand Up @@ -69632,12 +69627,7 @@ invoke.cont166: ; preds = %invoke.cont166.preh
%conv164 = fadd float %mul161, 5.000000e-01
%150 = bitcast float %conv164 to i32
%cmp.i.i.i151 = fcmp oeq float %conv164, 0.000000e+00
br i1 %cmp.i.i.i151, label %if.then.i.i.i167, label %if.else.i.i.i152

if.then.i.i.i167: ; preds = %invoke.cont166
%shr.i.i.i168 = lshr i32 %150, 16
%conv.i.i.i169 = trunc i32 %shr.i.i.i168 to i16
br label %for.inc171
br i1 %cmp.i.i.i151, label %for.inc171, label %if.else.i.i.i152

if.else.i.i.i152: ; preds = %invoke.cont166
%shr2.i.i.i153 = lshr i32 %150, 23
Expand All @@ -69662,8 +69652,8 @@ if.else13.i.i.i166: ; preds = %if.else.i.i.i152
%call.i.i.i171 = invoke noundef signext i16 @_ZN4half7convertEi(i32 noundef %150)
to label %for.inc171 unwind label %lpad33.loopexit

for.inc171: ; preds = %if.then4.i.i.i157, %if.then.i.i.i167, %if.else13.i.i.i166
%conv11.sink.i.i.i165 = phi i16 [ %conv11.i.i.i164, %if.then4.i.i.i157 ], [ %conv.i.i.i169, %if.then.i.i.i167 ], [ %call.i.i.i171, %if.else13.i.i.i166 ]
for.inc171: ; preds = %invoke.cont166, %if.then4.i.i.i157, %if.else13.i.i.i166
%conv11.sink.i.i.i165 = phi i16 [ %conv11.i.i.i164, %if.then4.i.i.i157 ], [ %call.i.i.i171, %if.else13.i.i.i166 ], [ 0, %invoke.cont166 ]
store i16 %conv11.sink.i.i.i165, ptr %arrayidx.i.i150, align 2
%indvars.iv.next457 = add nsw i64 %indvars.iv456, 1
%153 = load i32, ptr %chend, align 4
Expand Down Expand Up @@ -70535,7 +70525,7 @@ invoke.cont127: ; preds = %for.cond121.prehead
br i1 %cmp.i.i.i, label %if.then.i.i.i, label %if.else.i.i.i

if.then.i.i.i: ; preds = %invoke.cont127
%shr.i.i.i = lshr i32 %96, 16
%shr.i.i.i = lshr exact i32 %96, 16
%conv.i.i.i = trunc i32 %shr.i.i.i to i16
br label %for.inc131

Expand Down Expand Up @@ -70751,12 +70741,7 @@ invoke.cont166: ; preds = %invoke.cont166.preh
%conv164 = fadd float %mul161, 5.000000e-01
%151 = bitcast float %conv164 to i32
%cmp.i.i.i153 = fcmp oeq float %conv164, 0.000000e+00
br i1 %cmp.i.i.i153, label %if.then.i.i.i169, label %if.else.i.i.i154

if.then.i.i.i169: ; preds = %invoke.cont166
%shr.i.i.i170 = lshr i32 %151, 16
%conv.i.i.i171 = trunc i32 %shr.i.i.i170 to i16
br label %for.inc171
br i1 %cmp.i.i.i153, label %for.inc171, label %if.else.i.i.i154

if.else.i.i.i154: ; preds = %invoke.cont166
%shr2.i.i.i155 = lshr i32 %151, 23
Expand All @@ -70781,8 +70766,8 @@ if.else13.i.i.i168: ; preds = %if.else.i.i.i154
%call.i.i.i173 = invoke noundef signext i16 @_ZN4half7convertEi(i32 noundef %151)
to label %for.inc171 unwind label %lpad33.loopexit

for.inc171: ; preds = %if.then4.i.i.i159, %if.then.i.i.i169, %if.else13.i.i.i168
%conv11.sink.i.i.i167 = phi i16 [ %conv11.i.i.i166, %if.then4.i.i.i159 ], [ %conv.i.i.i171, %if.then.i.i.i169 ], [ %call.i.i.i173, %if.else13.i.i.i168 ]
for.inc171: ; preds = %invoke.cont166, %if.then4.i.i.i159, %if.else13.i.i.i168
%conv11.sink.i.i.i167 = phi i16 [ %conv11.i.i.i166, %if.then4.i.i.i159 ], [ %call.i.i.i173, %if.else13.i.i.i168 ], [ 0, %invoke.cont166 ]
store i16 %conv11.sink.i.i.i167, ptr %arrayidx.i.i152, align 2
%indvars.iv.next463 = add nsw i64 %indvars.iv462, 1
%154 = load i32, ptr %chend, align 4
Expand Down Expand Up @@ -71654,7 +71639,7 @@ invoke.cont127: ; preds = %for.cond121.prehead
br i1 %cmp.i.i.i, label %if.then.i.i.i, label %if.else.i.i.i

if.then.i.i.i: ; preds = %invoke.cont127
%shr.i.i.i = lshr i32 %96, 16
%shr.i.i.i = lshr exact i32 %96, 16
%conv.i.i.i = trunc i32 %shr.i.i.i to i16
br label %for.inc131

Expand Down Expand Up @@ -71870,12 +71855,7 @@ invoke.cont166: ; preds = %invoke.cont166.preh
%conv164 = fadd float %mul161, 5.000000e-01
%151 = bitcast float %conv164 to i32
%cmp.i.i.i153 = fcmp oeq float %conv164, 0.000000e+00
br i1 %cmp.i.i.i153, label %if.then.i.i.i169, label %if.else.i.i.i154

if.then.i.i.i169: ; preds = %invoke.cont166
%shr.i.i.i170 = lshr i32 %151, 16
%conv.i.i.i171 = trunc i32 %shr.i.i.i170 to i16
br label %for.inc171
br i1 %cmp.i.i.i153, label %for.inc171, label %if.else.i.i.i154

if.else.i.i.i154: ; preds = %invoke.cont166
%shr2.i.i.i155 = lshr i32 %151, 23
Expand All @@ -71900,8 +71880,8 @@ if.else13.i.i.i168: ; preds = %if.else.i.i.i154
%call.i.i.i173 = invoke noundef signext i16 @_ZN4half7convertEi(i32 noundef %151)
to label %for.inc171 unwind label %lpad33.loopexit

for.inc171: ; preds = %if.then4.i.i.i159, %if.then.i.i.i169, %if.else13.i.i.i168
%conv11.sink.i.i.i167 = phi i16 [ %conv11.i.i.i166, %if.then4.i.i.i159 ], [ %conv.i.i.i171, %if.then.i.i.i169 ], [ %call.i.i.i173, %if.else13.i.i.i168 ]
for.inc171: ; preds = %invoke.cont166, %if.then4.i.i.i159, %if.else13.i.i.i168
%conv11.sink.i.i.i167 = phi i16 [ %conv11.i.i.i166, %if.then4.i.i.i159 ], [ %call.i.i.i173, %if.else13.i.i.i168 ], [ 0, %invoke.cont166 ]
store i16 %conv11.sink.i.i.i167, ptr %arrayidx.i.i152, align 2
%indvars.iv.next463 = add nsw i64 %indvars.iv462, 1
%154 = load i32, ptr %chend, align 4
Expand Down
Loading