Skip to content

Conversation

@zyw-bot
Copy link
Collaborator

@zyw-bot zyw-bot commented Jun 21, 2025

Link: llvm/llvm-project#143683
Requested by: @dtcxzyw

@github-actions github-actions bot mentioned this pull request Jun 21, 2025
@zyw-bot
Copy link
Collaborator Author

zyw-bot commented Jun 21, 2025

Diff mode

runner: ariselab-64c-docker
baseline: llvm/llvm-project@685af55
patch: llvm/llvm-project#143683
sha256: d4fd9990d798d13fd1470e2f46177a1fb4ddf0f54bf5e60ac4e47c061b6add13
commit: 0e55abb

36 files changed, 29853 insertions(+), 29978 deletions(-)

Improvements:
Regressions:
  licm.NumLoadStorePromoted 74377 -> 58493 -21.36%
  licm.NumLoadPromoted 90346 -> 77676 -14.02%
  correlated-value-propagation.NumOverflows 4788 -> 4153 -13.26%
  correlated-value-propagation.NumSubNUW 39292 -> 34490 -12.22%
  correlated-value-propagation.NumUDivURemsNarrowedExpanded 2828 -> 2537 -10.29%
  instcombine.NumConstProp 164735 -> 150768 -8.48%
  licm.NumPromotionCandidates 645814 -> 593428 -8.11%
  sroa.NumVectorized 773145 -> 713935 -7.66%
  licm.NumGEPsHoisted 61466 -> 56829 -7.54%
  correlated-value-propagation.NumCmps 300428 -> 279011 -7.13%

linux/mincore.ll fail
mini-lsm-rs/2y1m09w3fogtr6jd.ll fail
mini-lsm-rs/1mavrvqu7b39yar1.ll fail
influxdb-rs/2du585cd6kvsz0m5.ll fail
influxdb-rs/54bldmpi534adbqh.ll fail
influxdb-rs/17ptp6pnu4b90vr6.ll fail
ruff-rs/1oka5axcnc1vcyczfoymwyrk1.ll fail
ruff-rs/7sbdq1wqavkq74dlo5n4u8b54.ll fail
ruff-rs/9ezhgv3vaoku7b96fwwr4f701.ll fail
ruff-rs/6yoyog5nt9evbb9k1v6uf4zpx.ll fail
ruff-rs/dv3u0zj1g96ml2orvqzylystz.ll fail
ruff-rs/76riqt46vtynf4kgizavl3q88.ll fail
ruff-rs/b6a0gsusw098c6f00h1z8gxze.ll fail
ruff-rs/34pgs9g7k8h7dm7ipa1o7804a.ll fail
ruff-rs/2nx4bam2tnyf8z1xa2z0bf808.ll fail
ruff-rs/3v5gwopcae4wnjnma7dx3269n.ll fail
ruff-rs/59f3mq1uk4v8cn3rxdu41fqa9.ll fail
ruff-rs/0a4u8ohp389y7k47sc6dy727s.ll fail
ruff-rs/9nvvpt1ezz0xq4qxcl2hj9bws.ll fail
ruff-rs/evms2p4umzg02qbcch4ghcur3.ll fail
zed-rs/er5bx212oa06ay0po6fyxrl51.ll fail
zed-rs/7dk7owzcyl7erod9ao7xbfp5l.ll fail
zed-rs/dv0qpczkxuoan1ikq8f0sxhoh.ll fail
zed-rs/5hqq1brsxvx8y8a0yqev7zrnd.ll fail
zed-rs/f2on42re1vwqfvihm5s1p3ljw.ll fail
zed-rs/0nwivtw0lug3nh002ufjq6dhh.ll fail
zed-rs/0wjif0du0ry5xj140bn8jrpv8.ll fail
zed-rs/9dr2kwkk18o137jk0clql0t7q.ll fail
zed-rs/56i9d5rrx6hrud8ee30t4acpd.ll fail
zed-rs/10zh1v68f2nhlerzsork25it5.ll fail
zed-rs/4yr6g2ok92pf18o3rcyc7uswo.ll fail
zed-rs/b3fsiuvawj3jj0fngz22afvrc.ll fail
zed-rs/43g83plj67uz6i3ger74cqqgy.ll fail
zed-rs/9s2tp30uc6oo3o3yduu35h8vb.ll fail
zed-rs/b483winaoz4x1qpsevy13hjmw.ll fail
zed-rs/6pd29z3xipq4pnz6alx1b4eai.ll fail
zed-rs/3hsn9nyfo1lk9hjlnx6o7tl2d.ll fail
zed-rs/8v0fi0zpujn3n5viw54gladc4.ll fail
zed-rs/4wlt97p2na7yq96c9gq3wlrfc.ll fail
zed-rs/06rtve3sizrg126ldkmgb72ea.ll fail
zed-rs/8pzylepo63jgxs9pcfvvb1oj4.ll fail
zed-rs/8xt07qbd2rpea3wzwrnuigpes.ll fail
zed-rs/39agu11sr34f1pihhhnx3cpe2.ll fail
zed-rs/8et4dphxwbm7ry4e21dik6h9d.ll fail
zed-rs/di66y7a5lci7qvst4agi7dhs8.ll fail
zed-rs/70wtzbe6p4cdtwir64ar0nhnk.ll fail
zed-rs/cq7p6jf0dw84580nbcct1r72y.ll fail
zed-rs/7v472zdqnk6m560xtqo5n2d2r.ll fail
zed-rs/0rqg5297g65vn49dzlpohuf0p.ll fail
zed-rs/dmcqbe6j63a9qitde8yy1dhcx.ll fail
zed-rs/a4buboiab83euvc0mbk1g3i5t.ll fail
zed-rs/65od2e11tbtl7gt1ig9f3i8el.ll fail
zed-rs/41d5pgr2utcn1cqybf1gnv3ya.ll fail
zed-rs/6vfs8ti0m45cvpqthx5jydp5p.ll fail
zed-rs/e9u0g76149goadwq8dnm2s4hy.ll fail
zed-rs/45v4v4p1wors7u31ijffun2u0.ll fail
zed-rs/2jcakdf65g6ofzlv4sxvfz01e.ll fail
zed-rs/40uv8e2se7lrb6jj056xzrdug.ll fail
zed-rs/5dm7ofzf1e4v8vd2k597txwqa.ll fail
zed-rs/6pnl53dvchkj2615muwn1tztk.ll fail
zed-rs/cdqqujb9w060rbw90db5qizgi.ll fail
zed-rs/dyu8ahcv7l11k0z44ye6uqxem.ll fail
zed-rs/a8jdixv6mu99htoibqz10zfto.ll fail
zed-rs/b8xkvrb4shexown6t10tlhuh9.ll fail
zed-rs/b9t1gynydq0pa8qhy2csz043m.ll fail
zed-rs/3syn8d61makvd8ra76uhpcrmo.ll fail
zed-rs/f34ji21oay71m9pwftbcdstvm.ll fail
zed-rs/cbqkad0b2nxxysxzdk8rkpos2.ll fail
zed-rs/5mqaql67fk8cb5w1h1xcbyeu9.ll fail
zed-rs/2gu8aea2dmgqxbormk5tspsrx.ll fail
zed-rs/20fr88unk1byt75zzz5ooa6xr.ll fail
zed-rs/9by7xbrgipxjyx0u6qobo1s7j.ll fail
zed-rs/4dosr1o8lu0ztcoospq0oxi0c.ll fail
zed-rs/d0jkoh70hoa8mo1xffc75hpoi.ll fail
zed-rs/cd51tp3f9xzjf7uqmsq5af267.ll fail
zed-rs/9hlwt18nr4jd7z0ubrvgn7np1.ll fail
zed-rs/cci2iopocugemgw5wpg0u7nz3.ll fail
zed-rs/cssy68u8huf5o5fq5kpygh2a8.ll fail
zed-rs/esas3ubizu9r0ao68kvh5d7vx.ll fail
zed-rs/8ittejm142jp6pw24sbau2b8f.ll fail
zed-rs/8kgq4ra7kc2kfx3e13zx5xumd.ll fail
zed-rs/4fjzcqwe72s61qqj6jfld7d0e.ll fail
zed-rs/but0lbc6tfwky26d8hpjq6ud8.ll fail
zed-rs/eabk1i73d9nic55wlyvjkefow.ll fail
zed-rs/3mlvu1hzbi0yx2i15kirdr9m0.ll fail
zed-rs/4gafs7cnqueum1wf7b8eca1yl.ll fail
zed-rs/6dpdeoevshjmotiif23bteoz7.ll fail
zed-rs/asgo9pe6dwkxuaeqdvmvl8bpd.ll fail
zed-rs/2gkjh80bnq0s3nveklufvkafu.ll fail
zed-rs/b7n4ebe7bkw4hnagh8ndf0qla.ll fail
zed-rs/05btlo7ldoepff8rc85nwkmca.ll fail
zed-rs/8zogyz7vs6pnjn0mpvvdxdnfr.ll fail
zed-rs/7dlcu72xy2qwyr8vttt104wn3.ll fail
zed-rs/5t11v1wc3a9lo225k1xr00pdg.ll fail
zed-rs/625obb40odxdaxzkpvxlwwadb.ll fail
zed-rs/9kjcdkl0h4le3fai44smqnljl.ll fail
zed-rs/84i9jtf3ksrb37ur8uqpg2f86.ll fail
zed-rs/d7h2r6mystjn2jzwcl5ofeoiz.ll fail
zed-rs/abtvulclots5u0wyf3l8ipflx.ll fail
zed-rs/axq0fnk57nrkchega3zj2zynp.ll fail

9 5 bench/cmake/optimized/zstd_ldm.ll
6 10 bench/duckdb/optimized/bignum.ll
7 6 bench/duckdb/optimized/ub_duckdb_storage_compression_roaring.ll
57 65 bench/graphviz/optimized/comp.ll
48 56 bench/graphviz/optimized/neatoinit.ll
48 56 bench/graphviz/optimized/spring_electrical.ll
22 23 bench/hyperscan/optimized/dfa_min.ll
4 4 bench/hyperscan/optimized/mcclellancompile.ll
6 7 bench/hyperscan/optimized/ng_mcclellan.ll
7 7 bench/hyperscan/optimized/ng_misc_opt.ll
32 42 bench/influxdb-rs/optimized/1qfvsl8a7jfomqbf.ll
1 1 bench/lief/optimized/bignum_core.ll
127 145 bench/miniaudio/optimized/unity.ll
4 3 bench/pola-rs/optimized/1rsrmy2r4dk76n6ayk75n7qe2.ll
3 2 bench/pola-rs/optimized/byas2yzy27h8nly1lm4ekoo5u.ll
172 190 bench/raylib/optimized/raudio.ll
24 16 bench/wireshark/optimized/packet-bmc.ll
27 24 bench/wolfssl/optimized/random.ll
5 5 bench/yalantinglibs/optimized/channel.ll

@github-actions
Copy link
Contributor

Here is a high-level summary of the most significant changes in the provided LLVM IR diffs:

  1. Introduction and Use of @llvm.umax.i64 and @llvm.umax.i32:
    Several functions now utilize the @llvm.umax.* intrinsic to compute the maximum of two values, replacing previous logic that used shifts and adds or conditional checks to avoid division by zero or unnecessary allocations. This improves clarity and potentially performance by using a well-defined intrinsic instead of manual computation.

  2. Simplification of Allocation Logic:
    Functions like ZSTD_ldm_generateSequences, beautify_leaves, and others have simplified allocation paths. The checks for zero-sized allocations are now more direct, often using icmp eq i64 %value, 0 directly instead of derived conditions. This reduces complexity and makes the code easier to analyze and optimize further.

  3. Improved PHI Node Management in Loops:
    Multiple functions show cleaner PHI node usage in loop constructs (e.g., .lr.ph, .preheader, etc.). Some redundant PHIs were removed or reordered, aligning with better control flow structure and improving readability without changing functionality.

  4. Pointer Comparison and Bounds Checking Optimizations:
    In several places (e.g., mbedtls_mpi_read_binary, findCComp), pointer arithmetic and bounds checking logic was streamlined. Redundant comparisons were eliminated, and some pointer calculations were reordered for better execution flow and safety.

  5. Cleanup of Dead Code and Unused Labels:
    Numerous unused labels and unreachable blocks were removed across multiple files (e.g., .thread.i.i, .noexc*, and other dead-end branches). This includes simplifying error handling and panic paths by pruning unnecessary intermediate blocks.

These changes overall reflect a pattern of cleaning up and optimizing memory allocation, pointer handling, and loop structures while leveraging LLVM intrinsics for clearer and safer code.

model: qwen-plus-latest
CompletionUsage(completion_tokens=399, prompt_tokens=62026, total_tokens=62425, completion_tokens_details=None, prompt_tokens_details=None)

@dtcxzyw dtcxzyw closed this Jun 21, 2025
@dtcxzyw dtcxzyw deleted the test-run15793956781 branch July 10, 2025 10:39
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.

2 participants