[all-commits] [llvm/llvm-project] 884e82: [AMDGPU] Don't assume non-erased DenseMap entries ...

Fangrui Song via All-commits all-commits at lists.llvm.org
Mon May 25 16:03:16 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 884e828617bf512a992723bd70dc108deb775753
      https://github.com/llvm/llvm-project/commit/884e828617bf512a992723bd70dc108deb775753
  Author: Fangrui Song <i at maskray.me>
  Date:   2026-05-25 (Mon, 25 May 2026)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPUInsertDelayAlu.cpp
    M llvm/lib/Target/AMDGPU/AMDGPULowerExecSync.cpp
    M llvm/lib/Target/AMDGPU/SIInsertWaitcnts.cpp
    M llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.cpp

  Log Message:
  -----------
  [AMDGPU] Don't assume non-erased DenseMap entries remain valid after erase. NFC (#199578)

In preparation for DenseMap change that relocates surviving entries on
erase, replace erase-while-iterating with remove_if.



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