projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0dbb0f1
)
[AVR] Update data layout to match current LLVM trunk
author
Dylan McKay
<me@dylanmckay.io>
Wed, 27 Sep 2017 22:09:01 +0000
(22:09 +0000)
committer
Dylan McKay
<me@dylanmckay.io>
Wed, 27 Sep 2017 22:09:01 +0000
(22:09 +0000)
The data layout was changed in r314179 to fix atomic loads and stores.
llvm-svn: 314354
clang/lib/Basic/Targets/AVR.h
patch
|
blob
|
history
diff --git
a/clang/lib/Basic/Targets/AVR.h
b/clang/lib/Basic/Targets/AVR.h
index
80c33e8
..
679e639
100644
(file)
--- a/
clang/lib/Basic/Targets/AVR.h
+++ b/
clang/lib/Basic/Targets/AVR.h
@@
-56,8
+56,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,