r244675 - [MIPS] Use arch values for lock-free atomic operations
Petar Jovanovic via cfe-commits
cfe-commits at lists.llvm.org
Tue Aug 11 14:27:39 PDT 2015
Author: petarj
Date: Tue Aug 11 16:27:39 2015
New Revision: 244675
URL: http://llvm.org/viewvc/llvm-project?rev=244675&view=rev
Log:
[MIPS] Use arch values for lock-free atomic operations
Let NaClMips32ELTargetInfo inherit arch values for maximum width lock-free
atomic operations.
Differential Revision: http://reviews.llvm.org/D11949
Modified:
cfe/trunk/lib/Basic/Targets.cpp
Modified: cfe/trunk/lib/Basic/Targets.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Basic/Targets.cpp?rev=244675&r1=244674&r2=244675&view=diff
==============================================================================
--- cfe/trunk/lib/Basic/Targets.cpp (original)
+++ cfe/trunk/lib/Basic/Targets.cpp Tue Aug 11 16:27:39 2015
@@ -6842,8 +6842,7 @@ void PNaClTargetInfo::getGCCRegAliases(c
class NaClMips32ELTargetInfo : public Mips32ELTargetInfo {
public:
NaClMips32ELTargetInfo(const llvm::Triple &Triple) :
- Mips32ELTargetInfo(Triple) {
- MaxAtomicPromoteWidth = MaxAtomicInlineWidth = 0;
+ Mips32ELTargetInfo(Triple) {
}
BuiltinVaListKind getBuiltinVaListKind() const override {
More information about the cfe-commits
mailing list