[llvm-branch-commits] [llvm-branch] r133578 - /llvm/branches/type-system-rewrite/test/Assembler/

Chris Lattner sabre at nondot.org
Tue Jun 21 16:30:48 PDT 2011


Author: lattner
Date: Tue Jun 21 18:30:48 2011
New Revision: 133578

URL: http://llvm.org/viewvc/llvm-project?rev=133578&view=rev
Log:
remove tests using obsolete syntax, like upreferences.  Modify a few that might be useful to use valid syntax.

Removed:
    llvm/branches/type-system-rewrite/test/Assembler/2002-01-24-BadSymbolTableAssert.ll
    llvm/branches/type-system-rewrite/test/Assembler/2002-01-24-ValueRefineAbsType.ll
    llvm/branches/type-system-rewrite/test/Assembler/2002-02-19-TypeParsing.ll
    llvm/branches/type-system-rewrite/test/Assembler/2002-04-05-TypeParsing.ll
    llvm/branches/type-system-rewrite/test/Assembler/2002-05-02-ParseError.ll
    llvm/branches/type-system-rewrite/test/Assembler/2002-07-08-HugePerformanceProblem.ll
    llvm/branches/type-system-rewrite/test/Assembler/2002-07-25-ParserAssertionFailure.ll
    llvm/branches/type-system-rewrite/test/Assembler/2003-06-30-RecursiveTypeProblem.ll
    llvm/branches/type-system-rewrite/test/Assembler/2003-10-04-NotMergingGlobalConstants.ll
    llvm/branches/type-system-rewrite/test/Assembler/2003-12-30-TypeMapInvalidMemory.ll
    llvm/branches/type-system-rewrite/test/Assembler/2008-10-14-NamedTypeOnInteger.ll
Modified:
    llvm/branches/type-system-rewrite/test/Assembler/2002-07-25-ReturnPtrFunction.ll
    llvm/branches/type-system-rewrite/test/Assembler/2002-12-15-GlobalResolve.ll
    llvm/branches/type-system-rewrite/test/Assembler/2004-11-28-InvalidTypeCrash.ll
    llvm/branches/type-system-rewrite/test/Assembler/getelementptr.ll

Removed: llvm/branches/type-system-rewrite/test/Assembler/2002-01-24-BadSymbolTableAssert.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/type-system-rewrite/test/Assembler/2002-01-24-BadSymbolTableAssert.ll?rev=133577&view=auto
==============================================================================
--- llvm/branches/type-system-rewrite/test/Assembler/2002-01-24-BadSymbolTableAssert.ll (original)
+++ llvm/branches/type-system-rewrite/test/Assembler/2002-01-24-BadSymbolTableAssert.ll (removed)
@@ -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)

Removed: llvm/branches/type-system-rewrite/test/Assembler/2002-01-24-ValueRefineAbsType.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/type-system-rewrite/test/Assembler/2002-01-24-ValueRefineAbsType.ll?rev=133577&view=auto
==============================================================================
--- llvm/branches/type-system-rewrite/test/Assembler/2002-01-24-ValueRefineAbsType.ll (original)
+++ llvm/branches/type-system-rewrite/test/Assembler/2002-01-24-ValueRefineAbsType.ll (removed)
@@ -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)

Removed: llvm/branches/type-system-rewrite/test/Assembler/2002-02-19-TypeParsing.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/type-system-rewrite/test/Assembler/2002-02-19-TypeParsing.ll?rev=133577&view=auto
==============================================================================
--- llvm/branches/type-system-rewrite/test/Assembler/2002-02-19-TypeParsing.ll (original)
+++ llvm/branches/type-system-rewrite/test/Assembler/2002-02-19-TypeParsing.ll (removed)
@@ -1,3 +0,0 @@
-; RUN: llvm-as %s -o /dev/null
-	
-%Hosp = type { i32, i32, i32, { \2*, { i32, i32, i32, { [4 x \3], \2, \5, %Hosp, i32, i32 }* }*, \2* }, { \2*, { i32, i32, i32, { [4 x \3], \2, \5, %Hosp, i32, i32 }* }*, \2* }, { \2*, { i32, i32, i32, { [4 x \3], \2, \5, %Hosp, i32, i32 }* }*, \2* }, { \2*, { i32, i32, i32, { [4 x \3], \2, \5, %Hosp, i32, i32 }* }*, \2* } }

Removed: llvm/branches/type-system-rewrite/test/Assembler/2002-04-05-TypeParsing.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/type-system-rewrite/test/Assembler/2002-04-05-TypeParsing.ll?rev=133577&view=auto
==============================================================================
--- llvm/branches/type-system-rewrite/test/Assembler/2002-04-05-TypeParsing.ll (original)
+++ llvm/branches/type-system-rewrite/test/Assembler/2002-04-05-TypeParsing.ll (removed)
@@ -1,3 +0,0 @@
-; RUN: llvm-as %s -o /dev/null
-  
- %Hosp = type { { \2*, { \2, %Hosp }* }, { \2*, { \2, %Hosp }* } }

Removed: llvm/branches/type-system-rewrite/test/Assembler/2002-05-02-ParseError.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/type-system-rewrite/test/Assembler/2002-05-02-ParseError.ll?rev=133577&view=auto
==============================================================================
--- llvm/branches/type-system-rewrite/test/Assembler/2002-05-02-ParseError.ll (original)
+++ llvm/branches/type-system-rewrite/test/Assembler/2002-05-02-ParseError.ll (removed)
@@ -1,7 +0,0 @@
-; RUN: llvm-as %s -o /dev/null
-
-%T = type i32 *
-
-define %T @test() {
-	ret %T null
-}

Removed: llvm/branches/type-system-rewrite/test/Assembler/2002-07-08-HugePerformanceProblem.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/type-system-rewrite/test/Assembler/2002-07-08-HugePerformanceProblem.ll?rev=133577&view=auto
==============================================================================
--- llvm/branches/type-system-rewrite/test/Assembler/2002-07-08-HugePerformanceProblem.ll (original)
+++ llvm/branches/type-system-rewrite/test/Assembler/2002-07-08-HugePerformanceProblem.ll (removed)
@@ -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 }

Removed: llvm/branches/type-system-rewrite/test/Assembler/2002-07-25-ParserAssertionFailure.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/type-system-rewrite/test/Assembler/2002-07-25-ParserAssertionFailure.ll?rev=133577&view=auto
==============================================================================
--- llvm/branches/type-system-rewrite/test/Assembler/2002-07-25-ParserAssertionFailure.ll (original)
+++ llvm/branches/type-system-rewrite/test/Assembler/2002-07-25-ParserAssertionFailure.ll (removed)
@@ -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
-}
-

Modified: llvm/branches/type-system-rewrite/test/Assembler/2002-07-25-ReturnPtrFunction.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/type-system-rewrite/test/Assembler/2002-07-25-ReturnPtrFunction.ll?rev=133578&r1=133577&r2=133578&view=diff
==============================================================================
--- llvm/branches/type-system-rewrite/test/Assembler/2002-07-25-ReturnPtrFunction.ll (original)
+++ llvm/branches/type-system-rewrite/test/Assembler/2002-07-25-ReturnPtrFunction.ll Tue Jun 21 18:30:48 2011
@@ -3,12 +3,10 @@
 ;
 ; RUN: llvm-as < %s | llvm-dis | llvm-as
 
-%ty = type void (i32)
-
-declare %ty* @foo()
+declare void (i32)* @foo()
 
 define void @test() {
-        call %ty* ()* @foo( )           ; <%ty*>:1 [#uses=0]
+        call void (i32)* ()* @foo( )           ; <%ty*>:1 [#uses=0]
         ret void
 }
 

Modified: llvm/branches/type-system-rewrite/test/Assembler/2002-12-15-GlobalResolve.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/type-system-rewrite/test/Assembler/2002-12-15-GlobalResolve.ll?rev=133578&r1=133577&r2=133578&view=diff
==============================================================================
--- llvm/branches/type-system-rewrite/test/Assembler/2002-12-15-GlobalResolve.ll (original)
+++ llvm/branches/type-system-rewrite/test/Assembler/2002-12-15-GlobalResolve.ll Tue Jun 21 18:30:48 2011
@@ -4,4 +4,4 @@
 @X1 = external global %T* 
 @X2 = external global i32*
 
-%T = type i32
+%T = type {i32}

Removed: llvm/branches/type-system-rewrite/test/Assembler/2003-06-30-RecursiveTypeProblem.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/type-system-rewrite/test/Assembler/2003-06-30-RecursiveTypeProblem.ll?rev=133577&view=auto
==============================================================================
--- llvm/branches/type-system-rewrite/test/Assembler/2003-06-30-RecursiveTypeProblem.ll (original)
+++ llvm/branches/type-system-rewrite/test/Assembler/2003-06-30-RecursiveTypeProblem.ll (removed)
@@ -1,3 +0,0 @@
-; RUN: llvm-as %s -o /dev/null
-
-%MidFnTy = type void (%MidFnTy*)

Removed: llvm/branches/type-system-rewrite/test/Assembler/2003-10-04-NotMergingGlobalConstants.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/type-system-rewrite/test/Assembler/2003-10-04-NotMergingGlobalConstants.ll?rev=133577&view=auto
==============================================================================
--- llvm/branches/type-system-rewrite/test/Assembler/2003-10-04-NotMergingGlobalConstants.ll (original)
+++ llvm/branches/type-system-rewrite/test/Assembler/2003-10-04-NotMergingGlobalConstants.ll (removed)
@@ -1,6 +0,0 @@
-; RUN: llvm-as %s -o /dev/null
-
-%T = type i32
- at X = global i32* null           ; <i32**> [#uses=0]
- at Y = global i32* null           ; <i32**> [#uses=0]
-

Removed: llvm/branches/type-system-rewrite/test/Assembler/2003-12-30-TypeMapInvalidMemory.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/type-system-rewrite/test/Assembler/2003-12-30-TypeMapInvalidMemory.ll?rev=133577&view=auto
==============================================================================
--- llvm/branches/type-system-rewrite/test/Assembler/2003-12-30-TypeMapInvalidMemory.ll (original)
+++ llvm/branches/type-system-rewrite/test/Assembler/2003-12-30-TypeMapInvalidMemory.ll (removed)
@@ -1,55 +0,0 @@
-; RUN: not llvm-as %s -o /dev/null |& grep {use of undefined type named 'struct.D_Scope'}
-; END.
-
- at 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 
-        }

Modified: llvm/branches/type-system-rewrite/test/Assembler/2004-11-28-InvalidTypeCrash.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/type-system-rewrite/test/Assembler/2004-11-28-InvalidTypeCrash.ll?rev=133578&r1=133577&r2=133578&view=diff
==============================================================================
--- llvm/branches/type-system-rewrite/test/Assembler/2004-11-28-InvalidTypeCrash.ll (original)
+++ llvm/branches/type-system-rewrite/test/Assembler/2004-11-28-InvalidTypeCrash.ll Tue Jun 21 18:30:48 2011
@@ -1,4 +1,4 @@
 ; Test for PR463.  This program is erroneous, but should not crash llvm-as.
-; RUN: not llvm-as %s -o /dev/null |& grep {invalid type for null constant}
+; RUN: not llvm-as %s -o /dev/null |& grep {use of undefined type named 'struct.none'}
 
 @.FOO  = internal global %struct.none zeroinitializer

Removed: llvm/branches/type-system-rewrite/test/Assembler/2008-10-14-NamedTypeOnInteger.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/type-system-rewrite/test/Assembler/2008-10-14-NamedTypeOnInteger.ll?rev=133577&view=auto
==============================================================================
--- llvm/branches/type-system-rewrite/test/Assembler/2008-10-14-NamedTypeOnInteger.ll (original)
+++ llvm/branches/type-system-rewrite/test/Assembler/2008-10-14-NamedTypeOnInteger.ll (removed)
@@ -1,6 +0,0 @@
-; RUN: llvm-as < %s | llvm-dis | llvm-as | llvm-dis
-; PR2733
-
-%t1 = type i32
-%t2 = type { %t1 }
- at i1 = constant %t2 { %t1 15 } 

Modified: llvm/branches/type-system-rewrite/test/Assembler/getelementptr.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/type-system-rewrite/test/Assembler/getelementptr.ll?rev=133578&r1=133577&r2=133578&view=diff
==============================================================================
--- llvm/branches/type-system-rewrite/test/Assembler/getelementptr.ll (original)
+++ llvm/branches/type-system-rewrite/test/Assembler/getelementptr.ll Tue Jun 21 18:30:48 2011
@@ -9,13 +9,13 @@
 
 ;; Verify that i16 indices work.
 @x = external global {i32, i32}
- at y = global i32* getelementptr ({i32, i32}* @x, i16 42, i32 0)
-; CHECK: @y = global i32* getelementptr (%0* @x, i16 42, i32 0)
+ at y = global i32* getelementptr ({ i32, i32 }* @x, i16 42, i32 0)
+; CHECK: @y = global i32* getelementptr ({ i32, i32 }* @x, i16 42, i32 0)
 
 ; see if i92 indices work too.
 define i32 *@test({i32, i32}* %t, i92 %n) {
 ; CHECK: @test
-; CHECK: %B = getelementptr %0* %t, i92 %n, i32 0
+; CHECK: %B = getelementptr { i32, i32 }* %t, i92 %n, i32 0
   %B = getelementptr {i32, i32}* %t, i92 %n, i32 0
   ret i32* %B
 }





More information about the llvm-branch-commits mailing list