[llvm-commits] [llvm] r169433 - in /llvm/trunk: include/llvm/MC/MCAssembler.h lib/MC/MCAssembler.cpp

Sean Silva silvas at purdue.edu
Wed Dec 5 14:18:49 PST 2012


On Wed, Dec 5, 2012 at 5:11 PM, Eli Bendersky <eliben at google.com> wrote:
> This is more consistent with other vectors in this code. In addition, I ran some
> tests compiling a large program and >96% of fragments have 4 or less fixups, so
> SmallVector<4> is a good optimization.

Imagine a world where you could just hover over any SmallVector and
instantly see a histogram of the maximum sizes it achieves during its
lifetime (compiling, say, the whole test-suite, or a self-host)... I
want that...

Even better, an automated tool that highlights SmallVector's which
regularly overflow or underuse their small storage and should have
their size bumped up or down.

-- Sean Silva



More information about the llvm-commits mailing list