diff options
author | Eli Friedman <eli.friedman@gmail.com> | 2008-06-04 17:01:45 +0000 |
---|---|---|
committer | Eli Friedman <eli.friedman@gmail.com> | 2008-06-04 17:01:45 +0000 |
commit | 5aa4fd65efe3bda6080009fffba747450f34536e (patch) | |
tree | cbacd104d7ac6e871dc3332666f5274f6e9ecfce /lib/Basic/Targets.cpp | |
parent | b853ca876e92ea6e171bd7bb5d161fcbc9e9b032 (diff) |
Make the width and alignment for long double consistent with the
hardcoded data layout in getTargetDescription. Hopefully fixes a test
failure.
Of course, this should be fixed properly, but that's a bigger fix.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@51948 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Basic/Targets.cpp')
-rw-r--r-- | lib/Basic/Targets.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Basic/Targets.cpp b/lib/Basic/Targets.cpp index 80451dcd35..4cf7e7bb8a 100644 --- a/lib/Basic/Targets.cpp +++ b/lib/Basic/Targets.cpp @@ -703,8 +703,8 @@ class DarwinI386TargetInfo : public DarwinTargetInfo { public: DarwinI386TargetInfo(const std::string& triple) : DarwinTargetInfo(triple) { DoubleAlign = LongLongAlign = 32; - LongDoubleWidth = 96; - LongDoubleAlign = 32; + LongDoubleWidth = 128; + LongDoubleAlign = 128; LongDoubleFormat = &llvm::APFloat::x87DoubleExtended; } |