Select ADC, SBC, and RSC instead of the ADCS, SBCS, and RSCS when the carry bit def...
[oota-llvm.git] / lib / CodeGen / MachineModuleInfo.cpp
index 4bbc4dd985a77ae8466cd8bcfe3bb1886b823c17..1d8109eb8d9954549854278d3229269e81054ddf 100644 (file)
@@ -333,7 +333,7 @@ bool DebugLabelFolder::runOnMachineFunction(MachineFunction &MF) {
     // Iterate through instructions.
     for (MachineBasicBlock::iterator I = BB->begin(), E = BB->end(); I != E; ) {
       // Is it a label.
-      if (I->isDebugLabel(){
+      if (I->isDebugLabel() && !MMI->isDbgLabelUsed(I->getOperand(0).getImm())){
         // The label ID # is always operand #0, an immediate.
         unsigned NextLabel = I->getOperand(0).getImm();