[all-commits] [llvm/llvm-project] 05f1e3: [MemorySSAUpdater] Fix iterator invalidation bug i...

Yingwei Zheng via All-commits all-commits at lists.llvm.org
Sat May 10 06:48:47 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 05f1e313948768fdd8527969cd79809cbd0654ff
      https://github.com/llvm/llvm-project/commit/05f1e313948768fdd8527969cd79809cbd0654ff
  Author: Yingwei Zheng <dtcxzyw2333 at gmail.com>
  Date:   2025-05-10 (Sat, 10 May 2025)

  Changed paths:
    M llvm/lib/Analysis/MemorySSAUpdater.cpp
    A llvm/test/Analysis/MemorySSA/pr139103.ll

  Log Message:
  -----------
  [MemorySSAUpdater] Fix iterator invalidation bug in `applyInsertUpdates` (#139370)

This patch defers resetting optimized accesses until all uses are
replaced, to avoid invalidating the iterator.

Closes https://github.com/llvm/llvm-project/issues/139103.
Closes https://github.com/llvm/llvm-project/issues/139289.
Closes https://github.com/llvm/llvm-project/issues/139308.



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