diff options
| author | Chandler Carruth <chandlerc@gmail.com> | 2014-02-26 07:29:54 +0000 |
|---|---|---|
| committer | Chandler Carruth <chandlerc@gmail.com> | 2014-02-26 07:29:54 +0000 |
| commit | 38e90e3de1c05ccfd469275c08d403f638cdcce1 (patch) | |
| tree | 0ef075fbd574d60739729221174accf8d4153d23 /lib/Bitcode | |
| parent | 07f95b3218e6590ac3476200147f8ce3ffafed93 (diff) | |
| download | llvm-38e90e3de1c05ccfd469275c08d403f638cdcce1.tar.gz llvm-38e90e3de1c05ccfd469275c08d403f638cdcce1.tar.bz2 llvm-38e90e3de1c05ccfd469275c08d403f638cdcce1.tar.xz | |
[SROA] Split the alignment computation complete for the memcpy rewriting
to work independently for the slice side and the other side.
This allows us to only compute the minimum of the two when we actually
rewrite to a memcpy that needs to take the minimum, and preserve higher
alignment for one side or the other when rewriting to loads and stores.
This fix was inspired by seeing the result of some refactoring that
makes addrspace handling better.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@202242 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bitcode')
0 files changed, 0 insertions, 0 deletions
