diff options
author | Dylan McKay <me@dylanmckay.io> | 2017-09-28 07:06:54 +0000 |
---|---|---|
committer | Dylan McKay <me@dylanmckay.io> | 2017-09-28 07:06:54 +0000 |
commit | 20a82813e9e00bdee1ace1bae059339749ad4000 (patch) | |
tree | 232cec4c743e7b2a29c2aaed819db0e4ce908425 | |
parent | 7e8743f82ac7957c66d9c2444996be5b1218673b (diff) |
Merging r314354:
------------------------------------------------------------------------
r314354 | dylanmckay | 2017-09-28 11:09:01 +1300 (Thu, 28 Sep 2017) | 3 lines
[AVR] Update data layout to match current LLVM trunk
The data layout was changed in r314179 to fix atomic loads and stores.
------------------------------------------------------------------------
git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_50@314381 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Basic/Targets.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/Basic/Targets.cpp b/lib/Basic/Targets.cpp index 5d75aa5a75..915c161686 100644 --- a/lib/Basic/Targets.cpp +++ b/lib/Basic/Targets.cpp @@ -9350,8 +9350,7 @@ public: WIntType = SignedInt; Char32Type = UnsignedLong; SigAtomicType = SignedChar; - resetDataLayout("e-p:16:16:16-i8:8:8-i16:16:16-i32:32:32-i64:64:64" - "-f32:32:32-f64:64:64-n8"); + resetDataLayout("e-p:16:8-i8:8-i16:8-i32:8-i64:8-f32:8-f64:8-n8-a:8"); } void getTargetDefines(const LangOptions &Opts, |