diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2010-06-04 23:15:27 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2010-06-04 23:15:27 +0000 |
commit | 6deecb0d46bcfd048e651d2db7c4fb0d6407da96 (patch) | |
tree | fadba1e61ae8428aacb57c9e0e05ea89cca1998d /lib/Basic/Targets.cpp | |
parent | 52647c63c3cbdf0c87fe8db3ef6f475bfd49725d (diff) |
Correctly align large arrays in x86-64. This fixes PR5599.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@105500 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Basic/Targets.cpp')
-rw-r--r-- | lib/Basic/Targets.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Basic/Targets.cpp b/lib/Basic/Targets.cpp index 255c71d9b7..82c6507190 100644 --- a/lib/Basic/Targets.cpp +++ b/lib/Basic/Targets.cpp @@ -1278,6 +1278,8 @@ public: LongWidth = LongAlign = PointerWidth = PointerAlign = 64; LongDoubleWidth = 128; LongDoubleAlign = 128; + LargeArrayMinWidth = 128; + LargeArrayAlign = 128; IntMaxType = SignedLong; UIntMaxType = UnsignedLong; Int64Type = SignedLong; |