IR: Reorder metadata bitcode serialization, NFC
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>
Tue, 21 Oct 2014 22:27:47 +0000 (22:27 +0000)
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>
Tue, 21 Oct 2014 22:27:47 +0000 (22:27 +0000)
commit44e5b4e533a92ff44ae57cf0129398b162e82bf6
tree33ade395ec4e31d5331098c3b6211c52de4b1145
parent2174a9dc285a2f8d2a2041148ba39034647e42bd
IR: Reorder metadata bitcode serialization, NFC

Enumerate `MDNode`'s operands *before* the node itself, so that the
reader requires less RAUW.  Although this will cause different code
paths to be hit in the reader, this should effectively be no
functionality change.

llvm-svn: 220340
llvm/lib/Bitcode/Writer/ValueEnumerator.cpp