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: PR113746 #1543

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
62 changes: 31 additions & 31 deletions bench/arrow/optimized/key_map_avx2.cc.ll

Large diffs are not rendered by default.

430 changes: 215 additions & 215 deletions bench/darktable/optimized/RawImageDataFloat.cpp.ll

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions bench/duckdb/optimized/ub_duckdb_catalog.cpp.ll
Original file line number Diff line number Diff line change
Expand Up @@ -28786,15 +28786,15 @@ entry:
if.else: ; preds = %entry
%start_time10 = getelementptr inbounds i8, ptr %call, i64 40
%2 = load <2 x i64>, ptr %start_time10, align 8, !tbaa !63
%3 = shufflevector <2 x i64> %2, <2 x i64> poison, <2 x i32> <i32 1, i32 0>
br label %if.end

if.end: ; preds = %if.else, %entry
%3 = phi <2 x i64> [ %2, %if.else ], [ <i64 -1, i64 -1>, %entry ]
%4 = phi <2 x i64> [ %3, %if.else ], [ <i64 -1, i64 -1>, %entry ]
%transaction = getelementptr inbounds i8, ptr %this, i64 16
%context2 = getelementptr inbounds i8, ptr %this, i64 8
%4 = getelementptr inbounds i8, ptr %this, i64 24
%5 = shufflevector <2 x i64> %3, <2 x i64> poison, <2 x i32> <i32 1, i32 0>
store <2 x i64> %5, ptr %4, align 8
%5 = getelementptr inbounds i8, ptr %this, i64 24
store <2 x i64> %4, ptr %5, align 8
%6 = ptrtoint ptr %call to i64
store i64 %6, ptr %transaction, align 8, !tbaa !62
%7 = ptrtoint ptr %context to i64
Expand Down
134 changes: 66 additions & 68 deletions bench/minetest/optimized/CGUISkin.cpp.ll

Large diffs are not rendered by default.

6 changes: 2 additions & 4 deletions bench/minetest/optimized/content_mapblock.cpp.ll
Original file line number Diff line number Diff line change
Expand Up @@ -9208,10 +9208,8 @@ _ZN21MapblockMeshGenerator14getSpecialTileEiP8TileSpecb.exit: ; preds = %if.then
%cond221 = select nsz i1 %75, float 0x4011851EC0000000, float 0x4013E147A0000000
%76 = load <2 x i8>, ptr %arrayidx115.2, align 4, !tbaa !64
%77 = icmp eq <2 x i8> %76, zeroinitializer
%78 = select <2 x i1> %77, <2 x float> <float 0x4011851EC0000000, float 0x4011851EC0000000>, <2 x float> <float 0x4013E147A0000000, float 0x4013E147A0000000>
%79 = shufflevector <2 x float> %78, <2 x float> poison, <2 x i32> <i32 1, i32 0>
%80 = fneg nsz <2 x float> %79
store <2 x float> %80, ptr %agg.tmp201, align 8, !tbaa !49
%78 = select nsz <2 x i1> %77, <2 x float> <float 0xC011851EC0000000, float 0xC011851EC0000000>, <2 x float> <float 0xC013E147A0000000, float 0xC013E147A0000000>
store <2 x float> %78, ptr %agg.tmp201, align 8, !tbaa !49
%Z.i.i = getelementptr inbounds i8, ptr %agg.tmp201, i64 8
store float %fneg212, ptr %Z.i.i, align 8, !tbaa !50
%MaxEdge.i = getelementptr inbounds i8, ptr %agg.tmp201, i64 12
Expand Down
302 changes: 150 additions & 152 deletions bench/minetest/optimized/guiSkin.cpp.ll

Large diffs are not rendered by default.

296 changes: 147 additions & 149 deletions bench/mitsuba3/optimized/bsplinecurve.cpp.ll

Large diffs are not rendered by default.

21 changes: 10 additions & 11 deletions bench/mitsuba3/optimized/cylinder.cpp.ll
Original file line number Diff line number Diff line change
Expand Up @@ -2864,7 +2864,7 @@ _ZNK7mitsuba8CylinderIfN5drjit6MatrixINS_8SpectrumIfLm4EEELm4EEEE25ray_intersect
store ptr null, ptr %174, align 8
tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(212) %176, i8 0, i64 212, i1 false)
store float 0x7FF0000000000000, ptr %0, align 16
br label %268
br label %267

177: ; preds = %_ZNK7mitsuba8CylinderIfN5drjit6MatrixINS_8SpectrumIfLm4EEELm4EEEE25ray_intersect_preliminaryERKNS_3RayINS_5PointIfLm3EEES5_EEjb.exit
call void @_ZNK7mitsuba8CylinderIfN5drjit6MatrixINS_8SpectrumIfLm4EEELm4EEEE27compute_surface_interactionERKNS_3RayINS_5PointIfLm3EEES5_EERKNS_23PreliminaryIntersectionIfNS_5ShapeIfS5_EEEEjjb(ptr dead_on_unwind writable sret(%"struct.mitsuba::SurfaceInteraction") align 16 %0, ptr noundef nonnull align 16 dereferenceable(432) %1, ptr noundef nonnull align 16 dereferenceable(64) %6, ptr noundef nonnull align 8 dereferenceable(40) %7, i32 noundef %3, i32 noundef 0, i1 noundef zeroext true)
Expand All @@ -2880,7 +2880,7 @@ _ZNK7mitsuba8CylinderIfN5drjit6MatrixINS_8SpectrumIfLm4EEELm4EEEE25ray_intersect
br label %.critedge.i

.critedge.i: ; preds = %179, %177
%182 = phi <8 x i1> [ <i1 true, i1 true, i1 true, i1 false, i1 false, i1 false, i1 false, i1 false>, %177 ], [ zeroinitializer, %179 ]
%182 = phi <4 x i1> [ <i1 true, i1 true, i1 true, i1 false>, %177 ], [ zeroinitializer, %179 ]
%183 = load i32, ptr %165, align 4
%184 = getelementptr inbounds i8, ptr %0, i64 224
store i32 %183, ptr %184, align 16
Expand Down Expand Up @@ -2992,15 +2992,14 @@ _ZN7mitsuba18SurfaceInteractionIfN5drjit6MatrixINS_8SpectrumIfLm4EEELm4EEEE28fin
%261 = insertelement <4 x float> %258, float 0.000000e+00, i64 3
%262 = shufflevector <4 x float> %261, <4 x float> %259, <4 x i32> <i32 0, i32 4, i32 poison, i32 3>
%263 = shufflevector <4 x float> %262, <4 x float> %260, <4 x i32> <i32 0, i32 1, i32 4, i32 3>
%264 = shufflevector <8 x i1> %182, <8 x i1> poison, <4 x i32> <i32 0, i32 1, i32 2, i32 3>
%265 = select contract <4 x i1> %264, <4 x float> %263, <4 x float> %257
%266 = getelementptr inbounds i8, ptr %0, i64 208
store <4 x float> %265, ptr %266, align 16
%267 = getelementptr inbounds i8, ptr %0, i64 192
call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %267, i8 0, i64 16, i1 false)
br label %268

268: ; preds = %_ZN7mitsuba18SurfaceInteractionIfN5drjit6MatrixINS_8SpectrumIfLm4EEELm4EEEE28finalize_surface_interactionERKNS_23PreliminaryIntersectionIfNS_5ShapeIfS5_EEEERKNS_3RayINS_5PointIfLm3EEES5_EEjb.exit, %173
%264 = select contract <4 x i1> %182, <4 x float> %263, <4 x float> %257
%265 = getelementptr inbounds i8, ptr %0, i64 208
store <4 x float> %264, ptr %265, align 16
%266 = getelementptr inbounds i8, ptr %0, i64 192
call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %266, i8 0, i64 16, i1 false)
br label %267

267: ; preds = %_ZN7mitsuba18SurfaceInteractionIfN5drjit6MatrixINS_8SpectrumIfLm4EEELm4EEEE28finalize_surface_interactionERKNS_23PreliminaryIntersectionIfNS_5ShapeIfS5_EEEERKNS_3RayINS_5PointIfLm3EEES5_EEjb.exit, %173
ret void
}

Expand Down
19 changes: 9 additions & 10 deletions bench/mitsuba3/optimized/scene.cpp.ll
Original file line number Diff line number Diff line change
Expand Up @@ -6740,7 +6740,7 @@ define linkonce_odr hidden void @_ZN7mitsuba23PreliminaryIntersectionIfNS_5Shape
store i32 0, ptr %.sroa.23.0..sroa_idx, align 16
%.sroa.24162.0..sroa_idx = getelementptr inbounds i8, ptr %0, i64 232
store ptr null, ptr %.sroa.24162.0..sroa_idx, align 8
br label %120
br label %119

15: ; preds = %5
%16 = getelementptr inbounds i8, ptr %1, i64 32
Expand All @@ -6765,7 +6765,7 @@ define linkonce_odr hidden void @_ZN7mitsuba23PreliminaryIntersectionIfNS_5Shape
br label %.critedge.i

.critedge.i: ; preds = %26, %15
%29 = phi <8 x i1> [ <i1 true, i1 true, i1 true, i1 false, i1 false, i1 false, i1 false, i1 false>, %15 ], [ zeroinitializer, %26 ]
%29 = phi <4 x i1> [ <i1 true, i1 true, i1 true, i1 false>, %15 ], [ zeroinitializer, %26 ]
%30 = getelementptr inbounds i8, ptr %1, i64 12
%31 = load i32, ptr %30, align 4
%32 = getelementptr inbounds i8, ptr %6, i64 224
Expand Down Expand Up @@ -6881,16 +6881,15 @@ _ZN7mitsuba18SurfaceInteractionIfN5drjit6MatrixINS_8SpectrumIfLm4EEELm4EEEE19ini
%113 = insertelement <4 x float> %110, float 0.000000e+00, i64 3
%114 = shufflevector <4 x float> %113, <4 x float> %111, <4 x i32> <i32 0, i32 4, i32 poison, i32 3>
%115 = shufflevector <4 x float> %114, <4 x float> %112, <4 x i32> <i32 0, i32 1, i32 4, i32 3>
%116 = shufflevector <8 x i1> %29, <8 x i1> poison, <4 x i32> <i32 0, i32 1, i32 2, i32 3>
%117 = select contract <4 x i1> %116, <4 x float> %115, <4 x float> %109
%118 = getelementptr inbounds i8, ptr %6, i64 208
store <4 x float> %117, ptr %118, align 16
%119 = getelementptr inbounds i8, ptr %6, i64 192
call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %119, i8 0, i64 16, i1 false)
%116 = select contract <4 x i1> %29, <4 x float> %115, <4 x float> %109
%117 = getelementptr inbounds i8, ptr %6, i64 208
store <4 x float> %116, ptr %117, align 16
%118 = getelementptr inbounds i8, ptr %6, i64 192
call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %118, i8 0, i64 16, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(240) %0, ptr noundef nonnull align 16 dereferenceable(240) %6, i64 240, i1 false)
br label %120
br label %119

120: ; preds = %102, %10
119: ; preds = %102, %10
ret void
}

Expand Down
16 changes: 8 additions & 8 deletions bench/nuklear/optimized/unity.c.ll
Original file line number Diff line number Diff line change
Expand Up @@ -51140,13 +51140,13 @@ if.end23.i: ; preds = %if.then21.i, %if.en
store i32 %3, ptr %index8.i, align 4
%.pre = load <4 x float>, ptr %bounds, align 16
%9 = extractelement <4 x float> %.pre, i64 1
%10 = shufflevector <4 x float> %.pre, <4 x float> poison, <2 x i32> <i32 0, i32 poison>
br label %nk_layout_peek.exit

nk_layout_peek.exit: ; preds = %lor.lhs.false2.i, %if.end23.i
%10 = phi float [ %9, %if.end23.i ], [ 0.000000e+00, %lor.lhs.false2.i ]
%11 = phi <4 x float> [ %.pre, %if.end23.i ], [ zeroinitializer, %lor.lhs.false2.i ]
%retval.sroa.0.0.vec.insert.i = shufflevector <4 x float> %11, <4 x float> poison, <2 x i32> <i32 0, i32 poison>
%retval.sroa.0.4.vec.insert.i = insertelement <2 x float> %retval.sroa.0.0.vec.insert.i, float %10, i64 1
%11 = phi float [ %9, %if.end23.i ], [ 0.000000e+00, %lor.lhs.false2.i ]
%retval.sroa.0.0.vec.insert.i = phi <2 x float> [ %10, %if.end23.i ], [ <float 0.000000e+00, float undef>, %lor.lhs.false2.i ]
%retval.sroa.0.4.vec.insert.i = insertelement <2 x float> %retval.sroa.0.0.vec.insert.i, float %11, i64 1
br label %return

return: ; preds = %entry, %lor.lhs.false, %nk_layout_peek.exit
Expand Down Expand Up @@ -51210,13 +51210,13 @@ if.end23.i: ; preds = %if.then21.i, %if.en
store i32 %3, ptr %index8.i, align 4
%.pre = load <4 x float>, ptr %bounds, align 16
%9 = extractelement <4 x float> %.pre, i64 3
%10 = shufflevector <4 x float> %.pre, <4 x float> poison, <2 x i32> <i32 2, i32 poison>
br label %nk_layout_peek.exit

nk_layout_peek.exit: ; preds = %lor.lhs.false2.i, %if.end23.i
%10 = phi float [ %9, %if.end23.i ], [ 0.000000e+00, %lor.lhs.false2.i ]
%11 = phi <4 x float> [ %.pre, %if.end23.i ], [ zeroinitializer, %lor.lhs.false2.i ]
%retval.sroa.0.0.vec.insert.i = shufflevector <4 x float> %11, <4 x float> poison, <2 x i32> <i32 2, i32 poison>
%retval.sroa.0.4.vec.insert.i = insertelement <2 x float> %retval.sroa.0.0.vec.insert.i, float %10, i64 1
%11 = phi float [ %9, %if.end23.i ], [ 0.000000e+00, %lor.lhs.false2.i ]
%retval.sroa.0.0.vec.insert.i = phi <2 x float> [ %10, %if.end23.i ], [ <float 0.000000e+00, float undef>, %lor.lhs.false2.i ]
%retval.sroa.0.4.vec.insert.i = insertelement <2 x float> %retval.sroa.0.0.vec.insert.i, float %11, i64 1
br label %return

return: ; preds = %entry, %lor.lhs.false, %nk_layout_peek.exit
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/113746

# Please rebase manually
# git fetch origin
Expand Down