Make instcombine set explicit alignments on load or store
authorDan Gohman <gohman@apple.com>
Tue, 3 Aug 2010 18:20:32 +0000 (18:20 +0000)
committerDan Gohman <gohman@apple.com>
Tue, 3 Aug 2010 18:20:32 +0000 (18:20 +0000)
commit0fd353376b2741fc477c5fe05a5f18ae3abc4f60
tree335b54494af247dba434887dd0725df87463830b
parentefb59d28c543bebe676fcdbff6ae7b96acaed0a5
Make instcombine set explicit alignments on load or store
instructions with alignment 0, so that subsequent passes don't
need to bother checking the TargetData ABI size manually.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110128 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp
test/Transforms/InstCombine/align-addr.ll
test/Transforms/InstCombine/align-inc.ll [deleted file]