aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorAlexis Engelke <engelke@in.tum.de>2026-01-21 16:28:28 +0100
committerGitHub <noreply@github.com>2026-01-21 15:28:28 +0000
commit3b5910de4223f0efafabeb352956d6711fd84c59 (patch)
treec60756a78422323269c6128fa562e28bd48bf62d /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent3dda4b54634f1fef31d372c7a3a41438770e7c04 (diff)
downloadllvm-3b5910de4223f0efafabeb352956d6711fd84c59.zip
llvm-3b5910de4223f0efafabeb352956d6711fd84c59.tar.gz
llvm-3b5910de4223f0efafabeb352956d6711fd84c59.tar.bz2
[ADT][NFC] Use block numbers for po_iterator (#177182)
Avoid using hash maps for {Machine,}BasicBlock. Use SmallVector<bool> instead of BitVector for faster access, the memory cost should be neglibible compared to the size of basic blocks or a pointer set. The test change is required, because a nullptr BasicBlock cannot be asked for its number. With the current rather complicated design of po_iterator, reserving is not easily possible.
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions