Skip to content

Commit

Permalink
Disable some code that is causing some warnings. It's in the process
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Reed Kotler committed Nov 7, 2013
1 parent bdd55d2 commit 1101cde
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions lib/Target/Mips/MipsConstantIslandPass.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -574,22 +574,21 @@ initializeFunctionInfo(const std::vector<MachineInstr*> &CPEMIs) {
continue;

int Opc = I->getOpcode();
#ifdef IN_PROGRESS
if (I->isBranch()) {
bool isCond = false;
unsigned Bits = 0;
unsigned Scale = 1;
int UOpc = Opc;

switch (Opc) {
default:
continue; // Ignore other JT branches
}
// Record this immediate branch.
unsigned MaxOffs = ((1 << (Bits-1))-1) * Scale;
ImmBranches.push_back(ImmBranch(I, MaxOffs, isCond, UOpc));

}

#endif

if (Opc == Mips::CONSTPOOL_ENTRY)
continue;
Expand Down

0 comments on commit 1101cde

Please sign in to comment.