From 4465954638d0b88bf7737580c99c1150d97384d2 Mon Sep 17 00:00:00 2001 From: Evan Cheng Date: Thu, 12 Mar 2009 06:29:49 +0000 Subject: [PATCH] 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 --- llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp index e2b1c9edf38c..fd2eb0655b29 100644 --- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp @@ -52,8 +52,6 @@ #include using namespace llvm; -static cl::opt -EnableValueProp("enable-value-prop", cl::Hidden); static cl::opt DisableLegalizeTypes("disable-legalize-types", cl::Hidden); #ifndef NDEBUG @@ -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