Skip to content

Commit 1101cde

Browse files
author
Reed Kotler
committed
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
1 parent bdd55d2 commit 1101cde

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

lib/Target/Mips/MipsConstantIslandPass.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -574,22 +574,21 @@ initializeFunctionInfo(const std::vector<MachineInstr*> &CPEMIs) {
574574
continue;
575575

576576
int Opc = I->getOpcode();
577+
#ifdef IN_PROGRESS
577578
if (I->isBranch()) {
578579
bool isCond = false;
579580
unsigned Bits = 0;
580581
unsigned Scale = 1;
581582
int UOpc = Opc;
582-
583583
switch (Opc) {
584584
default:
585585
continue; // Ignore other JT branches
586586
}
587587
// Record this immediate branch.
588588
unsigned MaxOffs = ((1 << (Bits-1))-1) * Scale;
589589
ImmBranches.push_back(ImmBranch(I, MaxOffs, isCond, UOpc));
590-
591590
}
592-
591+
#endif
593592

594593
if (Opc == Mips::CONSTPOOL_ENTRY)
595594
continue;

0 commit comments

Comments
 (0)