Use armv6k default for FreeBSD/ARM

Patch by Andrew Turner.

llvm-svn: 217454
This commit is contained in:
Ed Maste 2014-09-09 17:47:24 +00:00
parent 3c33150801
commit ea0257a9d9
1 changed files with 1 additions and 0 deletions

View File

@ -927,6 +927,7 @@ const char *Triple::getARMCPUForArch(StringRef MArch) const {
MArch = getArchName();
switch (getOS()) {
case llvm::Triple::FreeBSD:
case llvm::Triple::NetBSD:
if (MArch == "armv6")
return "arm1176jzf-s";