From 9102749241dddb2acc8f5b4503f57236743949eb Mon Sep 17 00:00:00 2001 From: dtcxzyw <15650457+dtcxzyw@users.noreply.github.com> Date: Fri, 1 Nov 2024 10:42:47 +0800 Subject: [PATCH 1/2] pre-commit: PR114499 --- scripts/setup_pre_commit_patch.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/setup_pre_commit_patch.sh b/scripts/setup_pre_commit_patch.sh index 820278fb20a..15d2cf7f8d1 100755 --- a/scripts/setup_pre_commit_patch.sh +++ b/scripts/setup_pre_commit_patch.sh @@ -2,7 +2,7 @@ set -euo pipefail shopt -s inherit_errexit -export GITHUB_PATCH_ID="/llvm-project/commit/" +export GITHUB_PATCH_ID=llvm/llvm-project/pull/114499 # Please rebase manually # git fetch origin From cad7eaad8c911cc825d1f2af83187b767fc05102 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 1 Nov 2024 03:01:30 +0000 Subject: [PATCH 2/2] pre-commit: Update --- bench/minetest/optimized/map.cpp.ll | 32 ++++++++++++++--------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/bench/minetest/optimized/map.cpp.ll b/bench/minetest/optimized/map.cpp.ll index 6570c992b72..032a0e6554a 100644 --- a/bench/minetest/optimized/map.cpp.ll +++ b/bench/minetest/optimized/map.cpp.ll @@ -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> - %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, %conv3.i56 = sitofp i16 %pos_camera.sroa.4.0.extract.trunc to float @@ -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> - %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, %conv3.i56.i = sitofp i16 %pos_camera.sroa.17.0.extract.trunc.i to float @@ -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> - %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, %conv3.i56.i18 = sitofp i16 %pos_camera.sroa.17.0.extract.trunc.i to float @@ -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> - %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 @@ -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> - %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 @@ -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> - %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 @@ -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> - %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 @@ -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> - %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