OSDN Git Service

Don't remove aggregate-typed module level constants before encoding functions
authorNick Lewycky <nicholas@mxc.ca>
Fri, 12 Jun 2009 05:20:12 +0000 (05:20 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Fri, 12 Jun 2009 05:20:12 +0000 (05:20 +0000)
commitf7e498138f2f15b9391274d0c062fa62ab2e86fc
tree01170237089d700844b43d2d695218602b262ca6
parent084f7bf8a741fdeb97bf7f2a1befd11758f504e7
Don't remove aggregate-typed module level constants before encoding functions
since functions may contain aggregate constants too.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73220 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Bitcode/Writer/BitcodeWriter.cpp
lib/Bitcode/Writer/ValueEnumerator.cpp
lib/Bitcode/Writer/ValueEnumerator.h
test/Bitcode/2009-06-11-FirstClassAggregateConstant.ll [new file with mode: 0644]