Make sure that for C++ emitting LwConstant32 pseudos, that it corresponds
authorReed Kotler <rkotler@mips.com>
Sun, 24 Nov 2013 06:18:50 +0000 (06:18 +0000)
committerReed Kotler <rkotler@mips.com>
Sun, 24 Nov 2013 06:18:50 +0000 (06:18 +0000)
commite77071da427a2631c0c666845a78c953ca90e53c
treeb9b434a9274e82c55a200d5d813e74b9f5375399
parent1fcb390d438f836ca5a84805a5193a695fb2d27f
Make sure that for C++ emitting LwConstant32 pseudos, that it corresponds
to what is needed for constant islands. The prescan method for Mips16 constant
islands will eventually go away. It is only temporary and should be done
earlier when the instructions are first created or from the DAG. If we keep
it here we need to handle better the situation where constant islands
is called multiple times since don't want to prescan more than once.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@195569 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/Mips/Mips16InstrInfo.cpp
lib/Target/Mips/MipsConstantIslandPass.cpp
test/CodeGen/Mips/largefr1.ll