Disable some code that is causing some warnings. It's in the process

of being converted and this path is not relevant to anything at this time
so I have just disabled it for a few days while I'm at the LLVM conference
and don't have time to complete it or properly fix it.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194201 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Reed Kotler 2013-11-07 11:56:33 +00:00
parent bdd55d2bef
commit 1101cde770

View File

@ -574,12 +574,12 @@ initializeFunctionInfo(const std::vector<MachineInstr*> &CPEMIs) {
continue; continue;
int Opc = I->getOpcode(); int Opc = I->getOpcode();
#ifdef IN_PROGRESS
if (I->isBranch()) { if (I->isBranch()) {
bool isCond = false; bool isCond = false;
unsigned Bits = 0; unsigned Bits = 0;
unsigned Scale = 1; unsigned Scale = 1;
int UOpc = Opc; int UOpc = Opc;
switch (Opc) { switch (Opc) {
default: default:
continue; // Ignore other JT branches continue; // Ignore other JT branches
@ -587,9 +587,8 @@ initializeFunctionInfo(const std::vector<MachineInstr*> &CPEMIs) {
// Record this immediate branch. // Record this immediate branch.
unsigned MaxOffs = ((1 << (Bits-1))-1) * Scale; unsigned MaxOffs = ((1 << (Bits-1))-1) * Scale;
ImmBranches.push_back(ImmBranch(I, MaxOffs, isCond, UOpc)); ImmBranches.push_back(ImmBranch(I, MaxOffs, isCond, UOpc));
} }
#endif
if (Opc == Mips::CONSTPOOL_ENTRY) if (Opc == Mips::CONSTPOOL_ENTRY)
continue; continue;