[all-commits] [llvm/llvm-project] 34e7ec: [IR] Avoid caching a DenseMap reference across era...

Fangrui Song via All-commits all-commits at lists.llvm.org
Thu May 28 07:06:32 PDT 2026


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

  Changed paths:
    M llvm/lib/IR/Constants.cpp

  Log Message:
  -----------
  [IR] Avoid caching a DenseMap reference across erase in handleOperandChangeImpl. NFC (#200179)

They bind a reference into the map and write through it after erasing
the old entry. This will not hold for backward-shift deletion. Extracted
from #199615



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