Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pre-commit: PR114499 #1588

Closed
wants to merge 2 commits into from
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
32 changes: 16 additions & 16 deletions bench/minetest/optimized/map.cpp.ll
Original file line number Diff line number Diff line change
Expand Up @@ -7094,9 +7094,9 @@ entry:
%14 = insertelement <2 x float> poison, float %13, i64 0
%15 = shufflevector <2 x float> %14, <2 x float> poison, <2 x i32> zeroinitializer
%16 = select i1 %cmp, <2 x float> %15, <2 x float> <float 1.000000e+00, float 1.000000e+00>
%direction.sroa.0.0 = fdiv nsz <2 x float> %8, %16
%direction.sroa.0.0 = fdiv <2 x float> %8, %16
%div3.i = select i1 %cmp, float %13, float 1.000000e+00
%direction.sroa.11.0 = fdiv nsz float %mul4.i, %div3.i
%direction.sroa.11.0 = fdiv float %mul4.i, %div3.i
%17 = sitofp <2 x i16> %2 to <2 x float>
%18 = fmul nsz <2 x float> %17, <float 1.000000e+01, float 1.000000e+01>
%conv3.i56 = sitofp i16 %pos_camera.sroa.4.0.extract.trunc to float
Expand Down Expand Up @@ -7380,9 +7380,9 @@ if.then73: ; preds = %if.then176.i, %if.t
%18 = insertelement <2 x float> poison, float %17, i64 0
%19 = shufflevector <2 x float> %18, <2 x float> poison, <2 x i32> zeroinitializer
%20 = select i1 %cmp.i, <2 x float> %19, <2 x float> <float 1.000000e+00, float 1.000000e+00>
%direction.sroa.0.0.i = fdiv nsz <2 x float> %12, %20
%direction.sroa.0.0.i = fdiv <2 x float> %12, %20
%div3.i.i = select i1 %cmp.i, float %17, float 1.000000e+00
%direction.sroa.11.0.i = fdiv nsz float %mul4.i.i, %div3.i.i
%direction.sroa.11.0.i = fdiv float %mul4.i.i, %div3.i.i
%21 = sitofp <2 x i16> %6 to <2 x float>
%22 = fmul nsz <2 x float> %21, <float 1.000000e+01, float 1.000000e+01>
%conv3.i56.i = sitofp i16 %pos_camera.sroa.17.0.extract.trunc.i to float
Expand Down Expand Up @@ -7500,9 +7500,9 @@ if.end79: ; preds = %_ZN3Map10isOccluded
%53 = insertelement <2 x float> poison, float %52, i64 0
%54 = shufflevector <2 x float> %53, <2 x float> poison, <2 x i32> zeroinitializer
%55 = select i1 %cmp.i14, <2 x float> %54, <2 x float> <float 1.000000e+00, float 1.000000e+00>
%direction.sroa.0.0.i15 = fdiv nsz <2 x float> %47, %55
%direction.sroa.0.0.i15 = fdiv <2 x float> %47, %55
%div3.i.i16 = select i1 %cmp.i14, float %52, float 1.000000e+00
%direction.sroa.11.0.i17 = fdiv nsz float %mul4.i.i12, %div3.i.i16
%direction.sroa.11.0.i17 = fdiv float %mul4.i.i12, %div3.i.i16
%56 = sitofp <2 x i16> %41 to <2 x float>
%57 = fmul nsz <2 x float> %56, <float 1.000000e+01, float 1.000000e+01>
%conv3.i56.i18 = sitofp i16 %pos_camera.sroa.17.0.extract.trunc.i to float
Expand Down Expand Up @@ -7614,9 +7614,9 @@ for.cond: ; preds = %if.then23.i64
%85 = insertelement <2 x float> poison, float %84, i64 0
%86 = shufflevector <2 x float> %85, <2 x float> poison, <2 x i32> zeroinitializer
%87 = select i1 %cmp.i79, <2 x float> %86, <2 x float> <float 1.000000e+00, float 1.000000e+00>
%direction.sroa.0.0.i80 = fdiv nsz <2 x float> %79, %87
%direction.sroa.0.0.i80 = fdiv <2 x float> %79, %87
%div3.i.i81 = select i1 %cmp.i79, float %84, float 1.000000e+00
%direction.sroa.11.0.i82 = fdiv nsz float %mul4.i.i77, %div3.i.i81
%direction.sroa.11.0.i82 = fdiv float %mul4.i.i77, %div3.i.i81
call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %is_valid_position.i68) #26
%add.i85 = fadd nsz float %84, 0xC07151EB80000000
%cmp11103.i86 = fcmp nsz ogt float %add.i85, 1.000000e+01
Expand Down Expand Up @@ -7720,9 +7720,9 @@ for.cond.1: ; preds = %if.then23.i129
%115 = insertelement <2 x float> poison, float %114, i64 0
%116 = shufflevector <2 x float> %115, <2 x float> poison, <2 x i32> zeroinitializer
%117 = select i1 %cmp.i144, <2 x float> %116, <2 x float> <float 1.000000e+00, float 1.000000e+00>
%direction.sroa.0.0.i145 = fdiv nsz <2 x float> %109, %117
%direction.sroa.0.0.i145 = fdiv <2 x float> %109, %117
%div3.i.i146 = select i1 %cmp.i144, float %114, float 1.000000e+00
%direction.sroa.11.0.i147 = fdiv nsz float %mul4.i.i142, %div3.i.i146
%direction.sroa.11.0.i147 = fdiv float %mul4.i.i142, %div3.i.i146
call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %is_valid_position.i133) #26
%add.i150 = fadd nsz float %114, 0xC07151EB80000000
%cmp11103.i151 = fcmp nsz ogt float %add.i150, 1.000000e+01
Expand Down Expand Up @@ -7826,9 +7826,9 @@ for.cond.2: ; preds = %if.then23.i194
%145 = insertelement <2 x float> poison, float %144, i64 0
%146 = shufflevector <2 x float> %145, <2 x float> poison, <2 x i32> zeroinitializer
%147 = select i1 %cmp.i209, <2 x float> %146, <2 x float> <float 1.000000e+00, float 1.000000e+00>
%direction.sroa.0.0.i210 = fdiv nsz <2 x float> %139, %147
%direction.sroa.0.0.i210 = fdiv <2 x float> %139, %147
%div3.i.i211 = select i1 %cmp.i209, float %144, float 1.000000e+00
%direction.sroa.11.0.i212 = fdiv nsz float %mul4.i.i207, %div3.i.i211
%direction.sroa.11.0.i212 = fdiv float %mul4.i.i207, %div3.i.i211
call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %is_valid_position.i198) #26
%add.i215 = fadd nsz float %144, 0xC07151EB80000000
%cmp11103.i216 = fcmp nsz ogt float %add.i215, 1.000000e+01
Expand Down Expand Up @@ -7932,9 +7932,9 @@ for.cond.3: ; preds = %if.then23.i259
%175 = insertelement <2 x float> poison, float %174, i64 0
%176 = shufflevector <2 x float> %175, <2 x float> poison, <2 x i32> zeroinitializer
%177 = select i1 %cmp.i274, <2 x float> %176, <2 x float> <float 1.000000e+00, float 1.000000e+00>
%direction.sroa.0.0.i275 = fdiv nsz <2 x float> %169, %177
%direction.sroa.0.0.i275 = fdiv <2 x float> %169, %177
%div3.i.i276 = select i1 %cmp.i274, float %174, float 1.000000e+00
%direction.sroa.11.0.i277 = fdiv nsz float %mul4.i.i272, %div3.i.i276
%direction.sroa.11.0.i277 = fdiv float %mul4.i.i272, %div3.i.i276
call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %is_valid_position.i263) #26
%add.i280 = fadd nsz float %174, 0xC07151EB80000000
%cmp11103.i281 = fcmp nsz ogt float %add.i280, 1.000000e+01
Expand Down Expand Up @@ -8100,9 +8100,9 @@ cleanup92.sink.split: ; preds = %for.cond.7, %if.the
%214 = insertelement <2 x float> poison, float %213, i64 0
%215 = shufflevector <2 x float> %214, <2 x float> poison, <2 x i32> zeroinitializer
%216 = select i1 %cmp.i339, <2 x float> %215, <2 x float> <float 1.000000e+00, float 1.000000e+00>
%direction.sroa.0.0.i340 = fdiv nsz <2 x float> %208, %216
%direction.sroa.0.0.i340 = fdiv <2 x float> %208, %216
%div3.i.i341 = select i1 %cmp.i339, float %213, float 1.000000e+00
%direction.sroa.11.0.i342 = fdiv nsz float %mul4.i.i337, %div3.i.i341
%direction.sroa.11.0.i342 = fdiv float %mul4.i.i337, %div3.i.i341
call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %is_valid_position.i328) #26
%add.i345 = fadd nsz float %213, 0xC07151EB80000000
%cmp11103.i346 = fcmp nsz ogt float %add.i345, 1.000000e+01
Expand Down
2 changes: 1 addition & 1 deletion scripts/setup_pre_commit_patch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
set -euo pipefail
shopt -s inherit_errexit

export GITHUB_PATCH_ID="<user_name>/llvm-project/commit/<commit_hash>"
export GITHUB_PATCH_ID=llvm/llvm-project/pull/114499

# Please rebase manually
# git fetch origin
Expand Down