fix instcombine to only do store sinking when the alignments
authorChris Lattner <sabre@nondot.org>
Mon, 2 Nov 2009 02:06:37 +0000 (02:06 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 2 Nov 2009 02:06:37 +0000 (02:06 +0000)
commit7ebbabf5000cad682fcc2e4f58f2f83e1d38ef54
tree958065da5a94d09c7bf190cca72d681100e09195
parentf013eea9727d64c87a73944ce2099c648cb6de6c
fix instcombine to only do store sinking when the alignments
of the two loads agree.  Propagate that onto the new store.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85772 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/InstructionCombining.cpp
test/Transforms/InstCombine/store.ll