When rebuilding constant structs, make sure to honor the isPacked bit.
authorChris Lattner <sabre@nondot.org>
Mon, 4 Jun 2007 22:23:42 +0000 (22:23 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 4 Jun 2007 22:23:42 +0000 (22:23 +0000)
commitf0a9aaba4c61388678494c17c690f93b7eff270c
tree1aeb02bd11b842be6a35523ba15a7003b2300b0f
parentf3bee467924967357ef6652404a8ed694d9e051c
When rebuilding constant structs, make sure to honor the isPacked bit.
This fixes PR1491 and GlobalOpt/2007-06-04-PackedStruct.ll

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37423 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/IPO/GlobalOpt.cpp