Skip to content

Commit

Permalink
Reapply the patch of r260376.
Browse files Browse the repository at this point in the history
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@260379 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
aturetsk committed Feb 10, 2016
1 parent 54c6c5d commit 222af3d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Basic/Targets.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3807,8 +3807,6 @@ class MicrosoftX86_32TargetInfo : public WindowsX86_32TargetInfo {
: WindowsX86_32TargetInfo(Triple) {
LongDoubleWidth = LongDoubleAlign = 64;
LongDoubleFormat = &llvm::APFloat::IEEEdouble;
DataLayoutString =
"e-m:e-p:32:32-i64:32-f64:32-f128:32-n8:16:32-a:0:32-S32";
}
void getTargetDefines(const LangOptions &Opts,
MacroBuilder &Builder) const override {
Expand Down Expand Up @@ -3913,6 +3911,8 @@ class MCUX86_32TargetInfo : public X86_32TargetInfo {
MCUX86_32TargetInfo(const llvm::Triple &Triple) : X86_32TargetInfo(Triple) {
LongDoubleWidth = 64;
LongDoubleFormat = &llvm::APFloat::IEEEdouble;
DataLayoutString =
"e-m:e-p:32:32-i64:32-f64:32-f128:32-n8:16:32-a:0:32-S32";
UserLabelPrefix = "";
WIntType = UnsignedInt;
}
Expand Down

0 comments on commit 222af3d

Please sign in to comment.