mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-30 17:33:24 +00:00
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66777 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
536e66764b
commit
8042255118
@ -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
Block a user