diff options
| author | Rafael Espindola <rafael.espindola@gmail.com> | 2013-08-07 18:08:19 +0000 |
|---|---|---|
| committer | Rafael Espindola <rafael.espindola@gmail.com> | 2013-08-07 18:08:19 +0000 |
| commit | b82f77fbe320a497f0b60d241c59b651b3ce15ca (patch) | |
| tree | 0a243e283e2313c3ea683ae17bdb566815ccb84a /lib/CodeGen/CGExprScalar.cpp | |
| parent | 15c8e56e44a5fb6d298ae5bad791f9ea5bb883f6 (diff) | |
| download | clang-b82f77fbe320a497f0b60d241c59b651b3ce15ca.tar.gz clang-b82f77fbe320a497f0b60d241c59b651b3ce15ca.tar.bz2 clang-b82f77fbe320a497f0b60d241c59b651b3ce15ca.tar.xz | |
Correctly allign arrays on 32 bit systems.
Before this patch we would align
long long int big[1024];
to 4 bytes on 32 bit systems. The problem is that we were only looking
at the element type when getLargeArrayMinWidth returned non zero.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@187897 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExprScalar.cpp')
0 files changed, 0 insertions, 0 deletions
