commit | c7429cbd06334c93f0388d6ccd3379341fa6ba73 | [log] [tgz] |
---|---|---|
author | Reid Kleckner <rnk@google.com> | Fri Aug 04 17:09:11 2017 +0000 |
committer | Reid Kleckner <rnk@google.com> | Fri Aug 04 17:09:11 2017 +0000 |
tree | b16250e74d5ee52652ddc990c36c7ec0713c9840 | |
parent | e2caf82c168c6a63ce5213affc43254d2ac611da [diff] |
[ArgPromotion] Preserve alignment of byval argument in new alloca The frontend may have requested a higher alignment for any reason, and downstream optimizations may already have taken advantage of it. We should keep the same alignment when moving the allocation from the parameter area to the local variable area. Fixes PR34038 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@310071 91177308-0d34-0410-b5e6-96231b3b80d8