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
This commit is contained in:
parent
ef0b7cc2d5
commit
4465954638
|
@ -52,8 +52,6 @@
|
|||
#include <algorithm>
|
||||
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
|
||||
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue