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: PR113993 #1563

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
38 changes: 19 additions & 19 deletions bench/arrow/optimized/key_map_avx2.cc.ll
Original file line number Diff line number Diff line change
Expand Up @@ -327,25 +327,25 @@ for.body68: ; preds = %for.body68.lr.ph, %
%86 = tail call <32 x i8> @llvm.x86.avx2.pshuf.b(<32 x i8> %40, <32 x i8> %83)
%87 = bitcast <4 x i64> %or.i418 to <32 x i8>
%cmp.i263 = icmp eq <32 x i8> %86, %87
%88 = shufflevector <32 x i8> %85, <32 x i8> poison, <32 x i32> <i32 0, i32 4, i32 8, i32 12, i32 1, i32 5, i32 9, i32 13, i32 2, i32 6, i32 10, i32 14, i32 3, i32 7, i32 11, i32 15, i32 16, i32 20, i32 24, i32 28, i32 17, i32 21, i32 25, i32 29, i32 18, i32 22, i32 26, i32 30, i32 19, i32 23, i32 27, i32 31>
%88 = select <32 x i1> %cmp.i263, <32 x i8> <i8 7, i8 7, i8 7, i8 7, i8 7, i8 7, i8 7, i8 7, i8 7, i8 7, i8 7, i8 7, i8 7, i8 7, i8 7, i8 7, i8 7, i8 7, i8 7, i8 7, i8 7, i8 7, i8 7, i8 7, i8 7, i8 7, i8 7, i8 7, i8 7, i8 7, i8 7, i8 7>, <32 x i8> %85
%89 = tail call <32 x i8> @llvm.x86.avx2.pshuf.b(<32 x i8> %41, <32 x i8> %83)
%cmp.i259 = icmp eq <32 x i8> %89, %87
%90 = select <32 x i1> %cmp.i263, <32 x i8> <i8 7, i8 7, i8 7, i8 7, i8 7, i8 7, i8 7, i8 7, i8 7, i8 7, i8 7, i8 7, i8 7, i8 7, i8 7, i8 7, i8 7, i8 7, i8 7, i8 7, i8 7, i8 7, i8 7, i8 7, i8 7, i8 7, i8 7, i8 7, i8 7, i8 7, i8 7, i8 7>, <32 x i8> %88
%90 = select <32 x i1> %cmp.i259, <32 x i8> <i8 6, i8 6, i8 6, i8 6, i8 6, i8 6, i8 6, i8 6, i8 6, i8 6, i8 6, i8 6, i8 6, i8 6, i8 6, i8 6, i8 6, i8 6, i8 6, i8 6, i8 6, i8 6, i8 6, i8 6, i8 6, i8 6, i8 6, i8 6, i8 6, i8 6, i8 6, i8 6>, <32 x i8> %88
%91 = tail call <32 x i8> @llvm.x86.avx2.pshuf.b(<32 x i8> %43, <32 x i8> %83)
%cmp.i255 = icmp eq <32 x i8> %91, %87
%92 = select <32 x i1> %cmp.i259, <32 x i8> <i8 6, i8 6, i8 6, i8 6, i8 6, i8 6, i8 6, i8 6, i8 6, i8 6, i8 6, i8 6, i8 6, i8 6, i8 6, i8 6, i8 6, i8 6, i8 6, i8 6, i8 6, i8 6, i8 6, i8 6, i8 6, i8 6, i8 6, i8 6, i8 6, i8 6, i8 6, i8 6>, <32 x i8> %90
%92 = select <32 x i1> %cmp.i255, <32 x i8> <i8 5, i8 5, i8 5, i8 5, i8 5, i8 5, i8 5, i8 5, i8 5, i8 5, i8 5, i8 5, i8 5, i8 5, i8 5, i8 5, i8 5, i8 5, i8 5, i8 5, i8 5, i8 5, i8 5, i8 5, i8 5, i8 5, i8 5, i8 5, i8 5, i8 5, i8 5, i8 5>, <32 x i8> %90
%93 = tail call <32 x i8> @llvm.x86.avx2.pshuf.b(<32 x i8> %45, <32 x i8> %83)
%cmp.i251 = icmp eq <32 x i8> %93, %87
%94 = select <32 x i1> %cmp.i255, <32 x i8> <i8 5, i8 5, i8 5, i8 5, i8 5, i8 5, i8 5, i8 5, i8 5, i8 5, i8 5, i8 5, i8 5, i8 5, i8 5, i8 5, i8 5, i8 5, i8 5, i8 5, i8 5, i8 5, i8 5, i8 5, i8 5, i8 5, i8 5, i8 5, i8 5, i8 5, i8 5, i8 5>, <32 x i8> %92
%94 = select <32 x i1> %cmp.i251, <32 x i8> <i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4>, <32 x i8> %92
%95 = tail call <32 x i8> @llvm.x86.avx2.pshuf.b(<32 x i8> %47, <32 x i8> %83)
%cmp.i247 = icmp eq <32 x i8> %95, %87
%96 = select <32 x i1> %cmp.i251, <32 x i8> <i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4, i8 4>, <32 x i8> %94
%96 = select <32 x i1> %cmp.i247, <32 x i8> <i8 3, i8 3, i8 3, i8 3, i8 3, i8 3, i8 3, i8 3, i8 3, i8 3, i8 3, i8 3, i8 3, i8 3, i8 3, i8 3, i8 3, i8 3, i8 3, i8 3, i8 3, i8 3, i8 3, i8 3, i8 3, i8 3, i8 3, i8 3, i8 3, i8 3, i8 3, i8 3>, <32 x i8> %94
%97 = tail call <32 x i8> @llvm.x86.avx2.pshuf.b(<32 x i8> %49, <32 x i8> %83)
%cmp.i243 = icmp eq <32 x i8> %97, %87
%98 = select <32 x i1> %cmp.i247, <32 x i8> <i8 3, i8 3, i8 3, i8 3, i8 3, i8 3, i8 3, i8 3, i8 3, i8 3, i8 3, i8 3, i8 3, i8 3, i8 3, i8 3, i8 3, i8 3, i8 3, i8 3, i8 3, i8 3, i8 3, i8 3, i8 3, i8 3, i8 3, i8 3, i8 3, i8 3, i8 3, i8 3>, <32 x i8> %96
%98 = select <32 x i1> %cmp.i243, <32 x i8> <i8 2, i8 2, i8 2, i8 2, i8 2, i8 2, i8 2, i8 2, i8 2, i8 2, i8 2, i8 2, i8 2, i8 2, i8 2, i8 2, i8 2, i8 2, i8 2, i8 2, i8 2, i8 2, i8 2, i8 2, i8 2, i8 2, i8 2, i8 2, i8 2, i8 2, i8 2, i8 2>, <32 x i8> %96
%99 = tail call <32 x i8> @llvm.x86.avx2.pshuf.b(<32 x i8> %51, <32 x i8> %83)
%cmp.i239 = icmp eq <32 x i8> %99, %87
%100 = select <32 x i1> %cmp.i243, <32 x i8> <i8 2, i8 2, i8 2, i8 2, i8 2, i8 2, i8 2, i8 2, i8 2, i8 2, i8 2, i8 2, i8 2, i8 2, i8 2, i8 2, i8 2, i8 2, i8 2, i8 2, i8 2, i8 2, i8 2, i8 2, i8 2, i8 2, i8 2, i8 2, i8 2, i8 2, i8 2, i8 2>, <32 x i8> %98
%100 = select <32 x i1> %cmp.i239, <32 x i8> <i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1>, <32 x i8> %98
%101 = tail call <32 x i8> @llvm.x86.avx2.pshuf.b(<32 x i8> %53, <32 x i8> %83)
%cmp.i = icmp eq <32 x i8> %101, %87
%102 = select <32 x i1> %cmp.i, <32 x i1> <i1 true, i1 true, i1 true, i1 true, i1 true, i1 true, i1 true, i1 true, i1 true, i1 true, i1 true, i1 true, i1 true, i1 true, i1 true, i1 true, i1 true, i1 true, i1 true, i1 true, i1 true, i1 true, i1 true, i1 true, i1 true, i1 true, i1 true, i1 true, i1 true, i1 true, i1 true, i1 true>, <32 x i1> %cmp.i239
Expand All @@ -355,20 +355,20 @@ for.body68: ; preds = %for.body68.lr.ph, %
%106 = select <32 x i1> %105, <32 x i1> <i1 true, i1 true, i1 true, i1 true, i1 true, i1 true, i1 true, i1 true, i1 true, i1 true, i1 true, i1 true, i1 true, i1 true, i1 true, i1 true, i1 true, i1 true, i1 true, i1 true, i1 true, i1 true, i1 true, i1 true, i1 true, i1 true, i1 true, i1 true, i1 true, i1 true, i1 true, i1 true>, <32 x i1> %cmp.i255
%107 = select <32 x i1> %106, <32 x i1> <i1 true, i1 true, i1 true, i1 true, i1 true, i1 true, i1 true, i1 true, i1 true, i1 true, i1 true, i1 true, i1 true, i1 true, i1 true, i1 true, i1 true, i1 true, i1 true, i1 true, i1 true, i1 true, i1 true, i1 true, i1 true, i1 true, i1 true, i1 true, i1 true, i1 true, i1 true, i1 true>, <32 x i1> %cmp.i259
%108 = select <32 x i1> %107, <32 x i1> <i1 true, i1 true, i1 true, i1 true, i1 true, i1 true, i1 true, i1 true, i1 true, i1 true, i1 true, i1 true, i1 true, i1 true, i1 true, i1 true, i1 true, i1 true, i1 true, i1 true, i1 true, i1 true, i1 true, i1 true, i1 true, i1 true, i1 true, i1 true, i1 true, i1 true, i1 true, i1 true>, <32 x i1> %cmp.i263
%109 = shufflevector <32 x i8> %84, <32 x i8> poison, <32 x i32> <i32 0, i32 4, i32 8, i32 12, i32 1, i32 5, i32 9, i32 13, i32 2, i32 6, i32 10, i32 14, i32 3, i32 7, i32 11, i32 15, i32 16, i32 20, i32 24, i32 28, i32 17, i32 21, i32 25, i32 29, i32 18, i32 22, i32 26, i32 30, i32 19, i32 23, i32 27, i32 31>
%110 = select <32 x i1> %cmp.i239, <32 x i8> <i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1>, <32 x i8> %100
%111 = select <32 x i1> %108, <32 x i8> <i8 -1, i8 -1, i8 -1, i8 -1, i8 -1, i8 -1, i8 -1, i8 -1, i8 -1, i8 -1, i8 -1, i8 -1, i8 -1, i8 -1, i8 -1, i8 -1, i8 -1, i8 -1, i8 -1, i8 -1, i8 -1, i8 -1, i8 -1, i8 -1, i8 -1, i8 -1, i8 -1, i8 -1, i8 -1, i8 -1, i8 -1, i8 -1>, <32 x i8> %109
%112 = bitcast <32 x i8> %111 to <8 x i32>
%113 = shufflevector <8 x i32> %112, <8 x i32> poison, <8 x i32> <i32 0, i32 4, i32 1, i32 5, i32 2, i32 6, i32 3, i32 7>
%114 = select <32 x i1> %cmp.i, <32 x i8> zeroinitializer, <32 x i8> %110
%115 = bitcast <32 x i8> %114 to <8 x i32>
%116 = shufflevector <8 x i32> %115, <8 x i32> poison, <8 x i32> <i32 0, i32 4, i32 1, i32 5, i32 2, i32 6, i32 3, i32 7>
%or.i1033 = select <32 x i1> %108, <32 x i8> <i8 -1, i8 -1, i8 -1, i8 -1, i8 -1, i8 -1, i8 -1, i8 -1, i8 -1, i8 -1, i8 -1, i8 -1, i8 -1, i8 -1, i8 -1, i8 -1, i8 -1, i8 -1, i8 -1, i8 -1, i8 -1, i8 -1, i8 -1, i8 -1, i8 -1, i8 -1, i8 -1, i8 -1, i8 -1, i8 -1, i8 -1, i8 -1>, <32 x i8> %84
%109 = select <32 x i1> %cmp.i, <32 x i8> zeroinitializer, <32 x i8> %100
%110 = shufflevector <32 x i8> %or.i1033, <32 x i8> poison, <32 x i32> <i32 0, i32 4, i32 8, i32 12, i32 1, i32 5, i32 9, i32 13, i32 2, i32 6, i32 10, i32 14, i32 3, i32 7, i32 11, i32 15, i32 16, i32 20, i32 24, i32 28, i32 17, i32 21, i32 25, i32 29, i32 18, i32 22, i32 26, i32 30, i32 19, i32 23, i32 27, i32 31>
%111 = bitcast <32 x i8> %110 to <8 x i32>
%112 = shufflevector <8 x i32> %111, <8 x i32> poison, <8 x i32> <i32 0, i32 4, i32 1, i32 5, i32 2, i32 6, i32 3, i32 7>
%113 = shufflevector <32 x i8> %109, <32 x i8> poison, <32 x i32> <i32 0, i32 4, i32 8, i32 12, i32 1, i32 5, i32 9, i32 13, i32 2, i32 6, i32 10, i32 14, i32 3, i32 7, i32 11, i32 15, i32 16, i32 20, i32 24, i32 28, i32 17, i32 21, i32 25, i32 29, i32 18, i32 22, i32 26, i32 30, i32 19, i32 23, i32 27, i32 31>
%114 = bitcast <32 x i8> %113 to <8 x i32>
%115 = shufflevector <8 x i32> %114, <8 x i32> poison, <8 x i32> <i32 0, i32 4, i32 1, i32 5, i32 2, i32 6, i32 3, i32 7>
%add.ptr186 = getelementptr inbounds <4 x i64>, ptr %out_local_slots, i64 %indvars.iv1050
store <8 x i32> %116, ptr %add.ptr186, align 1
%117 = bitcast <8 x i32> %113 to <32 x i8>
%118 = icmp slt <32 x i8> %117, zeroinitializer
store <8 x i32> %115, ptr %add.ptr186, align 1
%116 = bitcast <8 x i32> %112 to <32 x i8>
%117 = icmp slt <32 x i8> %116, zeroinitializer
%arrayidx189 = getelementptr inbounds i32, ptr %out_match_bitvector, i64 %indvars.iv1050
store <32 x i1> %118, ptr %arrayidx189, align 4
store <32 x i1> %117, ptr %arrayidx189, align 4
%indvars.iv.next1051 = add nuw nsw i64 %indvars.iv1050, 1
%exitcond1055.not = icmp eq i64 %indvars.iv.next1051, %wide.trip.count1054
br i1 %exitcond1055.not, label %for.end192, label %for.body68, !llvm.loop !7
Expand Down
6 changes: 4 additions & 2 deletions bench/minetest/optimized/content_mapblock.cpp.ll
Original file line number Diff line number Diff line change
Expand Up @@ -9208,8 +9208,10 @@ _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 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
%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
%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
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/113993

# Please rebase manually
# git fetch origin
Expand Down