[mips] Try to fix the test/ExecutionEngine tests on a MIPS host.
authorDaniel Sanders <daniel.sanders@imgtec.com>
Mon, 21 Jul 2014 12:25:34 +0000 (12:25 +0000)
committerDaniel Sanders <daniel.sanders@imgtec.com>
Mon, 21 Jul 2014 12:25:34 +0000 (12:25 +0000)
commit34e658840ef29df32627c48487b20ca827f66ffe
treedf5d4ae2282c0984245d966aa1230c5fd7ae32c0
parent8ecdc6d34ff0904e4b523f2a788db6b228dfacb5
[mips] Try to fix the test/ExecutionEngine tests on a MIPS host.

Fix a dangerous default case that caused MipsCodeEmitter to discard pseudo
instructions it didn't recognize. It will now call llvm_unreachable() for
unrecognized pseudo's and explicitly handles PseudoReturn, PseudoReturn64,
PseudoIndirectBranch, PseudoIndirectBranch64, CFI_INSTRUCTION, IMPLICIT_DEF,
and KILL.

There may be other pseudos that need handling but this was enough for the
ExecutionEngine tests to pass on my test system.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@213513 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/Mips/MipsCodeEmitter.cpp