Skip to content

pre-commit (diff): llvm/llvm-project/compare/main...fhahn:ce-disjoint-or - #1188

Open
zyw-bot wants to merge 4 commits into
task-33761941011-basefrom
task-33761941011-change
Open

pre-commit (diff): llvm/llvm-project/compare/main...fhahn:ce-disjoint-or#1188
zyw-bot wants to merge 4 commits into
task-33761941011-basefrom
task-33761941011-change

Conversation

@zyw-bot

@zyw-bot zyw-bot commented Sep 3, 2026

Copy link
Copy Markdown
Collaborator

Please read the instructions in the README to reproduce the results locally.
cc @fhahn

Current: llvm/llvm-project@main...fhahn:ce-disjoint-or
Baseline commit: llvm/llvm-project@992d5d0

Changes in statistics

Top changes:

Metric Baseline Current Change
instcount.NumInsertElementInst 500688 500397 -0.06%
correlated-value-propagation.NumSMinMax 10332 10326 -0.06%
vector-combine.NumShufOfBitcast 18947 18936 -0.06%
instcount.NumShuffleVectorInst 561027 560852 -0.03%
instcount.NumBitCastInst 275191 275116 -0.03%
instcount.NumSExtInst 1128061 1127836 -0.02%
instcount.NumExtractElementInst 252192 252146 -0.02%
licm.NumAddSubHoisted 6356 6355 -0.02%
instcount.NumFPExtInst 53365 53357 -0.01%
loop-vectorize.LoopsEpilogueVectorized 33888 33883 -0.01%
licm.NumBOAssociationsHoisted 16147 16228 +0.50%
loop-simplifycfg.NumLoopBlocksDeleted 14044 14095 +0.36%
loop-simplifycfg.NumTerminatorsFolded 17868 17887 +0.11%
loop-instsimplify.NumSimplified 291218 291247 +0.01%
correlated-value-propagation.NumSExt 84486 84490 +0.00%
instsimplify.NumReassoc 1180095 1180126 +0.00%
correlated-value-propagation.NumSICmps 91742 91744 +0.00%
loop-unroll.NumRuntimeUnrolled 177447 177450 +0.00%
instcombine.NumConstProp 226793 226796 +0.00%
sccp.NumInstReplaced 227714 227717 +0.00%

Diff report

Scope Files Added Lines Removed Lines
Original 30 1605 3444
Kept 23 868 1239

Download the full diff list: z_fulldiff.csv

Delta Added Lines Removed Lines File
+84 173 89 opencv/simpleflow
+11 84 73 ffmpeg/svq1enc
+0 1 1 ffmpeg/vp3
+0 1 1 ffmpeg/dxv
+0 2 2 php/ZendAccelerator
+0 2 2 ncnn/lstm_x86_avx512vnni
+0 2 2 darktable/amaze
+0 6 6 openssl/rsa_oaep
+0 6 6 ncnn/interp_x86
+0 8 8 oiio/icooutput
+0 9 9 ncnn/interp_x86_avx512bf16
+0 9 9 ncnn/lstm_x86_avxvnni
+0 12 12 ncnn/interp_x86_fma
+0 18 18 ncnn/interp_x86_avx512
+0 30 30 ncnn/lstm_x86_fma
+0 32 32 ncnn/lstm_x86_avx512
-1 4 5 opencv/qrcode_encoder
-2 5 7 ffmpeg/aic
-3 18 21 abc/FxchMan
-12 6 18 ffmpeg/kmvc
-44 41 85 stb/stb_herringbone_wang_tile
-50 192 242 libigl/cotmatrix_intrinsic
-354 207 561 ncnn/gemm_x86_avx2

Artifacts

Selected raw llvm-relaxed-diff outputs (23 file pairs, up to 100 MB) can be downloaded from https://github.com/dtcxzyw/llvm-opt-benchmark-nightly/actions/runs/33761941011.

Grouped changes

report: add > sub
report: add < sub
report: add == sub

fhahn added a commit to fhahn/llvm-project that referenced this pull request Sep 3, 2026
Use m_NSWAddLike instead of m_NSWAdd to also handle 'or disjoint' in
signed decomposition.

Leads to a number of additional folds end-to-end:
dtcxzyw/llvm-opt-benchmark-nightly#1188

Compile-time impact is in the noise in almost all cases except lencod
with ThinLTO. On current main, compile-time for the workload regresses
by ~3%, but almost all additional time is spent in SLP: after some
branches got removed and BBs got merged got bigger, and SLP compile-time
scales super-linearly in block size in some cases.

Together with llvm#220968 the
regression goes down to ~+1.18% on the workload. I have 2 more prototype
patches that reduce the overhead by another ~0.30%. I am not sure if the
compile-time issue should block the patch.

https://llvm-compile-time-tracker.com/compare.php?from=ffe87191eb7090340f12056455104145670ed7e8&to=c073db66b714d3dd26c573ad8371ab8b117890a9&stat=instructions:u

Alive2 Proof: https://alive2.llvm.org/ce/z/ZVFEox
fhahn added a commit to llvm/llvm-project that referenced this pull request Sep 4, 2026
Use m_NSWAddLike instead of m_NSWAdd to also handle 'or disjoint' in
signed decomposition.

Leads to a number of additional folds end-to-end:
dtcxzyw/llvm-opt-benchmark-nightly#1188

Compile-time impact is in the noise in almost all cases except lencod
with ThinLTO. On current main, compile-time for the workload regresses
by ~3%, but almost all additional time is spent in SLP: after some
branches got removed and BBs got merged got bigger, and SLP compile-time
scales super-linearly in block size in some cases.

Together with #220968 the
regression goes down to ~+1.18% on the workload. I have 2 more prototype
patches that reduce the overhead by another ~0.30%. I am not sure if the
compile-time issue should block the patch.


https://llvm-compile-time-tracker.com/compare.php?from=ffe87191eb7090340f12056455104145670ed7e8&to=c073db66b714d3dd26c573ad8371ab8b117890a9&stat=instructions:u

Alive2 Proof: https://alive2.llvm.org/ce/z/ZVFEox

PR: #220990
llvm-sync Bot pushed a commit to arm/arm-toolchain that referenced this pull request Sep 4, 2026
…#220990)

Use m_NSWAddLike instead of m_NSWAdd to also handle 'or disjoint' in
signed decomposition.

Leads to a number of additional folds end-to-end:
dtcxzyw/llvm-opt-benchmark-nightly#1188

Compile-time impact is in the noise in almost all cases except lencod
with ThinLTO. On current main, compile-time for the workload regresses
by ~3%, but almost all additional time is spent in SLP: after some
branches got removed and BBs got merged got bigger, and SLP compile-time
scales super-linearly in block size in some cases.

Together with llvm/llvm-project#220968 the
regression goes down to ~+1.18% on the workload. I have 2 more prototype
patches that reduce the overhead by another ~0.30%. I am not sure if the
compile-time issue should block the patch.

https://llvm-compile-time-tracker.com/compare.php?from=ffe87191eb7090340f12056455104145670ed7e8&to=c073db66b714d3dd26c573ad8371ab8b117890a9&stat=instructions:u

Alive2 Proof: https://alive2.llvm.org/ce/z/ZVFEox

PR: llvm/llvm-project#220990
llvm-upstreamsync Bot pushed a commit to qualcomm/cpullvm-toolchain that referenced this pull request Sep 4, 2026
…#220990)

Use m_NSWAddLike instead of m_NSWAdd to also handle 'or disjoint' in
signed decomposition.

Leads to a number of additional folds end-to-end:
dtcxzyw/llvm-opt-benchmark-nightly#1188

Compile-time impact is in the noise in almost all cases except lencod
with ThinLTO. On current main, compile-time for the workload regresses
by ~3%, but almost all additional time is spent in SLP: after some
branches got removed and BBs got merged got bigger, and SLP compile-time
scales super-linearly in block size in some cases.

Together with llvm/llvm-project#220968 the
regression goes down to ~+1.18% on the workload. I have 2 more prototype
patches that reduce the overhead by another ~0.30%. I am not sure if the
compile-time issue should block the patch.

https://llvm-compile-time-tracker.com/compare.php?from=ffe87191eb7090340f12056455104145670ed7e8&to=c073db66b714d3dd26c573ad8371ab8b117890a9&stat=instructions:u

Alive2 Proof: https://alive2.llvm.org/ce/z/ZVFEox

PR: llvm/llvm-project#220990
Iasonaskrpr pushed a commit to Iasonaskrpr/llvm-project that referenced this pull request Sep 4, 2026
Use m_NSWAddLike instead of m_NSWAdd to also handle 'or disjoint' in
signed decomposition.

Leads to a number of additional folds end-to-end:
dtcxzyw/llvm-opt-benchmark-nightly#1188

Compile-time impact is in the noise in almost all cases except lencod
with ThinLTO. On current main, compile-time for the workload regresses
by ~3%, but almost all additional time is spent in SLP: after some
branches got removed and BBs got merged got bigger, and SLP compile-time
scales super-linearly in block size in some cases.

Together with llvm#220968 the
regression goes down to ~+1.18% on the workload. I have 2 more prototype
patches that reduce the overhead by another ~0.30%. I am not sure if the
compile-time issue should block the patch.


https://llvm-compile-time-tracker.com/compare.php?from=ffe87191eb7090340f12056455104145670ed7e8&to=c073db66b714d3dd26c573ad8371ab8b117890a9&stat=instructions:u

Alive2 Proof: https://alive2.llvm.org/ce/z/ZVFEox

PR: llvm#220990
addmisol pushed a commit to addmisol/llvm-project2 that referenced this pull request Sep 6, 2026
Use m_NSWAddLike instead of m_NSWAdd to also handle 'or disjoint' in
signed decomposition.

Leads to a number of additional folds end-to-end:
dtcxzyw/llvm-opt-benchmark-nightly#1188

Compile-time impact is in the noise in almost all cases except lencod
with ThinLTO. On current main, compile-time for the workload regresses
by ~3%, but almost all additional time is spent in SLP: after some
branches got removed and BBs got merged got bigger, and SLP compile-time
scales super-linearly in block size in some cases.

Together with llvm#220968 the
regression goes down to ~+1.18% on the workload. I have 2 more prototype
patches that reduce the overhead by another ~0.30%. I am not sure if the
compile-time issue should block the patch.


https://llvm-compile-time-tracker.com/compare.php?from=ffe87191eb7090340f12056455104145670ed7e8&to=c073db66b714d3dd26c573ad8371ab8b117890a9&stat=instructions:u

Alive2 Proof: https://alive2.llvm.org/ce/z/ZVFEox

PR: llvm#220990
vadimkotov pushed a commit to vadimkotov/llvm-project that referenced this pull request Sep 8, 2026
Use m_NSWAddLike instead of m_NSWAdd to also handle 'or disjoint' in
signed decomposition.

Leads to a number of additional folds end-to-end:
dtcxzyw/llvm-opt-benchmark-nightly#1188

Compile-time impact is in the noise in almost all cases except lencod
with ThinLTO. On current main, compile-time for the workload regresses
by ~3%, but almost all additional time is spent in SLP: after some
branches got removed and BBs got merged got bigger, and SLP compile-time
scales super-linearly in block size in some cases.

Together with llvm#220968 the
regression goes down to ~+1.18% on the workload. I have 2 more prototype
patches that reduce the overhead by another ~0.30%. I am not sure if the
compile-time issue should block the patch.


https://llvm-compile-time-tracker.com/compare.php?from=ffe87191eb7090340f12056455104145670ed7e8&to=c073db66b714d3dd26c573ad8371ab8b117890a9&stat=instructions:u

Alive2 Proof: https://alive2.llvm.org/ce/z/ZVFEox

PR: llvm#220990
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant