Skip to content
This repository was archived by the owner on Sep 2, 2018. It is now read-only.

Commit c6fdb09

Browse files
author
Dylan McKay
committed
[AVR] Update the data layout
We had previously updated the data layout in AVR-LLVM commit 5f12f20bafa50b178395177cb98aef7de5f68e73.
1 parent eb6c4ee commit c6fdb09

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Basic/Targets.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7158,7 +7158,7 @@ class AVRTargetInfo : public TargetInfo {
71587158
PtrDiffType = SignedInt;
71597159
SigAtomicType = SignedLong;
71607160
DoubleFormat = &llvm::APFloat::IEEEsingle;
7161-
resetDataLayout("e-p:16:8:8-i8:8:8-i16:8:8-i32:8:8-i64:8:8-f32:8:8-f64:8:8-n8");
7161+
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");
71627162
}
71637163

71647164
void getTargetDefines(const LangOptions &Opts,

0 commit comments

Comments
 (0)