aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp
diff options
context:
space:
mode:
authorKazu Hirata <kazu@google.com>2025-08-21 15:03:08 -0700
committerGitHub <noreply@github.com>2025-08-21 15:03:08 -0700
commitf5f6613af66f678404034f50661ffa12a4f3b25c (patch)
tree3988dcb7ff561d40c026fc257381a87670f170c4 /llvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp
parente45210afe24470d9e6f2858dc67db5c4afb16806 (diff)
downloadllvm-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/RISCV/Disassembler/RISCVDisassembler.cpp')
0 files changed, 0 insertions, 0 deletions