mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-03 13:31:05 +00:00
Turn LegalizeTypes back off again for the moment:
it is breaking Darwin bootstrap due to missing functionality. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53721 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
e99b255b5c
commit
f00e74f4d6
@ -52,7 +52,7 @@ using namespace llvm;
|
||||
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 @@ void SelectionDAGISel::CodeGenAndEmitDAG(SelectionDAG &DAG) {
|
||||
|
||||
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();
|
||||
|
@ -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"
|
||||
|
@ -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]
|
||||
|
@ -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]
|
||||
|
@ -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]
|
||||
|
@ -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]
|
||||
|
Loading…
Reference in New Issue
Block a user