diff options
author | Abdoulaye Walsimou Gaye <awg@embtoolkit.org> | 2013-03-05 21:08:27 +0100 |
---|---|---|
committer | Abdoulaye Walsimou Gaye <awg@embtoolkit.org> | 2013-03-05 21:08:27 +0100 |
commit | d64339bfeb8360b7603a7b1ac136bbe30f363ba8 (patch) | |
tree | 854c94e6146ec98113a39195cec07dee2bb11461 | |
parent | 07cecb47774af1ddc3d392a5048173db96794d1f (diff) | |
download | clang-d64339bfeb8360b7603a7b1ac136bbe30f363ba8.tar.gz clang-d64339bfeb8360b7603a7b1ac136bbe30f363ba8.tar.bz2 clang-d64339bfeb8360b7603a7b1ac136bbe30f363ba8.tar.xz |
[Embtk]: MIPS32: Allow __atomic builtins with integral scalar or pointer type up to 8 bytes
Signed-off-by: Abdoulaye Walsimou Gaye <awg@embtoolkit.org>
-rw-r--r-- | lib/Basic/Targets.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Basic/Targets.cpp b/lib/Basic/Targets.cpp index 3bb8e0a5e0..bdc75ba43d 100644 --- a/lib/Basic/Targets.cpp +++ b/lib/Basic/Targets.cpp @@ -4114,6 +4114,7 @@ public: MipsTargetInfoBase(triple, "o32", "mips32") { SizeType = UnsignedInt; PtrDiffType = SignedInt; + MaxAtomicPromoteWidth = MaxAtomicInlineWidth = 64; } virtual bool setABI(const std::string &Name) { if ((Name == "o32") || (Name == "eabi")) { |