the type field for a store is the type of the pointer, not the value.
authorChris Lattner <sabre@nondot.org>
Thu, 3 May 2007 22:21:59 +0000 (22:21 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 3 May 2007 22:21:59 +0000 (22:21 +0000)
commitc9c55a9d2fc63ee87cf00e80736f6508507f2444
tree0826e5f49e59bab40a050589b0ae410c445dc47b
parent38b12ce1864a49e1c00b2d9fb5da83c69f77fcec
the type field for a store is the type of the pointer, not the value.

With this fix I can round trip treeaadd, only losing calling conv info.

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