aboutsummaryrefslogtreecommitdiff
path: root/lib/Basic/TargetInfo.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2010-06-04 23:15:27 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2010-06-04 23:15:27 +0000
commit6deecb0d46bcfd048e651d2db7c4fb0d6407da96 (patch)
treefadba1e61ae8428aacb57c9e0e05ea89cca1998d /lib/Basic/TargetInfo.cpp
parent52647c63c3cbdf0c87fe8db3ef6f475bfd49725d (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/TargetInfo.cpp')
-rw-r--r--lib/Basic/TargetInfo.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Basic/TargetInfo.cpp b/lib/Basic/TargetInfo.cpp
index 6692e641f2..98249c029b 100644
--- a/lib/Basic/TargetInfo.cpp
+++ b/lib/Basic/TargetInfo.cpp
@@ -34,6 +34,8 @@ TargetInfo::TargetInfo(const std::string &T) : Triple(T) {
DoubleAlign = 64;
LongDoubleWidth = 64;
LongDoubleAlign = 64;
+ LargeArrayMinWidth = 0;
+ LargeArrayAlign = 0;
SizeType = UnsignedLong;
PtrDiffType = SignedLong;
IntMaxType = SignedLongLong;