[llvm-commits] [llvm] r53721 - in /llvm/trunk: lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp test/CodeGen/Generic/2007-11-21-UndeadIllegalNode.ll test/CodeGen/Generic/APIntLoadStore.ll test/CodeGen/Generic/APIntParam.ll test/CodeGen/Generic/APIntSextParam.ll test/CodeGen/Generic/APIntZextParam.ll
Duncan Sands
baldrick at free.fr
Thu Jul 17 10:06:04 PDT 2008
Author: baldrick
Date: Thu Jul 17 12:06:03 2008
New Revision: 53721
URL: http://llvm.org/viewvc/llvm-project?rev=53721&view=rev
Log:
Turn LegalizeTypes back off again for the moment:
it is breaking Darwin bootstrap due to missing
functionality.
Modified:
llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
llvm/trunk/test/CodeGen/Generic/2007-11-21-UndeadIllegalNode.ll
llvm/trunk/test/CodeGen/Generic/APIntLoadStore.ll
llvm/trunk/test/CodeGen/Generic/APIntParam.ll
llvm/trunk/test/CodeGen/Generic/APIntSextParam.ll
llvm/trunk/test/CodeGen/Generic/APIntZextParam.ll
Modified: llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp?rev=53721&r1=53720&r2=53721&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp (original)
+++ llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp Thu Jul 17 12:06:03 2008
@@ -52,7 +52,7 @@
static cl::opt<bool>
EnableValueProp("enable-value-prop", cl::Hidden);
static cl::opt<bool>
-DisableLegalizeTypes("disable-legalize-types", cl::Hidden);
+EnableLegalizeTypes("enable-legalize-types", cl::Hidden);
#ifndef NDEBUG
@@ -5296,16 +5296,14 @@
DOUT << "Optimized lowered selection DAG:\n";
DEBUG(DAG.dump());
-
+
// Second step, hack on the DAG until it only uses operations and types that
// the target supports.
- if (!DisableLegalizeTypes) {// Remove this some day.
+ if (EnableLegalizeTypes) {// Enable this some day.
DAG.LegalizeTypes();
- DOUT << "Type legalized selection DAG:\n";
- DEBUG(DAG.dump());
// TODO: enable a dag combine pass here.
}
-
+
if (TimePassesIsEnabled) {
NamedRegionTimer T("DAG Legalization", GroupName);
DAG.Legalize();
Modified: llvm/trunk/test/CodeGen/Generic/2007-11-21-UndeadIllegalNode.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/Generic/2007-11-21-UndeadIllegalNode.ll?rev=53721&r1=53720&r2=53721&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/Generic/2007-11-21-UndeadIllegalNode.ll (original)
+++ llvm/trunk/test/CodeGen/Generic/2007-11-21-UndeadIllegalNode.ll Thu Jul 17 12:06:03 2008
@@ -1,4 +1,6 @@
; RUN: llvm-as < %s | llc -o -
+; XFAIL: *
+; Un-XFAIL this once LegalizeDAGTypes is turned on.
target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:32:32"
target triple = "i686-pc-linux-gnu"
Modified: llvm/trunk/test/CodeGen/Generic/APIntLoadStore.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/Generic/APIntLoadStore.ll?rev=53721&r1=53720&r2=53721&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/Generic/APIntLoadStore.ll (original)
+++ llvm/trunk/test/CodeGen/Generic/APIntLoadStore.ll Thu Jul 17 12:06:03 2008
@@ -1,4 +1,5 @@
; RUN: llvm-as < %s | llc
+; XFAIL: *
@i1_l = external global i1 ; <i1*> [#uses=1]
@i1_s = external global i1 ; <i1*> [#uses=1]
@i2_l = external global i2 ; <i2*> [#uses=1]
Modified: llvm/trunk/test/CodeGen/Generic/APIntParam.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/Generic/APIntParam.ll?rev=53721&r1=53720&r2=53721&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/Generic/APIntParam.ll (original)
+++ llvm/trunk/test/CodeGen/Generic/APIntParam.ll Thu Jul 17 12:06:03 2008
@@ -1,4 +1,5 @@
; RUN: llvm-as < %s | llc
+; XFAIL: *
@i1_s = external global i1 ; <i1*> [#uses=1]
@i2_s = external global i2 ; <i2*> [#uses=1]
@i3_s = external global i3 ; <i3*> [#uses=1]
Modified: llvm/trunk/test/CodeGen/Generic/APIntSextParam.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/Generic/APIntSextParam.ll?rev=53721&r1=53720&r2=53721&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/Generic/APIntSextParam.ll (original)
+++ llvm/trunk/test/CodeGen/Generic/APIntSextParam.ll Thu Jul 17 12:06:03 2008
@@ -1,4 +1,5 @@
; RUN: llvm-as < %s | llc
+; XFAIL: *
@i1_s = external global i1 ; <i1*> [#uses=1]
@i2_s = external global i2 ; <i2*> [#uses=1]
@i3_s = external global i3 ; <i3*> [#uses=1]
Modified: llvm/trunk/test/CodeGen/Generic/APIntZextParam.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/Generic/APIntZextParam.ll?rev=53721&r1=53720&r2=53721&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/Generic/APIntZextParam.ll (original)
+++ llvm/trunk/test/CodeGen/Generic/APIntZextParam.ll Thu Jul 17 12:06:03 2008
@@ -1,4 +1,5 @@
; RUN: llvm-as < %s | llc
+; XFAIL: *
@i1_s = external global i1 ; <i1*> [#uses=1]
@i2_s = external global i2 ; <i2*> [#uses=1]
@i3_s = external global i3 ; <i3*> [#uses=1]
More information about the llvm-commits
mailing list