Check in conditional branches for constant islands. Still need to finish

conditional branches for very large targets. That will be the next small
patch. Everything now should in principle work as good (functionality
wise) as without constant islands so we decided at Mips/Imagination to
make constant islands the default for Mips16 now so that it will get
excercised a lot and this port is still experimentatl though hopefully soon
we will change the status. Some more cleanup and code review is in order
but things are converging fast.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@195902 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Reed Kotler
2013-11-28 00:56:37 +00:00
parent 92b8543819
commit 18a777a09a
5 changed files with 293 additions and 8 deletions

View File

@@ -55,9 +55,9 @@ Mips16HardFloat("mips16-hard-float", cl::NotHidden,
static cl::opt<bool>
Mips16ConstantIslands(
"mips16-constant-islands", cl::Hidden,
cl::desc("MIPS: mips16 constant islands enable. experimental feature"),
cl::init(false));
"mips16-constant-islands", cl::NotHidden,
cl::desc("MIPS: mips16 constant islands enable."),
cl::init(true));
void MipsSubtarget::anchor() { }