Skip to content

Conversation

@zyw-bot
Copy link
Collaborator

@zyw-bot zyw-bot commented Jul 31, 2025

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

zyw-bot commented Jul 31, 2025

Diff mode

runner: ariselab-64c-docker
baseline: llvm/llvm-project@7f5655c
patch: llvm/llvm-project#149858
sha256: 325d2c7003308c1ab0efb3a63f3de2c58c2ff63b4b21f7083a796dfec1808137
commit: ec9b3b7

19 files changed, 2317 insertions(+), 2396 deletions(-)

Improvements:
  licm.NumMovedCalls 34906 -> 34933 +0.08%
  instcombine.NumConstProp 163822 -> 163845 +0.01%
  licm.NumSunk 280917 -> 280942 +0.01%
  gvn.NumGVNBlocks 198451 -> 198454 +0.00%
  simplifycfg.NumSinkCommonInstrs 836375 -> 836387 +0.00%
  simplifycfg.NumSpeculations 412722 -> 412726 +0.00%
  simplifycfg.NumSinkCommonCode 388960 -> 388963 +0.00%
  instcombine.NumSunkInst 3562659 -> 3562669 +0.00%
  simplifycfg.NumHoistCommonCode 854644 -> 854646 +0.00%
  globalopt.NumDeleted 1036383 -> 1036384 +0.00%
Regressions:
  instcombine.NumPHIsOfInsertValues 27153 -> 27147 -0.02%
  indvars.NumReplaced 72379 -> 72369 -0.01%
  loop-instsimplify.NumSimplified 182301 -> 182290 -0.01%
  bdce.NumRemoved 397402 -> 397391 -0.00%
  memory-builtins.ObjectVisitorLoad 2482106 -> 2482056 -0.00%
  loop-delete.NumDeleted 116192 -> 116190 -0.00%
  indvars.NumLFTR 332728 -> 332724 -0.00%
  sccp.NumInstRemoved 2082057 -> 2082039 -0.00%
  gvn.NumGVNSimpl 4741575 -> 4741540 -0.00%
  gvn.NumPRELoad 1009435 -> 1009429 -0.00%

1 1 bench/abc/optimized/acbFunc.ll
240 250 bench/abc/optimized/giaMinLut.ll
3 5 bench/abc/optimized/giaResub.ll
3 3 bench/abc/optimized/giaSimBase.ll
211 230 bench/box2d/optimized/imgui_draw.ll
14 14 bench/ffmpeg/optimized/elbg.ll
52 56 bench/hwloc/optimized/memattrs.ll
195 214 bench/imgui/optimized/imgui_draw.ll
130 130 bench/mitsuba3/optimized/x86rapass.ll
247 266 bench/nuklear/optimized/unity.ll
100 103 bench/php/optimized/pcre2_jit_compile.ll
13 16 bench/postgres/optimized/inherit.ll

@github-actions
Copy link
Contributor

Here is a summary of the major changes in the provided LLVM IR diff:

  1. Loop Control Flow and Structure Changes: Several functions, such as Gia_ManSimEvalMaxValue, stbrp_pack_rects, and Gia_RsbFindNodeToRemove, have undergone modifications in loop control flow. This includes reordering of loop headers, merging of preheaders, and restructuring of loop exits and critical edges to streamline execution paths.

  2. Phi Node and Variable Usage Updates: There are updates to phi nodes in multiple functions (e.g., Acb_FindArgMaxUnderMask.exit, Gia_RsbFindNodeToRemove.exit) involving changes in operand order and variable names. These changes reflect updates in control flow or optimization of value tracking across basic blocks.

  3. Memory Access and TBAA Metadata Adjustments: Numerous load and store instructions have updated TBAA (Type-Based Alias Analysis) metadata (e.g., changing !tbaa !93 to !tbaa !92). These updates align with changes in type hierarchies or metadata definitions, ensuring accurate alias analysis.

  4. Loop Metadata and Profiling Info Revisions: Loop metadata identifiers (e.g., !llvm.loop !89 changed to !llvm.loop !90) are updated across multiple loops, indicating changes in loop optimization attributes or profiling annotations, likely due to loop transformations or renumbering.

  5. Simplification of Conditional Logic and Branches: Functions like Gia_ManSimEvalOne3 and Gia_ManDoMuxMapping show simplifications in conditional branches and reduced use of intermediate blocks, suggesting improved control flow optimization and elimination of redundant checks.

These changes collectively reflect optimizations in loop handling, control flow simplification, and metadata consistency, likely resulting from compiler passes such as loop unrolling, simplification, and metadata realignment.

model: qwen-plus-latest
CompletionUsage(completion_tokens=392, prompt_tokens=115217, total_tokens=115609, completion_tokens_details=None, prompt_tokens_details=None)

@dtcxzyw dtcxzyw closed this Aug 2, 2025
@dtcxzyw dtcxzyw deleted the test-run16649723283 branch August 2, 2025 06:40
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.

3 participants