diff options
author | Vadzim Dambrouski <pftbest@gmail.com> | 2017-06-23 21:12:56 +0000 |
---|---|---|
committer | Vadzim Dambrouski <pftbest@gmail.com> | 2017-06-23 21:12:56 +0000 |
commit | 310e9c901a2e192479207bbc7d701ef8d1f4aea6 (patch) | |
tree | 65d98be6ef15bd9a95df26ca2cbe046009c6792b /lib/Basic/Targets.cpp | |
parent | 26143cdb50e70efa626feefc8a07ad27536171a3 (diff) |
[MSP430] Fix data layout string.
Summary:
Change data layout string so it would be compatible with MSP430 EABI.
Depends on D34561
Reviewers: asl, awygle
Reviewed By: asl
Subscribers: cfe-commits
Differential Revision: https://reviews.llvm.org/D34562
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@306161 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Basic/Targets.cpp')
-rw-r--r-- | lib/Basic/Targets.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Basic/Targets.cpp b/lib/Basic/Targets.cpp index e23a93e8ce..aee413e957 100644 --- a/lib/Basic/Targets.cpp +++ b/lib/Basic/Targets.cpp @@ -7503,7 +7503,7 @@ public: IntPtrType = SignedInt; PtrDiffType = SignedInt; SigAtomicType = SignedLong; - resetDataLayout("e-m:e-p:16:16-i32:16:32-a:16-n8:16"); + resetDataLayout("e-m:e-p:16:16-i32:16-i64:16-f32:16-f64:16-a:8-n8:16-S16"); } void getTargetDefines(const LangOptions &Opts, MacroBuilder &Builder) const override { |