diff options
| author | Evan Cheng <evan.cheng@apple.com> | 2009-03-12 06:29:49 +0000 |
|---|---|---|
| committer | Evan Cheng <evan.cheng@apple.com> | 2009-03-12 06:29:49 +0000 |
| commit | 4465954638d0b88bf7737580c99c1150d97384d2 (patch) | |
| tree | a52e639c32f267d50affa9ab947fd000c1417de7 | |
| parent | ef0b7cc2d55939f2e524dea451aff4dc508bd7bc (diff) | |
| download | bcm5719-llvm-4465954638d0b88bf7737580c99c1150d97384d2.tar.gz bcm5719-llvm-4465954638d0b88bf7737580c99c1150d97384d2.zip | |
Enable Chris' value propagation change. It make available known sign, zero, one bits information for values that are live out of basic blocks. The goal is to eliminate unnecessary sext, zext, truncate of values that are live-in to blocks. This does not handle PHI nodes yet.
llvm-svn: 66777
| -rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp index e2b1c9edf38..fd2eb0655b2 100644 --- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp @@ -53,8 +53,6 @@ using namespace llvm; static cl::opt<bool> -EnableValueProp("enable-value-prop", cl::Hidden); -static cl::opt<bool> DisableLegalizeTypes("disable-legalize-types", cl::Hidden); #ifndef NDEBUG static cl::opt<bool> @@ -644,7 +642,7 @@ void SelectionDAGISel::CodeGenAndEmitDAG() { if (ViewISelDAGs) CurDAG->viewGraph("isel input for " + BlockName); - if (!Fast && EnableValueProp) + if (!Fast) ComputeLiveOutVRegInfo(); // Third, instruction select all of the operations to machine code, adding the |

