[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)
commitdecb7a2b0bd567006a372bffe3240cda1292c655
tree84eeb168de976917d92455cf562fc13ceac18a7d
parent6125da9258e6e070b5188a30715eef9e6e695f71
[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.

llvm-svn: 213513
llvm/lib/Target/Mips/MipsCodeEmitter.cpp