1. Clean up code due to changes in SwitchTo*Section(2)
[oota-llvm.git] / lib / Target / X86 / X86ISelLowering.cpp
index 6de5032ff302b429a482b90d859296328e0e93d2..96ab93949d2ed53b4423ae4dcebd0a3b878298bb 100644 (file)
@@ -219,7 +219,9 @@ X86TargetLowering::X86TargetLowering(TargetMachine &TM)
   setOperationAction(ISD::LOCATION, MVT::Other, Expand);
   setOperationAction(ISD::DEBUG_LOC, MVT::Other, Expand);
   // FIXME - use subtarget debug flags
-  if (!Subtarget->isTargetDarwin() && !Subtarget->isTargetELF())
+  if (!Subtarget->isTargetDarwin() &&
+      !Subtarget->isTargetELF() &&
+      !Subtarget->isTargetCygwin())
     setOperationAction(ISD::DEBUG_LABEL, MVT::Other, Expand);
 
   // VASTART needs to be custom lowered to use the VarArgsFrameIndex