Skip to content

pre-commit: PR131889 #2216

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

pre-commit: PR131889 #2216

wants to merge 3 commits into from

Conversation

dtcxzyw
Copy link
Owner

@dtcxzyw dtcxzyw commented Mar 19, 2025

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

@github-actions github-actions bot mentioned this pull request Mar 19, 2025
@dtcxzyw
Copy link
Owner Author

dtcxzyw commented Mar 19, 2025

Diff mode

runner: ariselab-64c-v2
baseline: llvm/llvm-project@5728813
patch: llvm/llvm-project#131889
sha256: 947cace9d83ca85d085cb8657fee9002a4e191b070ffd4a3a7d5bc4a2bbec67c
commit: 6e6c7b0

15737 files changed, 47755114 insertions(+), 71100527 deletions(-)

Improvements:
Regressions:

6 7 bench/abc/optimized/msatMem.ll
2 15 bench/abseil-cpp/optimized/clock_test.ll
1 6 bench/actix-rs/optimized/17u9ijoz8shmpsbe.ll
10 8 bench/anki-rs/optimized/22lei7qbgq6q4wqu.ll
6 8 bench/anki-rs/optimized/2lb7ct7ebbwm4pw.ll
2 14 bench/arrow/optimized/value_parsing.ll
2 18 bench/assimp/optimized/ConvertToLHProcess.ll
7 15 bench/assimp/optimized/o3dgcArithmeticCodec.ll
2 12 bench/base64-rs/optimized/3c0hk3pl6t4wwl8d.ll
15 9 bench/boost/optimized/formatters_cache.ll
6 25 bench/box2d/optimized/null_window.ll
6 16 bench/box2d/optimized/shape.ll
16 13 bench/c3c/optimized/bigint.ll
18 54 bench/c3c/optimized/sema_casts.ll
3 25 bench/casadi/optimized/casadi_cli.ll
7 8 bench/casadi/optimized/casadi_find.ll
7 21 bench/casadi/optimized/casadi_low.ll
13 8 bench/ceres/optimized/block_random_access_dense_matrix.ll
7 13 bench/clamav/optimized/errhnd.ll
5 15 bench/clamav/optimized/hwp.ll
2 5 bench/cpython/optimized/sha2module.ll
24 27 bench/csmith/optimized/DepthSpec.ll
3 4 bench/curl/optimized/cleartext.ll
12 16 bench/cvc5/optimized/bitvector.ll
6 19 bench/cvc5/optimized/smt_driver.ll
8 12 bench/darktable/optimized/format.ll
4 19 bench/delta-rs/optimized/3bv5rl75uv4c4xmu.ll
24 26 bench/double_conversion/optimized/string-to-double.ll
13 16 bench/eastl/optimized/eathread.ll
10 11 bench/egg-rs/optimized/1084n0xoz1oo4j9l.ll
10 6 bench/egg-rs/optimized/oegfwufxyvm4x2w.ll
17 11 bench/entt/optimized/resource_loader.ll
1 27 bench/faiss/optimized/IndexBinaryHNSW.ll
1 14 bench/faiss/optimized/IndexFlat.ll
18 95 bench/flac/optimized/memory.ll
33 22 bench/fmt/optimized/assert-test.ll
1 22 bench/folly/optimized/SignalHandler.ll
6 23 bench/freetype/optimized/ftbase.ll
6 13 bench/freetype/optimized/ftbitmap.ll
11 20 bench/freetype/optimized/ftgxval.ll
6 9 bench/git/optimized/diff-merges.ll
25 51 bench/glog/optimized/cleanup_immediately_unittest.ll
18 28 bench/glslang/optimized/RemoveTree.ll
34 22 bench/glslang/optimized/intermOut.ll
1 7 bench/graphviz/optimized/generate-constraints.ll
1 11 bench/gromacs/optimized/electricfield.ll
6 18 bench/hdf5/optimized/H5Sall.ll
1 8 bench/hermes/optimized/StorageProvider.ll
12 15 bench/hwloc/optimized/bind.ll
14 93 bench/hyper-rs/optimized/5drhzjx8c241ue20.ll
7 18 bench/hyperscan/optimized/AsciiComponentClass.ll
6 11 bench/hyperscan/optimized/gough.ll
5 16 bench/icu/optimized/smpdtfst.ll
7 105 bench/imgui/optimized/imgui_draw.ll
7 22 bench/ipopt/optimized/IpZeroMatrix.ll
1 30 bench/jemalloc/optimized/peak_event.ll
6 34 bench/jq/optimized/regenc.ll
12 14 bench/jq/optimized/regexec.ll
2 41 bench/jq/optimized/regparse.ll
7 19 bench/jsonnet/optimized/md5.ll
30 77 bench/libjpeg-turbo/optimized/turbojpeg.ll
34 23 bench/libphonenumber/optimized/generate_geocoding_data_test.ll
6 17 bench/libsodium/optimized/randombytes.ll
6 22 bench/libsodium/optimized/scrypt_platform.ll
6 49 bench/libuv/optimized/getaddrinfo.ll
6 14 bench/libuv/optimized/thread.ll
6 32 bench/libwebp/optimized/picture_csp_enc.ll
7 24 bench/libzmq/optimized/decoder_allocators.ll
5 49 bench/lightgbm/optimized/gbdt.ll
9 22 bench/lightgbm/optimized/gradient_discretizer.ll
17 19 bench/lightgbm/optimized/network.ll
6 29 bench/llama.cpp/optimized/ggml-quants.ll
10 24 bench/llama.cpp/optimized/llama-chat.ll
5 7 bench/logos-rs/optimized/45raaws7y11j07rb.ll
12 13 bench/luajit/optimized/lib_math.ll
2 7 bench/meilisearch-rs/optimized/564p8f6yhi59w8h9.ll
4 18 bench/memcached/optimized/util.ll
6 15 bench/meshlab/optimized/Scanner.ll
7 20 bench/meshlab/optimized/xmldocumentmanaging.ll
22 30 bench/mini-lsm-rs/optimized/2r9gly04tqoqnem4.ll
10 47 bench/mini-lsm-rs/optimized/pew1bqmcl3zb6gg.ll
3 13 bench/mitsuba3/optimized/qmc.ll
5 19 bench/mold/optimized/filetype.cc.X86_64.ll
18 12 bench/mold/optimized/thread_dispatcher.ll
36 42 bench/ms-gsl/optimized/algorithm_tests.ll
10 34 bench/ms-gsl/optimized/pointers_tests.ll
23 72 bench/msgpack/optimized/enum.ll
15 18 bench/nanobind/optimized/nb_internals.ll
18 22 bench/nanobind/optimized/test_exception.ll
3 57 bench/ncnn/optimized/detectionoutput.ll
17 12 bench/ncnn/optimized/ncnnoptimize.ll
18 33 bench/nghttp2/optimized/nghttp2_frame.ll
6 20 bench/nghttp2/optimized/nghttp2_submit.ll
3 55 bench/ninja/optimized/state.ll
4 50 bench/nix/optimized/keys.ll
34 26 bench/nlohmann_json/optimized/unit-convenience.ll
40 32 bench/nom-rs/optimized/4g95yf0nknmrxmxq.ll
3 28 bench/nori/optimized/imageview.ll
12 40 bench/nori/optimized/widget.ll
18 46 bench/nuttx/optimized/fs_chstat.ll
22 36 bench/oiio/optimized/farmhash.ll
3 62 bench/opencc/optimized/ConversionChain.ll
7 9 bench/openspiel/optimized/TimeStat.ll
7 11 bench/openusd/optimized/node.ll
1 9 bench/openusd/optimized/testWorkReduce.ll
17 16 bench/openvdb/optimized/Compression.ll
24 85 bench/osqp/optimized/vector.ll
3 35 bench/ozz-animation/optimized/import2ozz_anim.ll
10 25 bench/ozz-animation/optimized/raw_animation_utils.ll
75 42 bench/pbrt-v4/optimized/math.ll
5 24 bench/php/optimized/zend_jit.ll
28 50 bench/portaudio/optimized/pa_converters.ll
6 37 bench/portaudio/optimized/pa_sndio.ll
10 7 bench/proj/optimized/geocent.ll
4 30 bench/proj/optimized/proj_errno_string_test.ll
8 9 bench/protobuf/optimized/code_generator.ll
51 34 bench/proxy/optimized/proxy_integration_tests.ll
3 27 bench/proxygen/optimized/HTTPDefaultSessionCodecFactory.ll
3 37 bench/proxygen/optimized/ResourceStats.ll
6 39 bench/qemu/optimized/job.ll
6 10 bench/qemu/optimized/virtio.ll
6 101 bench/quickjs/optimized/libbf.ll
12 62 bench/raylib/optimized/rshapes.ll
4 36 bench/re2/optimized/nfa.ll
7 39 bench/re2/optimized/prog.ll
6 28 bench/redis/optimized/sds.ll
12 30 bench/regex-rs/optimized/244spg1j3kwmcjv5.ll
5 30 bench/regex-rs/optimized/33whcn8n29l9c6ys.ll
3 18 bench/ring-rs/optimized/2r3wc2wo4j1ozk7e.ll
1 15 bench/rocksdb/optimized/hash_linklist_rep.ll
9 15 bench/rocksdb/optimized/sharded_cache.ll
7 32 bench/sentencepiece/optimized/bpe_model_trainer.ll
28 83 bench/serde-rs-json/optimized/36shr7j8gl5gy6fn.ll
1 36 bench/smol-rs/optimized/2itwlwnaucg2cdit.ll
15 16 bench/snappy/optimized/snappy-sinksource.ll
7 10 bench/soc-simulator/optimized/Vmycpu_top.ll
12 34 bench/softposit-rs/optimized/3yl6353p3hwrtv6y.ll
6 35 bench/softposit-rs/optimized/kf9u47qfx5x7qom.ll
1 12 bench/spike/optimized/htif.ll
26 39 bench/sqlite/optimized/shell.ll
6 31 bench/stat-rs/optimized/350eqnsjcoc7kbdy.ll
12 22 bench/stat-rs/optimized/4bf6omib3d9godoe.ll
6 12 bench/stb/optimized/stb_herringbone_wang_tile.ll
12 28 bench/stb/optimized/stb_truetype.ll
17 20 bench/stockfish/optimized/evaluate_nnue.ll
4 83 bench/stockfish/optimized/ucioption.ll
20 35 bench/syn/optimized/59s55fjcmu2d325w.ll
4 14 bench/tev/optimized/ImageLoader.ll
11 38 bench/tokio-rs/optimized/3nmgzybx6iv04snk.ll
6 24 bench/tokio-rs/optimized/qqq7nw5h0oohsoh.ll
1 21 bench/vcpkg/optimized/message_sinks.ll
1 20 bench/velox/optimized/LzoDecompressor.ll
15 10 bench/verilator/optimized/V3EmitCInlines.ll
5 8 bench/wireshark/optimized/extcap_parser.ll
6 27 bench/wolfssl/optimized/internal.ll
5 28 bench/yalantinglibs/optimized/StringFieldGenerator.ll
33 21 bench/yaml-cpp/optimized/nodebuilder.ll
14 39 bench/yaml-cpp/optimized/nodeevents.ll
15 22 bench/yosys/optimized/verilog_lexer.ll
2 40 bench/zlib/optimized/adler32.ll
6 55 bench/zlib/optimized/gzread.ll
12 17 bench/zstd/optimized/entropy_common.ll
6 40 bench/zstd/optimized/zstd_decompress_block.ll
24 34 bench/zstd/optimized/zstd_v06.ll

Copy link
Contributor

Here's a summary of the major changes in the LLVM IR diffs:

  1. Function Replacements and Deletions:

    • Several functions have been replaced or deleted, such as @_ZNK6casadi4Find8generateERNS_13CodeGeneratorERKSt6vectorIxSaIxEES7_RKS3_IbSaIbEERS9_ being replaced by a call to another function (@_ZNK6casadi4Find4dispERKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS7_EE), indicating potential refactoring or simplification.
    • Functions like @Msat_MmFlexReadMemUsage, @cast_vecarr_to_infer, and @FLAC__memory_alloc_aligned_uint32_array were removed or redefined to delegate their functionality to other existing functions.
  2. Virtual Table Modifications:

    • Virtual tables (e.g., @_ZTVN6Assimp21MakeLeftHandedProcessE, @_ZTVN6casadi3LowE) have been updated with new entries or reordered, suggesting changes in class hierarchies or method implementations.
    • For example, @_ZTVN6Assimp21MakeLeftHandedProcessE now points to @_ZN6Assimp14FlipUVsProcessD0Ev instead of its own destructor.
  3. Memory Management Simplifications:

    • Memory management functions (e.g., @_ZdlPvm, @_ZdaPv) have been simplified or replaced with calls to other memory management routines, reducing redundancy.
    • Functions like @_ZN5faiss12_GLOBAL__N_19FlatL2Dis9set_queryEPKf were removed, and their functionality is now handled by delegating to other functions.
  4. Alias and Comdat Adjustments:

    • Aliases and comdat definitions have been adjusted or removed, reflecting changes in how certain symbols are managed or resolved.
    • For instance, @_ZN12ErrorHandlerC1Ev was changed from aliasing @_ZN12ErrorHandlerC2Ev to aliasing @_ZN12ErrorHandler5CleanEv.
  5. Inlining and Tail Calls:

    • Many functions now use tail calls to delegate their functionality to other functions, which can improve performance by reducing stack usage.
    • Examples include @_ZNK6casadi4Find10sp_reverseEPPyS2_PxS1_ calling @_ZNK6casadi4Find10sp_forwardEPPKyPPyPxS4_, and similar patterns in other files.

These changes collectively suggest optimizations aimed at reducing code size, improving maintainability, and enhancing performance through inlining and simplifying memory management. The updates to virtual tables indicate potential changes in class inheritance or method implementations, while the removal of redundant functions and aliases streamline the overall structure of the code.

model: qwen-plus-latest
CompletionUsage(completion_tokens=646, prompt_tokens=97756, total_tokens=98402, completion_tokens_details=None, prompt_tokens_details=None)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant