[llvm] r194201 - Disable some code that is causing some warnings. It's in the process

Reed Kotler rkotler at mips.com
Thu Nov 7 03:56:34 PST 2013


Author: rkotler
Date: Thu Nov  7 05:56:33 2013
New Revision: 194201

URL: http://llvm.org/viewvc/llvm-project?rev=194201&view=rev
Log:
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.


Modified:
    llvm/trunk/lib/Target/Mips/MipsConstantIslandPass.cpp

Modified: llvm/trunk/lib/Target/Mips/MipsConstantIslandPass.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Mips/MipsConstantIslandPass.cpp?rev=194201&r1=194200&r2=194201&view=diff
==============================================================================
--- llvm/trunk/lib/Target/Mips/MipsConstantIslandPass.cpp (original)
+++ llvm/trunk/lib/Target/Mips/MipsConstantIslandPass.cpp Thu Nov  7 05:56:33 2013
@@ -574,12 +574,12 @@ initializeFunctionInfo(const std::vector
         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
         // 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;





More information about the llvm-commits mailing list