[OpenBSD] Use cortex-a8 as default CPU for ARMv7

This commit is contained in:
Brad Smith 2021-10-08 23:56:52 -04:00
parent 0481682996
commit 65df10f3cd
1 changed files with 1 additions and 0 deletions

View File

@ -1709,6 +1709,7 @@ StringRef Triple::getARMCPUForArch(StringRef MArch) const {
switch (getOS()) {
case llvm::Triple::FreeBSD:
case llvm::Triple::NetBSD:
case llvm::Triple::OpenBSD:
if (!MArch.empty() && MArch == "v6")
return "arm1176jzf-s";
if (!MArch.empty() && MArch == "v7")