Skip to content

Commit

Permalink
[OpenBSD] Use cortex-a8 as default CPU for ARMv7
Browse files Browse the repository at this point in the history
  • Loading branch information
brad0 committed Oct 9, 2021
1 parent 0481682 commit 65df10f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions llvm/lib/Support/Triple.cpp
Expand Up @@ -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")
Expand Down

0 comments on commit 65df10f

Please sign in to comment.