remove some crufy old tests that aren't adding much value
llvm-svn: 134819
This commit is contained in:
parent
48e3f13853
commit
d9f299a635
|
@ -1,11 +0,0 @@
|
||||||
; RUN: llvm-as %s -o /dev/null
|
|
||||||
|
|
||||||
; This testcase failed due to a bad assertion in SymbolTable.cpp, removed in
|
|
||||||
; the 1.20 revision. Basically the symbol table assumed that if there was an
|
|
||||||
; abstract type in the symbol table, [in this case for the entry %foo of type
|
|
||||||
; void(opaque)* ], that there should have also been named types by now. This
|
|
||||||
; was obviously not the case here, and this is valid. Assertion disabled.
|
|
||||||
|
|
||||||
%bb = type i32
|
|
||||||
|
|
||||||
declare void @foo(i32)
|
|
|
@ -1,23 +0,0 @@
|
||||||
; RUN: llvm-as %s -o /dev/null
|
|
||||||
|
|
||||||
; This testcase used to fail due to a lack of this diff in Value.cpp:
|
|
||||||
; diff -r1.16 Value.cpp
|
|
||||||
; 11c11
|
|
||||||
; < #include "llvm/Type.h"
|
|
||||||
; ---
|
|
||||||
; > #include "llvm/DerivedTypes.h"
|
|
||||||
; 74c74,76
|
|
||||||
; < assert(Ty.get() == (const Type*)OldTy &&"Can't refine anything but my type!");
|
|
||||||
; ---
|
|
||||||
; > assert(Ty.get() == OldTy &&"Can't refine anything but my type!");
|
|
||||||
; > if (OldTy == NewTy && !OldTy->isAbstract())
|
|
||||||
; > Ty.removeUserFromConcrete();
|
|
||||||
;
|
|
||||||
; This was causing an assertion failure, due to the "foo" Method object never
|
|
||||||
; releasing it's reference to the opaque %bb value.
|
|
||||||
;
|
|
||||||
|
|
||||||
%bb = type i32
|
|
||||||
%exception_descriptor = type i32
|
|
||||||
|
|
||||||
declare void @foo(i32)
|
|
|
@ -1,3 +0,0 @@
|
||||||
; RUN: llvm-as %s -o /dev/null
|
|
||||||
|
|
||||||
%Hosp = type { { \2*, { \2, %Hosp }* }, { \2*, { \2, %Hosp }* } }
|
|
|
@ -1,7 +0,0 @@
|
||||||
; RUN: llvm-as %s -o /dev/null
|
|
||||||
|
|
||||||
%T = type i32 *
|
|
||||||
|
|
||||||
define %T @test() {
|
|
||||||
ret %T null
|
|
||||||
}
|
|
|
@ -1,67 +0,0 @@
|
||||||
; This file takes about 48 __MINUTES__ to assemble using as. This is WAY too
|
|
||||||
; long. The type resolution code needs to be sped up a lot.
|
|
||||||
; RUN: llvm-as %s -o /dev/null
|
|
||||||
%ALL_INTERSECTIONS_METHOD = type i32 (%OBJECT*, %RAY*, %ISTACK*)*
|
|
||||||
%BBOX = type { %BBOX_VECT, %BBOX_VECT }
|
|
||||||
%BBOX_TREE = type { i16, i16, %BBOX, %BBOX_TREE** }
|
|
||||||
%BBOX_VECT = type [3 x float]
|
|
||||||
%BLEND_MAP = type { i16, i16, i16, i32, %BLEND_MAP_ENTRY* }
|
|
||||||
%BLEND_MAP_ENTRY = type { float, i8, { %COLOUR, %PIGMENT*, %TNORMAL*, %TEXTURE*, %UV_VECT } }
|
|
||||||
%CAMERA = type { %VECTOR, %VECTOR, %VECTOR, %VECTOR, %VECTOR, %VECTOR, double, double, i32, double, double, i32, double, %TNORMAL* }
|
|
||||||
%COLOUR = type [5 x float]
|
|
||||||
%COPY_METHOD = type i8* (%OBJECT*)*
|
|
||||||
%COUNTER = type { i32, i32 }
|
|
||||||
%DENSITY_FILE = type { i32, %DENSITY_FILE_DATA* }
|
|
||||||
%DENSITY_FILE_DATA = type { i32, i8*, i32, i32, i32, i8*** }
|
|
||||||
%DESTROY_METHOD = type void (%OBJECT*)*
|
|
||||||
%FILE = type { i32, i8*, i8*, i8, i8, i32, i32, i32 }
|
|
||||||
%FILE_HANDLE = type { i8*, i32, i32, i32, i32, i8*, %FILE*, i32, i32 (%FILE_HANDLE*, i8*, i32*, i32*, i32, i32)*, void (%FILE_HANDLE*, %COLOUR*, i32)*, i32 (%FILE_HANDLE*, %COLOUR*, i32*)*, void (%IMAGE*, i8*)*, void (%FILE_HANDLE*)* }
|
|
||||||
%FINISH = type { float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, %BBOX_VECT, %BBOX_VECT }
|
|
||||||
%FOG = type { i32, double, double, double, %COLOUR, %VECTOR, %TURB*, float, %FOG* }
|
|
||||||
%FRAME = type { %CAMERA*, i32, i32, i32, %LIGHT_SOURCE*, %OBJECT*, double, double, %COLOUR, %COLOUR, %COLOUR, %IMEDIA*, %FOG*, %RAINBOW*, %SKYSPHERE* }
|
|
||||||
%FRAMESEQ = type { i32, double, i32, i32, double, i32, i32, double, i32, double, i32, double, i32, i32 }
|
|
||||||
%IMAGE = type { i32, i32, i32, i32, i32, i16, i16, %VECTOR, float, float, i32, i32, i16, %IMAGE_COLOUR*, { %IMAGE_LINE*, i8** } }
|
|
||||||
%IMAGE_COLOUR = type { i16, i16, i16, i16, i16 }
|
|
||||||
%IMAGE_LINE = type { i8*, i8*, i8*, i8* }
|
|
||||||
%IMEDIA = type { i32, i32, i32, i32, i32, double, double, i32, i32, i32, i32, %COLOUR, %COLOUR, %COLOUR, %COLOUR, double, double, double, double*, %PIGMENT*, %IMEDIA* }
|
|
||||||
%INSIDE_METHOD = type i32 (double*, %OBJECT*)*
|
|
||||||
%INTERIOR = type { i32, i32, float, float, float, float, float, %IMEDIA* }
|
|
||||||
%INTERSECTION = type { double, %VECTOR, %VECTOR, %OBJECT*, i32, i32, double, double, i8* }
|
|
||||||
%INVERT_METHOD = type void (%OBJECT*)*
|
|
||||||
%ISTACK = type { %ISTACK*, %INTERSECTION*, i32 }
|
|
||||||
%LIGHT_SOURCE = type { %METHODS*, i32, %OBJECT*, %TEXTURE*, %INTERIOR*, %OBJECT*, %OBJECT*, %BBOX, i32, %OBJECT*, %COLOUR, %VECTOR, %VECTOR, %VECTOR, %VECTOR, %VECTOR, double, double, double, double, double, %LIGHT_SOURCE*, i8, i8, i8, i8, i32, i32, i32, i32, i32, %COLOUR**, %OBJECT*, [6 x %PROJECT_TREE_NODE*] }
|
|
||||||
%MATRIX = type [4 x %VECTOR_4D]
|
|
||||||
%METHODS = type { %ALL_INTERSECTIONS_METHOD, %INSIDE_METHOD, %NORMAL_METHOD, %COPY_METHOD, %ROTATE_METHOD, %ROTATE_METHOD, %ROTATE_METHOD, %TRANSFORM_METHOD, %DESTROY_METHOD, %DESTROY_METHOD }
|
|
||||||
%NORMAL_METHOD = type void (double*, %OBJECT*, %INTERSECTION*)*
|
|
||||||
%OBJECT = type { %METHODS*, i32, %OBJECT*, %TEXTURE*, %INTERIOR*, %OBJECT*, %OBJECT*, %BBOX, i32 }
|
|
||||||
%Opts = type { i32, i32, i8, i8, i8, i32, [150 x i8], [150 x i8], [150 x i8], [150 x i8], [150 x i8], double, double, i32, i32, double, double, i32, [25 x i8*], i32, i32, i32, double, double, i32, i32, double, double, double, i32, i32, i32, i32, i32, %FRAMESEQ, double, i32, double, double, double, double, double, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, [150 x i8], %SHELLDATA*, [150 x i8], i32, i32 }
|
|
||||||
%PIGMENT = type { i16, i16, i16, i32, float, float, float, %WARP*, %TPATTERN*, %BLEND_MAP*, { %DENSITY_FILE*, %IMAGE*, %VECTOR, float, i16, i16, i16, { float, %VECTOR }, %complex.float }, %COLOUR }
|
|
||||||
%PRIORITY_QUEUE = type { i32, i32, %QELEM* }
|
|
||||||
%PROJECT = type { i32, i32, i32, i32 }
|
|
||||||
%PROJECT_QUEUE = type { i32, i32, %PROJECT_TREE_NODE** }
|
|
||||||
%PROJECT_TREE_NODE = type { i16, %BBOX_TREE*, %PROJECT, i16, %PROJECT_TREE_NODE** }
|
|
||||||
%QELEM = type { double, %BBOX_TREE* }
|
|
||||||
%RAINBOW = type { double, double, double, double, double, double, double, %VECTOR, %VECTOR, %VECTOR, %PIGMENT*, %RAINBOW* }
|
|
||||||
%RAY = type { %VECTOR, %VECTOR, i32, [100 x %INTERIOR*] }
|
|
||||||
%RAYINFO = type { %VECTOR, %VECTOR, %VECTORI, %VECTORI }
|
|
||||||
%RGB = type [3 x float]
|
|
||||||
%ROTATE_METHOD = type void (%OBJECT*, double*, %TRANSFORM*)*
|
|
||||||
%SCALE_METHOD = type void (%OBJECT*, double*, %TRANSFORM*)*
|
|
||||||
%SHELLDATA = type { i32, i32, [250 x i8] }
|
|
||||||
%SKYSPHERE = type { i32, %PIGMENT**, %TRANSFORM* }
|
|
||||||
%SNGL_VECT = type [3 x float]
|
|
||||||
%TEXTURE = type { i16, i16, i16, i32, float, float, float, %WARP*, %TPATTERN*, %BLEND_MAP*, { %DENSITY_FILE*, %IMAGE*, %VECTOR, float, i16, i16, i16, { float, %VECTOR }, %complex.float }, %TEXTURE*, %PIGMENT*, %TNORMAL*, %FINISH*, %TEXTURE*, i32 }
|
|
||||||
%TNORMAL = type { i16, i16, i16, i32, float, float, float, %WARP*, %TPATTERN*, %BLEND_MAP*, { %DENSITY_FILE*, %IMAGE*, %VECTOR, float, i16, i16, i16, { float, %VECTOR }, %complex.float }, float }
|
|
||||||
%TPATTERN = type { i16, i16, i16, i32, float, float, float, %WARP*, %TPATTERN*, %BLEND_MAP*, { %DENSITY_FILE*, %IMAGE*, %VECTOR, float, i16, i16, i16, { float, %VECTOR }, %complex.float } }
|
|
||||||
%TRANSFORM = type { %MATRIX, %MATRIX }
|
|
||||||
%TRANSFORM_METHOD = type void (%OBJECT*, %TRANSFORM*)*
|
|
||||||
%TRANSLATE_METHOD = type void (%OBJECT*, double*, %TRANSFORM*)*
|
|
||||||
%TURB = type { i16, %WARP*, %VECTOR, i32, float, float }
|
|
||||||
%UV_VECT = type [2 x double]
|
|
||||||
%VECTOR = type [3 x double]
|
|
||||||
%VECTORI = type [3 x i32]
|
|
||||||
%VECTOR_4D = type [4 x double]
|
|
||||||
%WARP = type { i16, %WARP* }
|
|
||||||
%__FILE = type { i32, i8*, i8*, i8, i8, i32, i32, i32 }
|
|
||||||
%_h_val = type { [2 x i32], double }
|
|
||||||
%complex.float = type { float, float }
|
|
|
@ -1,13 +0,0 @@
|
||||||
; Make sure we don't get an assertion failure, even though this is a parse
|
|
||||||
; error
|
|
||||||
; RUN: not llvm-as %s -o /dev/null |& grep {'@foo' defined with}
|
|
||||||
|
|
||||||
%ty = type void (i32)
|
|
||||||
|
|
||||||
declare %ty* @foo()
|
|
||||||
|
|
||||||
define void @test() {
|
|
||||||
call %ty* @foo( ) ; <%ty*>:0 [#uses=0]
|
|
||||||
ret void
|
|
||||||
}
|
|
||||||
|
|
|
@ -1,3 +0,0 @@
|
||||||
; RUN: llvm-as %s -o /dev/null
|
|
||||||
|
|
||||||
%MidFnTy = type void (%MidFnTy*)
|
|
|
@ -1,6 +0,0 @@
|
||||||
; RUN: llvm-as %s -o /dev/null
|
|
||||||
|
|
||||||
%T = type i32
|
|
||||||
@X = global i32* null ; <i32**> [#uses=0]
|
|
||||||
@Y = global i32* null ; <i32**> [#uses=0]
|
|
||||||
|
|
|
@ -1,55 +0,0 @@
|
||||||
; RUN: not llvm-as %s -o /dev/null |& grep {use of undefined type named 'struct.D_Scope'}
|
|
||||||
; END.
|
|
||||||
|
|
||||||
@d_reduction_0_dparser_gram = global {
|
|
||||||
i32 (i8*, i8**, i32, i32, {
|
|
||||||
%struct.Grammar*, void (\4, %struct.d_loc_t*, i8**)*, %struct.D_Scope*,
|
|
||||||
void (\4)*, { i32, %struct.d_loc_t, i8*, i8*, %struct.D_Scope*,
|
|
||||||
void (\8, %struct.d_loc_t*, i8**)*, %struct.Grammar*,
|
|
||||||
%struct.ParseNode_User }* (\4, i32, { i32, %struct.d_loc_t, i8*, i8*,
|
|
||||||
%struct.D_Scope*, void (\9, %struct.d_loc_t*, i8**)*, %struct.Grammar*,
|
|
||||||
%struct.ParseNode_User }**)*,
|
|
||||||
void ({ i32, %struct.d_loc_t, i8*, i8*, %struct.D_Scope*,
|
|
||||||
void (\8, %struct.d_loc_t*, i8**)*,
|
|
||||||
%struct.Grammar*, %struct.ParseNode_User }*)*,
|
|
||||||
%struct.d_loc_t, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32,
|
|
||||||
i32 }*)*,
|
|
||||||
i32 (i8*, i8**, i32, i32, { %struct.Grammar*,
|
|
||||||
void (\4, %struct.d_loc_t*, i8**)*, %struct.D_Scope*, void (\4)*, {
|
|
||||||
i32, %struct.d_loc_t, i8*, i8*, %struct.D_Scope*,
|
|
||||||
void (\8, %struct.d_loc_t*, i8**)*, %struct.Grammar*,
|
|
||||||
%struct.ParseNode_User }* (\4, i32, { i32, %struct.d_loc_t, i8*, i8*,
|
|
||||||
%struct.D_Scope*, void (\9, %struct.d_loc_t*, i8**)*,
|
|
||||||
%struct.Grammar*, %struct.ParseNode_User }**)*,
|
|
||||||
void ({ i32, %struct.d_loc_t, i8*, i8*, %struct.D_Scope*,
|
|
||||||
void (\8, %struct.d_loc_t*, i8**)*, %struct.Grammar*,
|
|
||||||
%struct.ParseNode_User }*)*, %struct.d_loc_t, i32, i32, i32, i32,
|
|
||||||
i32, i32, i32, i32, i32, i32, i32, i32 }*)** }
|
|
||||||
|
|
||||||
{ i32 (i8*, i8**, i32, i32, {
|
|
||||||
%struct.Grammar*, void (\4, %struct.d_loc_t*, i8**)*,
|
|
||||||
%struct.D_Scope*, void (\4)*, {
|
|
||||||
i32, %struct.d_loc_t, i8*, i8*, %struct.D_Scope*,
|
|
||||||
void (\8, %struct.d_loc_t*, i8**)*, %struct.Grammar*,
|
|
||||||
%struct.ParseNode_User
|
|
||||||
}* (\4, i32, { i32, %struct.d_loc_t, i8*, i8*, %struct.D_Scope*,
|
|
||||||
void (\9, %struct.d_loc_t*, i8**)*, %struct.Grammar*,
|
|
||||||
%struct.ParseNode_User }**)*,
|
|
||||||
void ({ i32, %struct.d_loc_t, i8*, i8*, %struct.D_Scope*,
|
|
||||||
void (\8, %struct.d_loc_t*, i8**)*, %struct.Grammar*,
|
|
||||||
%struct.ParseNode_User }*)*,
|
|
||||||
%struct.d_loc_t, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32,
|
|
||||||
i32, i32 }*)* null,
|
|
||||||
i32 (i8*, i8**, i32, i32, {
|
|
||||||
%struct.Grammar*, void (\4, %struct.d_loc_t*, i8**)*,
|
|
||||||
%struct.D_Scope*, void (\4)*, { i32, %struct.d_loc_t, i8*, i8*,
|
|
||||||
%struct.D_Scope*, void (\8, %struct.d_loc_t*, i8**)*,
|
|
||||||
%struct.Grammar*, %struct.ParseNode_User }* (\4, i32, { i32,
|
|
||||||
%struct.d_loc_t, i8*, i8*, %struct.D_Scope*,
|
|
||||||
void (\9, %struct.d_loc_t*, i8**)*, %struct.Grammar*,
|
|
||||||
%struct.ParseNode_User }**)*,
|
|
||||||
void ({ i32, %struct.d_loc_t, i8*, i8*, %struct.D_Scope*,
|
|
||||||
void (\8, %struct.d_loc_t*, i8**)*, %struct.Grammar*,
|
|
||||||
%struct.ParseNode_User }*)*, %struct.d_loc_t, i32, i32, i32,
|
|
||||||
i32, i32, i32, i32, i32, i32, i32, i32, i32 }*)** null
|
|
||||||
}
|
|
|
@ -1,6 +0,0 @@
|
||||||
; RUN: llvm-as < %s | llvm-dis | llvm-as | llvm-dis
|
|
||||||
; PR2733
|
|
||||||
|
|
||||||
%t1 = type i32
|
|
||||||
%t2 = type { %t1 }
|
|
||||||
@i1 = constant %t2 { %t1 15 }
|
|
Loading…
Reference in New Issue