Reapply "UseListOrder: Order GlobalValue uses after initializers"
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>
Wed, 30 Jul 2014 01:22:16 +0000 (01:22 +0000)
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>
Wed, 30 Jul 2014 01:22:16 +0000 (01:22 +0000)
commitcd29d802047b018f77ebbd0cdadfa41911036cdf
tree4f0967edb5ad2607801dec269fe12e248fc7bef7
parentc128f3b34ceac52bd3b0e2473dbb2b27a0091fbf
Reapply "UseListOrder: Order GlobalValue uses after initializers"

This reverts commit r214249, reapplying r214242 and r214243, now that
r214270 has fixed the UB.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@214271 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Bitcode/Writer/ValueEnumerator.cpp
test/Bitcode/local-linkage-default-visibility.3.4.ll
test/Bitcode/old-aliases.ll
test/Bitcode/use-list-order.ll