[PATCH] D11949: [MIPS] Use arch values for lock-free atomic operations
Petar Jovanovic via cfe-commits
cfe-commits at lists.llvm.org
Tue Aug 11 10:49:08 PDT 2015
petarj created this revision.
petarj added a reviewer: dschuff.
petarj added a subscriber: cfe-commits.
Herald added subscribers: dschuff, jfb.
Let NaClMips32ELTargetInfo inherit arch values for maximum width lock-free
atomic operations.
http://reviews.llvm.org/D11949
Files:
lib/Basic/Targets.cpp
Index: lib/Basic/Targets.cpp
===================================================================
--- lib/Basic/Targets.cpp
+++ lib/Basic/Targets.cpp
@@ -6842,8 +6842,7 @@
class NaClMips32ELTargetInfo : public Mips32ELTargetInfo {
public:
NaClMips32ELTargetInfo(const llvm::Triple &Triple) :
- Mips32ELTargetInfo(Triple) {
- MaxAtomicPromoteWidth = MaxAtomicInlineWidth = 0;
+ Mips32ELTargetInfo(Triple) {
}
BuiltinVaListKind getBuiltinVaListKind() const override {
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D11949.31830.patch
Type: text/x-patch
Size: 490 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150811/37df0f0c/attachment.bin>
More information about the cfe-commits
mailing list