diff options
author | Ian Wood <ianwood2024@u.northwestern.edu> | 2025-01-06 10:05:14 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-06 10:05:14 -0800 |
commit | fe42e63d7b1bfb356a5209d3ced846695823b623 (patch) | |
tree | 113a37e2e48a9e34681362a66036bbe03b4ce7b1 /clang/lib/CodeGen/CodeGenFunction.cpp | |
parent | d40235ac24175e20988cc879dc515638df0c28c6 (diff) | |
download | llvm-fe42e63d7b1bfb356a5209d3ced846695823b623.zip llvm-fe42e63d7b1bfb356a5209d3ced846695823b623.tar.gz llvm-fe42e63d7b1bfb356a5209d3ced846695823b623.tar.bz2 |
[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@u.northwestern.edu>
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions