summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/IPO/ConstantMerge.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-05-08 15:54:41 +0000
committerChris Lattner <sabre@nondot.org>2009-05-08 15:54:41 +0000
commitc48091f1419336649bf2d9774437ba558daa873e (patch)
tree4beeccf9ec54ad28b5d263cd6c6435dd7c59ad73 /llvm/lib/Transforms/IPO/ConstantMerge.cpp
parenta02cb80f99452a06178b5fd3d5bf64f9e748484f (diff)
downloadbcm5719-llvm-c48091f1419336649bf2d9774437ba558daa873e.tar.gz
bcm5719-llvm-c48091f1419336649bf2d9774437ba558daa873e.zip
fix RewriteStoreUserOfWholeAlloca to use the correct type size
method, fixing a crash on PR4146. While the store will ultimately overwrite the "padded size" number of bits in memory, the stored value may be a subset of this size. This function only wants to handle the case where all bits are stored. llvm-svn: 71224
Diffstat (limited to 'llvm/lib/Transforms/IPO/ConstantMerge.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud