aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@sifive.com>2025-03-19 08:32:09 -0700
committerGitHub <noreply@github.com>2025-03-19 08:32:09 -0700
commitd7879e524fbbc4c2790dac62343444191f736f00 (patch)
treeeb7548922dc57c417d16149e3818b72b211aa9ba /llvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp
parentcc2a86ad35350f97b15bc7f8c71d1be7fe64bc16 (diff)
downloadllvm-d7879e524fbbc4c2790dac62343444191f736f00.zip
llvm-d7879e524fbbc4c2790dac62343444191f736f00.tar.gz
llvm-d7879e524fbbc4c2790dac62343444191f736f00.tar.bz2
[ARM] Use DenseSet instead of DenseMap. NFC (#131978)
The value in the map is set to "true" when something is added to the map. Techncally this: if (!DefRegs.contains(Reg)) will set the value in the map to false if it didn't already exist, and this is used to indicate the value wasn't in the map. This only occurs after all the "true" values have already been added to the map.
Diffstat (limited to 'llvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp')
0 files changed, 0 insertions, 0 deletions