diff options
author | Kazu Hirata <kazu@google.com> | 2025-08-21 15:03:08 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-08-21 15:03:08 -0700 |
commit | f5f6613af66f678404034f50661ffa12a4f3b25c (patch) | |
tree | 3988dcb7ff561d40c026fc257381a87670f170c4 /llvm/lib/Target/ARM/Disassembler/ARMDisassembler.cpp | |
parent | e45210afe24470d9e6f2858dc67db5c4afb16806 (diff) | |
download | llvm-f5f6613af66f678404034f50661ffa12a4f3b25c.zip llvm-f5f6613af66f678404034f50661ffa12a4f3b25c.tar.gz llvm-f5f6613af66f678404034f50661ffa12a4f3b25c.tar.bz2 |
[Scalar] Use SmallSetVector instead of SmallVector (NFC) (#154678)
insertParsePoints collects live variables and then deduplicate them
while retaining the original insertion order, which is exactly what
SetVector is designed for. This patch replaces SmallVector with
SetSmallVector while deleting unique_unsorted.
While we are at it, this patch reduces the number of inline elements
to a reasonable level for linear search.
Diffstat (limited to 'llvm/lib/Target/ARM/Disassembler/ARMDisassembler.cpp')
0 files changed, 0 insertions, 0 deletions