Fix a case where instcombine was stripping metadata (and alignment)
authorDan Gohman <gohman@apple.com>
Mon, 25 Oct 2010 16:16:27 +0000 (16:16 +0000)
committerDan Gohman <gohman@apple.com>
Mon, 25 Oct 2010 16:16:27 +0000 (16:16 +0000)
commit17a0bf996fb61cdd43cec2cfc7db53145bbc767a
tree6deb2f1f4f5db868cee7f727e07af111a5cd3b99
parent970bfcc7d8b9991430caa7ab33975617f3f4c40d
Fix a case where instcombine was stripping metadata (and alignment)
from stores when folding in bitcasts.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117265 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp
test/Transforms/InstCombine/bitcast-store.ll [new file with mode: 0644]