When rewriting the pointer operand to a load or store which has
authorChandler Carruth <chandlerc@gmail.com>
Wed, 26 Sep 2012 10:45:28 +0000 (10:45 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Wed, 26 Sep 2012 10:45:28 +0000 (10:45 +0000)
commit3e4273dd0c1e6d2ae31945777e8af4ed1398f698
tree0e6efa098f919bbe453635190af45bc04b27846f
parent871ba7249c104534e056db04516b006b5e3cfec1
When rewriting the pointer operand to a load or store which has
alignment guarantees attached, re-compute the alignment so that we
consider offsets which impact alignment.

llvm-svn: 164690
llvm/lib/Transforms/Scalar/SROA.cpp
llvm/test/Transforms/SROA/alignment.ll