r196115 - Assume ARMv6 for NetBSD for now for strex/ldrex.
Joerg Sonnenberger
joerg at bec.de
Mon Dec 2 08:12:06 PST 2013
Author: joerg
Date: Mon Dec 2 10:12:05 2013
New Revision: 196115
URL: http://llvm.org/viewvc/llvm-project?rev=196115&view=rev
Log:
Assume ARMv6 for NetBSD for now for strex/ldrex.
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=196115&r1=196114&r2=196115&view=diff
==============================================================================
--- cfe/trunk/lib/Basic/Targets.cpp (original)
+++ cfe/trunk/lib/Basic/Targets.cpp Mon Dec 2 10:12:05 2013
@@ -3679,6 +3679,7 @@ class ARMTargetInfo : public TargetInfo
// it is safe to use atomic instructions on armv6 and newer.
if (!T.isOSLinux() &&
T.getOS() != llvm::Triple::FreeBSD &&
+ T.getOS() != llvm::Triple::NetBSD &&
T.getOS() != llvm::Triple::Bitrig)
return false;
StringRef ArchName = T.getArchName();
More information about the cfe-commits
mailing list