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 | 67b827900ecd13ba9ee533f46894bf658c089321 (patch) | |
tree | 065409f1e358616c5b89cb5bc12767129339b8be | |
parent | 2353f3598912f184a76fd13af4f6b3864f7e9eb7 (diff) | |
download | bcm5719-llvm-67b827900ecd13ba9ee533f46894bf658c089321.tar.gz bcm5719-llvm-67b827900ecd13ba9ee533f46894bf658c089321.zip |
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.
llvm-svn: 51948
-rw-r--r-- | clang/lib/Basic/Targets.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/Basic/Targets.cpp b/clang/lib/Basic/Targets.cpp index 80451dcd35e..4cf7e7bb8aa 100644 --- a/clang/lib/Basic/Targets.cpp +++ b/clang/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; } |