Skip to content

Commit

Permalink
pre-commit: Update
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Oct 2, 2024
1 parent 7fb0e05 commit 8fe4e71
Show file tree
Hide file tree
Showing 27 changed files with 1,366 additions and 1,456 deletions.
8 changes: 3 additions & 5 deletions bench/bullet3/optimized/b3GjkEpa.ll
Original file line number Diff line number Diff line change
Expand Up @@ -4014,7 +4014,6 @@ if.then15: ; preds = %if.then
%mul5.i.i.i = fmul float %3, %3
%21 = tail call float @llvm.fmuladd.f32(float %1, float %1, float %mul5.i.i.i)
%22 = tail call noundef float @llvm.fmuladd.f32(float %5, float %5, float %21)
%sqrt.i = tail call noundef float @llvm.sqrt.f32(float %22)
br label %return.sink.split

if.else: ; preds = %if.then
Expand All @@ -4028,7 +4027,6 @@ if.then19: ; preds = %if.else
%mul5.i.i.i29 = fmul float %2, %2
%25 = tail call float @llvm.fmuladd.f32(float %0, float %0, float %mul5.i.i.i29)
%26 = tail call noundef float @llvm.fmuladd.f32(float %4, float %4, float %25)
%sqrt.i31 = tail call noundef float @llvm.sqrt.f32(float %26)
br label %return.sink.split

if.else22: ; preds = %if.else
Expand All @@ -4047,12 +4045,12 @@ if.else22: ; preds = %if.else
%div = fdiv float %34, %18
%cmp.i = fcmp ogt float %div, 0.000000e+00
%.sroa.speculated = select i1 %cmp.i, float %div, float 0.000000e+00
%sqrt = tail call float @llvm.sqrt.f32(float %.sroa.speculated)
br label %return.sink.split

return.sink.split: ; preds = %if.then19, %if.else22, %if.then15
%sqrt.i.sink = phi float [ %sqrt.i, %if.then15 ], [ %sqrt, %if.else22 ], [ %sqrt.i31, %if.then19 ]
store float %sqrt.i.sink, ptr %dist, align 4
%.sink = phi float [ %22, %if.then15 ], [ %.sroa.speculated, %if.else22 ], [ %26, %if.then19 ]
%sqrt.i = tail call float @llvm.sqrt.f32(float %.sink)
store float %sqrt.i, ptr %dist, align 4
br label %return

return: ; preds = %return.sink.split, %entry
Expand Down
17 changes: 6 additions & 11 deletions bench/bullet3/optimized/btConvexHull.ll
Original file line number Diff line number Diff line change
Expand Up @@ -3454,15 +3454,11 @@ if.end216: ; preds = %invoke.cont212
%135 = call float @llvm.fmuladd.f32(float %130, float %130, float %mul8.i.i.i.i.i368)
%136 = call noundef float @llvm.fmuladd.f32(float %134, float %134, float %135)
%cmp.i.i369 = fcmp oeq float %136, 0.000000e+00
br i1 %cmp.i.i369, label %if.end216.invoke.cont221_crit_edge, label %if.end.i.i370

if.end216.invoke.cont221_crit_edge: ; preds = %if.end216
%.pre605 = call float @llvm.sqrt.f32(float %136)
br label %invoke.cont221
br i1 %cmp.i.i369, label %invoke.cont221, label %if.end.i.i370

if.end.i.i370: ; preds = %if.end216
%sqrt.i.i.i371 = call noundef float @llvm.sqrt.f32(float %136)
%div.i.i372 = fdiv float 1.000000e+00, %sqrt.i.i.i371
%div.i.i372 = fdiv float 1.000000e+00, %.pre605
%mul.i.i.i373 = fmul float %130, %div.i.i372
%mul4.i.i.i374 = fmul float %132, %div.i.i372
%mul8.i.i.i375 = fmul float %134, %div.i.i372
Expand All @@ -3471,10 +3467,9 @@ if.end.i.i370: ; preds = %if.end216
%retval.sroa.3.12.vec.insert.i21.i.i378 = insertelement <2 x float> <float poison, float 0.000000e+00>, float %mul8.i.i.i375, i64 0
br label %invoke.cont221

invoke.cont221: ; preds = %if.end216.invoke.cont221_crit_edge, %if.end.i.i370
%sqrt.i433.pre-phi = phi float [ %.pre605, %if.end216.invoke.cont221_crit_edge ], [ %sqrt.i.i.i371, %if.end.i.i370 ]
%retval.sroa.0.0.i.i379 = phi <2 x float> [ <float 1.000000e+00, float 0.000000e+00>, %if.end216.invoke.cont221_crit_edge ], [ %retval.sroa.0.4.vec.insert.i20.i.i377, %if.end.i.i370 ]
%retval.sroa.4.0.i.i380 = phi <2 x float> [ zeroinitializer, %if.end216.invoke.cont221_crit_edge ], [ %retval.sroa.3.12.vec.insert.i21.i.i378, %if.end.i.i370 ]
invoke.cont221: ; preds = %if.end216, %if.end.i.i370
%retval.sroa.0.0.i.i379 = phi <2 x float> [ %retval.sroa.0.4.vec.insert.i20.i.i377, %if.end.i.i370 ], [ <float 1.000000e+00, float 0.000000e+00>, %if.end216 ]
%retval.sroa.4.0.i.i380 = phi <2 x float> [ %retval.sroa.3.12.vec.insert.i21.i.i378, %if.end.i.i370 ], [ zeroinitializer, %if.end216 ]
%sub.i.i381 = fsub float %mul.i.i236, %121
%sub8.i.i383 = fsub float %mul4.i.i, %123
%sub14.i.i385 = fsub float %mul8.i.i, %125
Expand All @@ -3485,7 +3480,7 @@ invoke.cont221: ; preds = %if.end216.invoke.co
%n.sroa.3.8.vec.extract.i389 = extractelement <2 x float> %retval.sroa.4.0.i.i380, i64 0
%138 = call noundef float @llvm.fmuladd.f32(float %n.sroa.3.8.vec.extract.i389, float %sub14.i.i385, float %137)
%cmp.i390 = fcmp ogt float %138, %mul186
%cmp256 = fcmp olt float %sqrt.i433.pre-phi, %mul255
%cmp256 = fcmp olt float %.pre605, %mul255
%or.cond = or i1 %cmp.i390, %cmp256
br i1 %or.cond, label %if.then257, label %while.cond199.backedge

Expand Down
Loading

0 comments on commit 8fe4e71

Please sign in to comment.