forked from OSchip/llvm-project
Assume ARMv6 for NetBSD for now for strex/ldrex.
llvm-svn: 196115
This commit is contained in:
parent
7c7fcec329
commit
fbd51bef13
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue