summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorDuncan Sands <baldrick@free.fr>2008-10-27 08:42:46 +0000
committerDuncan Sands <baldrick@free.fr>2008-10-27 08:42:46 +0000
commit8475d567949f850173e0852319b75a0af75141f1 (patch)
tree460c9b5f61cd561f9967e72b404de166fd2d21c9 /llvm/lib/CodeGen
parentc5a68d26d9fb0ee1cb7449b90a650b014add34b8 (diff)
downloadbcm5719-llvm-8475d567949f850173e0852319b75a0af75141f1.tar.gz
bcm5719-llvm-8475d567949f850173e0852319b75a0af75141f1.zip
Turn on LegalizeTypes, the new type legalization
codegen infrastructure, by default. Please report any breakage to the mailing lists. llvm-svn: 58232
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
index 98ebebe50ec..4e05814b1a1 100644
--- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
+++ b/llvm/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);
OpenPOWER on IntegriCloud