diff options
author | Duncan Sands <baldrick@free.fr> | 2008-10-27 08:42:46 +0000 |
---|---|---|
committer | Duncan Sands <baldrick@free.fr> | 2008-10-27 08:42:46 +0000 |
commit | 7cb07874dcadaa9a5082a80959cd15d44ba3a133 (patch) | |
tree | fbc21ea8f26a9fbd8b110056a60cdd4a502c1d95 /lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp | |
parent | 41fe88b26dab59bedc9e45a43752245b9ec3496a (diff) |
Turn on LegalizeTypes, the new type legalization
codegen infrastructure, by default. Please report
any breakage to the mailing lists.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58232 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp')
-rw-r--r-- | lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp index 98ebebe50e..4e05814b1a 100644 --- a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp +++ b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp @@ -54,7 +54,7 @@ using namespace llvm; static cl::opt<bool> EnableValueProp("enable-value-prop", cl::Hidden); static cl::opt<bool> -EnableLegalizeTypes("enable-legalize-types", cl::Hidden); +DisableLegalizeTypes("disable-legalize-types", cl::Hidden); static cl::opt<bool> EnableFastISelVerbose("fast-isel-verbose", cl::Hidden, cl::desc("Enable verbose messages in the \"fast\" " @@ -572,7 +572,7 @@ void SelectionDAGISel::CodeGenAndEmitDAG() { // Second step, hack on the DAG until it only uses operations and types that // the target supports. - if (EnableLegalizeTypes) {// Enable this some day. + if (!DisableLegalizeTypes) { if (ViewLegalizeTypesDAGs) CurDAG->viewGraph("legalize-types input for " + BlockName); |