Use armv6k default for FreeBSD/ARM

Patch by Andrew Turner.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@217454 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Ed Maste 2014-09-09 17:47:24 +00:00
parent 3503655b22
commit 53ee51fb15

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";