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 | e971b9a26002cfe32b899bf4a746a4c2136ce0d0 (patch) | |
tree | a7ac4b7a4e68968a4452e1e908b1e61bd4f6efe9 /clang/lib/Basic/Targets.cpp | |
parent | a1e08fb2561ec734cdf5b8dc37ce64e14944bf23 (diff) | |
download | bcm5719-llvm-e971b9a26002cfe32b899bf4a746a4c2136ce0d0.tar.gz bcm5719-llvm-e971b9a26002cfe32b899bf4a746a4c2136ce0d0.zip |
Correctly align large arrays in x86-64. This fixes PR5599.
llvm-svn: 105500
Diffstat (limited to 'clang/lib/Basic/Targets.cpp')
-rw-r--r-- | clang/lib/Basic/Targets.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/lib/Basic/Targets.cpp b/clang/lib/Basic/Targets.cpp index 255c71d9b78..82c6507190b 100644 --- a/clang/lib/Basic/Targets.cpp +++ b/clang/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; |