[all-commits] [llvm/llvm-project] 10d720: [DeadStoreElimination] Add test for recent worklis...

Antonio Frighetto via All-commits all-commits at lists.llvm.org
Mon Jul 22 00:07:33 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 10d720b5b4383c9900caaed7edf38ae31e8b9ac4
      https://github.com/llvm/llvm-project/commit/10d720b5b4383c9900caaed7edf38ae31e8b9ac4
  Author: Antonio Frighetto <me at antoniofrighetto.com>
  Date:   2024-07-22 (Mon, 22 Jul 2024)

  Changed paths:
    M llvm/test/Transforms/DeadStoreElimination/memoryssa-scan-limit.ll

  Log Message:
  -----------
  [DeadStoreElimination] Add test for recent worklist revision (NFC)

As d5c89cc proved not to be NFC, prior to this change, duplicate
`MemoryAccess` entries were being added to the worklist in
`isWriteAtEndOfFunction`, prematurely reaching the exploration
limit. When `MemorySSAScanLimit` cutoff is set to 4, the store
was previously not eliminated. Introduce a regression test for
additional validation. The test is a simplified variant of function
`ntlmssp_create_session_key`, coming from @dtcxzyw/llvm-opt-benchmark,
bench/wireshark/original/packet-ntlmssp.c.ll.



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