]> granicus.if.org Git - llvm/commit
IR: Optimize size of use-list order shuffle vectors
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>
Mon, 28 Jul 2014 22:41:50 +0000 (22:41 +0000)
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>
Mon, 28 Jul 2014 22:41:50 +0000 (22:41 +0000)
commitf575ec435eba0a92d4ef748e4b4e8a71aa9a05c4
treebe3221e031dabbe261f0b44b325dc5fab63a6088
parent807538b567af91393264a425ed985b57bd908e71
IR: Optimize size of use-list order shuffle vectors

Since we're storing lots of these, save two-pointers per vector with a
custom type rather than using the relatively heavy `SmallVector`.

Part of PR5680.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@214135 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/IR/UseListOrder.h
lib/Bitcode/Writer/ValueEnumerator.cpp