Skip to content
Commit 36647083 authored by Benjamin Kramer's avatar Benjamin Kramer
Browse files

Add a "seen blocks" cache to LVI to avoid a linear scan over the whole cache...

Add a "seen blocks" cache to LVI to avoid a linear scan over the whole cache just to remove no blocks from the maps.

-15% on ARMDisassembler.cpp (Release build).  It's not that great to add another
layer of caching to the caching-heavy LVI but I don't see a better way.

llvm-svn: 145770
parent df888642
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment