Disable machine copy propagation for now. It's known to be buggy (PR11940) and introd...
[oota-llvm.git] / lib / CodeGen / Passes.cpp
index ec1f2b4c3b23d598ad5554660420c4d9db6d494c..401ca657c40fc8bd83f6be617eaa33f78369f151 100644 (file)
@@ -69,7 +69,7 @@ static cl::opt<bool> DisableLSR("disable-lsr", cl::Hidden,
 static cl::opt<bool> DisableCGP("disable-cgp", cl::Hidden,
     cl::desc("Disable Codegen Prepare"));
 static cl::opt<bool> DisableCopyProp("disable-copyprop", cl::Hidden,
-    cl::desc("Disable Copy Propagation pass"));
+    cl::desc("Disable Copy Propagation pass"), cl::init(true)); // PR11940
 static cl::opt<bool> PrintLSR("print-lsr-output", cl::Hidden,
     cl::desc("Print LLVM IR produced by the loop-reduce pass"));
 static cl::opt<bool> PrintISelInput("print-isel-input", cl::Hidden,