[LoopUnswitch] Preserve make.implicit metadata for unswitched conditions
[oota-llvm.git] / lib / Transforms / Scalar / LoopUnswitch.cpp
index 934e16196199d1163129412ed77eb21634391c0a..2b29fdaebad3861f73a98db9720d6d48bada4f0a 100644 (file)
@@ -657,6 +657,7 @@ static void copyMetadata(Instruction *DstInst, const Instruction *SrcInst,
         }
       }
       // fallthrough.
+    case LLVMContext::MD_make_implicit:
     case LLVMContext::MD_dbg:
       DstInst->setMetadata(MD.first, MD.second);
     }