Change the default branch instruction to be the 16 bit variety for mips16.
authorReed Kotler <rkotler@mips.com>
Tue, 12 Nov 2013 02:27:12 +0000 (02:27 +0000)
committerReed Kotler <rkotler@mips.com>
Tue, 12 Nov 2013 02:27:12 +0000 (02:27 +0000)
commitc6d4d667a8a56b341fac949153ec5939857445df
tree39c1fc2e227d69ba7dd82784f97009385133a90a
parent161dd53f1ef74b31b5afa0aeb55619ae924a6877
Change the default branch instruction to be the 16 bit variety for mips16.
This has no material effect at this time since we don't have a direct
object emitter for mips16 and the assembler can't tell them apart. I
place a comment "16 bit inst" for those so that I can tell them apart in the
output. The constant island pass has only been minimally changed to allow
this. More complete branch work is forthcoming but this is the first
step.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194442 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/Mips/Mips16InstrInfo.cpp
lib/Target/Mips/Mips16InstrInfo.td
lib/Target/Mips/MipsConstantIslandPass.cpp
test/CodeGen/Mips/simplebr.ll [new file with mode: 0644]