llvm-6502/lib/Target/Mips/MCTargetDesc
Daniel Sanders f6679de299 [mips] Treat -mcpu=generic the same way as an empty CPU string.
Summary:
This should fix the MCJIT unit tests that were broken by r201792 on the MIPS buildbot.
MIPS currently uses the default implementation of sys::getHostCPUName() which
always returns "generic". For now, we will accept "generic" and coerce it to
"mips32" or "mips64" depending on the target architecture like we do for empty
CPU names.

Reviewers: jacksprat, matheusalmeida

Reviewed By: jacksprat

Differential Revision: http://llvm-reviews.chandlerc.com/D2878

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@202253 91177308-0d34-0410-b5e6-96231b3b80d8
2014-02-26 10:20:15 +00:00
..
CMakeLists.txt [mips] Implement %hi(sym1 - sym2) and %lo(sym1 - sym2) expressions 2014-02-04 18:41:57 +00:00
LLVMBuild.txt LLVMBuild: Remove trailing newline, which irked me. 2011-12-12 19:48:00 +00:00
Makefile Test commit 2012-06-09 00:27:55 +00:00
MipsAsmBackend.cpp Re-sort all of the includes with ./utils/sort_includes.py so that 2014-01-07 11:48:04 +00:00
MipsBaseInfo.h [mips] Set HWEncoding field of registers. Use delete function 2012-12-10 20:04:40 +00:00
MipsELFObjectWriter.cpp Support for microMIPS TLS relocations. 2013-12-19 16:02:32 +00:00
MipsFixupKinds.h Support for microMIPS TLS relocations. 2013-12-19 16:02:32 +00:00
MipsMCAsmInfo.cpp Add a MCAsmInfoELF class and factor some code into it. 2013-10-16 01:34:32 +00:00
MipsMCAsmInfo.h Add a MCAsmInfoELF class and factor some code into it. 2013-10-16 01:34:32 +00:00
MipsMCCodeEmitter.cpp [mips] Implement %hi(sym1 - sym2) and %lo(sym1 - sym2) expressions 2014-02-04 18:41:57 +00:00
MipsMCExpr.cpp [mips] Implement %hi(sym1 - sym2) and %lo(sym1 - sym2) expressions 2014-02-04 18:41:57 +00:00
MipsMCExpr.h [mips] Implement %hi(sym1 - sym2) and %lo(sym1 - sym2) expressions 2014-02-04 18:41:57 +00:00
MipsMCTargetDesc.cpp [mips] Treat -mcpu=generic the same way as an empty CPU string. 2014-02-26 10:20:15 +00:00
MipsMCTargetDesc.h Generate compact unwind encoding from CFI directives. 2013-09-09 02:37:14 +00:00
MipsTargetStreamer.cpp Remove another hasRawTextSupport. 2014-01-31 23:10:26 +00:00