Make the side-numbering of instructions used by metadata (which is needed to
commit0ed995e78e3053eb85c123e1b0f80389ddb584ca
authorNick Lewycky <nicholas@mxc.ca>
Thu, 25 Feb 2010 08:30:17 +0000 (25 08:30 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Thu, 25 Feb 2010 08:30:17 +0000 (25 08:30 +0000)
treec9118bf4a44833374e486895fbc55231de596ba4
parentcd632fb0570fd33ef3bff6d2b8c348de285d7d30
Make the side-numbering of instructions used by metadata (which is needed to
keep track of instructions that return void) per-function. This fixes PR5278.

This breaks backwards compatibility with the metadata format. That's okay
because we haven't released the metadata bitcode yet.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97132 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Bitcode/Reader/BitcodeReader.cpp
lib/Bitcode/Writer/ValueEnumerator.cpp