| commit | 27d224fbbb5185bb84df5535ff8682560796ee18 | [log] [tgz] |
|---|---|---|
| author | Mehdi Amini <mehdi.amini@apple.com> | Fri Jan 06 21:06:51 2017 +0000 |
| committer | Mehdi Amini <mehdi.amini@apple.com> | Fri Jan 06 21:06:51 2017 +0000 |
| tree | b15f5c6dc2dd9ef0917306bf26fa019fd55532d8 | |
| parent | 218ecacbf10a238ce2f71d620fa510c9aada0e73 [diff] |
Fix LoopLoadElimination to keep original alignment on the inital hoisted store This is fixing a bug where Loop Vectorization is widening a load but with a lower alignment. Hoisting the load without propagating the alignment will allow inst-combine to later deduce a higher alignment that what the pointer actually is. Differential Revision: https://reviews.llvm.org/D28408 llvm-svn: 291281