diff options
author | Evan Cheng <evan.cheng@apple.com> | 2012-02-20 23:28:17 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2012-02-20 23:28:17 +0000 |
commit | 01b623c8c2d1bd015a8bb20eafee3322575eff8f (patch) | |
tree | c0c84728e3eea442bee36fcf519a5ba9a570e958 /lib/CodeGen/Passes.cpp | |
parent | acb6f5096f566cb9ed41226c8dd95368209cc892 (diff) |
Fix machine-cp by having it to check sub-register indicies. e.g.
ecx = mov eax
al = mov ch
The second copy is not a nop because the sub-indices of ecx,ch is not the
same of that of eax/al.
Re-enabled machine-cp.
PR11940
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@151002 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/Passes.cpp')
-rw-r--r-- | lib/CodeGen/Passes.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/Passes.cpp b/lib/CodeGen/Passes.cpp index 401ca657c4..ec1f2b4c3b 100644 --- a/lib/CodeGen/Passes.cpp +++ b/lib/CodeGen/Passes.cpp @@ -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::init(true)); // PR11940 + cl::desc("Disable Copy Propagation pass")); 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, |