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)
commit3cbca2055adb7f0ccedac3a01c5ca799c635a2bf
tree895ab03772e243acdb61fb84a1bd6f2eb5f5d516
parentba4576daeb43f40ad8f5821c87f65fcea6a0732b
Reapply "UseListOrder: Order GlobalValue uses after initializers"

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

llvm-svn: 214271
llvm/lib/Bitcode/Writer/ValueEnumerator.cpp
llvm/test/Bitcode/local-linkage-default-visibility.3.4.ll
llvm/test/Bitcode/old-aliases.ll
llvm/test/Bitcode/use-list-order.ll