[all-commits] [llvm/llvm-project] 00d3b3: [AggressiveInstCombine] Implement store merge opti...

Nikita Popov via All-commits all-commits at lists.llvm.org
Mon Jul 21 01:03:47 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 00d3b39f1706154df9c2cf48dadb414d476075a3
      https://github.com/llvm/llvm-project/commit/00d3b39f1706154df9c2cf48dadb414d476075a3
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2025-07-21 (Mon, 21 Jul 2025)

  Changed paths:
    M llvm/lib/Transforms/AggressiveInstCombine/AggressiveInstCombine.cpp
    A llvm/test/Transforms/AggressiveInstCombine/X86/store-merge-be.ll
    A llvm/test/Transforms/AggressiveInstCombine/X86/store-merge.ll

  Log Message:
  -----------
  [AggressiveInstCombine] Implement store merge optimization (#147540)

Merge multiple small stores that were originally extracted from one
value into a single store.

This is the store equivalent of the load merge optimization that
AggressiveInstCombine already performs.

This implementation is something of an MVP, with various generalizations
possible.

Fixes https://github.com/llvm/llvm-project/issues/147456.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list