Commit 4c3ca5ac authored by Bill Wendling's avatar Bill Wendling
Browse files

Merging r196115:

------------------------------------------------------------------------
r196115 | joerg | 2013-12-02 08:12:05 -0800 (Mon, 02 Dec 2013) | 2 lines

Assume ARMv6 for NetBSD for now for strex/ldrex.

------------------------------------------------------------------------

llvm-svn: 196202
parent 4b41534e
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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();