Fix an issue where we failed to adjust the alignment constraint on
authorChandler Carruth <chandlerc@gmail.com>
Wed, 3 Oct 2012 08:26:28 +0000 (08:26 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Wed, 3 Oct 2012 08:26:28 +0000 (08:26 +0000)
commit08e5f49f90a82ab2aacb2fe096a239625eb17e84
treef2cfa4a77bee2ae49d5b8a8f5732ca772a43e666
parent4b2b38d3982c115906ecc81fa9be3cf5d0330a3d
Fix an issue where we failed to adjust the alignment constraint on
a memcpy to reflect that '0' has a different meaning when applied to
a load or store. Now we correctly use underaligned loads and stores for
the test case added.

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