[all-commits] [llvm/llvm-project] 6421dc: [NFC] [DSE] Refactor DSE (#100956)

Haopeng Liu via All-commits all-commits at lists.llvm.org
Thu Aug 29 11:29:10 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6421dcc0a978900091cc7aa8fa443746602cb442
      https://github.com/llvm/llvm-project/commit/6421dcc0a978900091cc7aa8fa443746602cb442
  Author: Haopeng Liu <153236845+haopliu at users.noreply.github.com>
  Date:   2024-08-29 (Thu, 29 Aug 2024)

  Changed paths:
    M llvm/lib/Transforms/Scalar/DeadStoreElimination.cpp

  Log Message:
  -----------
  [NFC] [DSE] Refactor DSE (#100956)

Refactor DSE with MemoryDefWrapper and MemoryLocationWrapper.

Normally, one MemoryDef accesses one MemoryLocation. With "initializes"
attribute, one MemoryDef (like call instruction) could initialize
multiple MemoryLocations.

Refactor DSE as a preparation to apply "initializes" attribute in DSE in
a follow-up PR
(https://github.com/llvm/llvm-project/commit/58dd8a440343055b1a4929d72317218e912c16fd).



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