[all-commits] [llvm/llvm-project] fe42e6: [mlir][NFC] Refactor `eraseState` to take constant...

Ian Wood via All-commits all-commits at lists.llvm.org
Mon Jan 6 10:05:36 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fe42e63d7b1bfb356a5209d3ced846695823b623
      https://github.com/llvm/llvm-project/commit/fe42e63d7b1bfb356a5209d3ced846695823b623
  Author: Ian Wood <ianwood2024 at u.northwestern.edu>
  Date:   2025-01-06 (Mon, 06 Jan 2025)

  Changed paths:
    M mlir/include/mlir/Analysis/DataFlowFramework.h

  Log Message:
  -----------
  [mlir][NFC] Refactor `eraseState` to take constant time (#121670)

Refactors `analysisStates` to use two nested maps . This prevents
`eraseState` from having to scan through every analysis state which can
be costly when there are many analysis states and/or `eraseState` is
called frequently.

Signed-off-by: Ian Wood <ianwood2024 at u.northwestern.edu>



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