commit | 673850aa2dceb8fe1b7a20b72339bf803af8609f | [log] [tgz] |
---|---|---|
author | Chandler Carruth <chandlerc@gmail.com> | Mon Oct 01 12:16:54 2012 +0000 |
committer | Chandler Carruth <chandlerc@gmail.com> | Mon Oct 01 12:16:54 2012 +0000 |
tree | 36c32dd5a1769c76218f88ba8c118ea451d27d7a | |
parent | 90012586f79895a8104e1e65689041fec52d788d [diff] |
Fix several issues with alignment. We weren't always accounting for type alignment requirements of the new alloca. As one consequence which was reported as a bug by Duncan, we overaligned memcpy calls to ranges of allocas after they were rewritten to types with lower alignment requirements. Other consquences are possible, but I don't have any test cases for them. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@164937 91177308-0d34-0410-b5e6-96231b3b80d8