diff options
author | Reed Kotler <rkotler@mips.com> | 2013-11-07 11:56:33 +0000 |
---|---|---|
committer | Reed Kotler <rkotler@mips.com> | 2013-11-07 11:56:33 +0000 |
commit | 1101cde7707b4dda9385ac399b2ff83e0ef494cd (patch) | |
tree | 97b76e47d8d4a4a11bf46349b381ced346b61171 /lib | |
parent | bdd55d2bef54554b2dfb0c7575200f58df05c9f6 (diff) | |
download | llvm-1101cde7707b4dda9385ac399b2ff83e0ef494cd.tar.gz llvm-1101cde7707b4dda9385ac399b2ff83e0ef494cd.tar.bz2 llvm-1101cde7707b4dda9385ac399b2ff83e0ef494cd.tar.xz |
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
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Target/Mips/MipsConstantIslandPass.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/Target/Mips/MipsConstantIslandPass.cpp b/lib/Target/Mips/MipsConstantIslandPass.cpp index 6d6f942a24..83ef7f7b6b 100644 --- a/lib/Target/Mips/MipsConstantIslandPass.cpp +++ b/lib/Target/Mips/MipsConstantIslandPass.cpp @@ -574,12 +574,12 @@ 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 @@ -587,9 +587,8 @@ initializeFunctionInfo(const std::vector<MachineInstr*> &CPEMIs) { // 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; |