]> granicus.if.org Git - clang/commit
[mips] Use more conservative default CPUs for MIPS on FreeBSD.
authorJohn Baldwin <jhb@FreeBSD.org>
Tue, 26 Jun 2018 19:48:05 +0000 (19:48 +0000)
committerJohn Baldwin <jhb@FreeBSD.org>
Tue, 26 Jun 2018 19:48:05 +0000 (19:48 +0000)
commit2348c7f06faeab209b8b09824f0ec7e38763a8d5
treeaef644b5e294b8d7a800df463f4c45752f2e7181
parent4d1c54646bd2e3bcb05ff96c7373f1069aed9f9a
[mips] Use more conservative default CPUs for MIPS on FreeBSD.

FreeBSD defaults to mips3 for all MIPS ABIs with GCC as that is the
minimum MIPS architecture FreeBSD supports.  Use mips3 for MIPS64 and
mips2 for MIPS32 to match.

Reviewed By: atanasyan

Differential Revision: https://reviews.llvm.org/D48499

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@335653 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Driver/ToolChains/Arch/Mips.cpp
test/Driver/freebsd-mips-as.c
test/Driver/freebsd.c