[llvm-commits] [llvm] r98508 - in /llvm/trunk/test/CodeGen: Generic/2007-02-16-BranchFold.ll Generic/2007-04-13-SwitchLowerBadPhi.ll Generic/2007-05-05-Personality.ll Generic/2007-11-21-UndeadIllegalNode.ll Generic/2007-12-17-InvokeAsm.ll Generic/2007-12-31-UnusedSelector.ll Generic/2008-08-07-PtrToInt-SmallerInt.ll Generic/2009-11-16-BadKillsCrash.ll Generic/GC/ X86/2007-02-16-BranchFold.ll X86/2007-05-05-Personality.ll X86/GC/ X86/GC/redundant_init.ll

Chris Lattner sabre at nondot.org
Sun Mar 14 11:51:18 PDT 2010


Author: lattner
Date: Sun Mar 14 13:51:18 2010
New Revision: 98508

URL: http://llvm.org/viewvc/llvm-project?rev=98508&view=rev
Log:
don't have i386-specific tests in CodeGen/Generic, PR6601.

Added:
    llvm/trunk/test/CodeGen/X86/2007-02-16-BranchFold.ll
      - copied unchanged from r98473, llvm/trunk/test/CodeGen/Generic/2007-02-16-BranchFold.ll
    llvm/trunk/test/CodeGen/X86/2007-05-05-Personality.ll
      - copied unchanged from r98473, llvm/trunk/test/CodeGen/Generic/2007-05-05-Personality.ll
    llvm/trunk/test/CodeGen/X86/GC/
      - copied from r98473, llvm/trunk/test/CodeGen/Generic/GC/
Removed:
    llvm/trunk/test/CodeGen/Generic/2007-02-16-BranchFold.ll
    llvm/trunk/test/CodeGen/Generic/2007-05-05-Personality.ll
    llvm/trunk/test/CodeGen/Generic/GC/
    llvm/trunk/test/CodeGen/X86/GC/redundant_init.ll
Modified:
    llvm/trunk/test/CodeGen/Generic/2007-04-13-SwitchLowerBadPhi.ll
    llvm/trunk/test/CodeGen/Generic/2007-11-21-UndeadIllegalNode.ll
    llvm/trunk/test/CodeGen/Generic/2007-12-17-InvokeAsm.ll
    llvm/trunk/test/CodeGen/Generic/2007-12-31-UnusedSelector.ll
    llvm/trunk/test/CodeGen/Generic/2008-08-07-PtrToInt-SmallerInt.ll
    llvm/trunk/test/CodeGen/Generic/2009-11-16-BadKillsCrash.ll

Removed: llvm/trunk/test/CodeGen/Generic/2007-02-16-BranchFold.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/Generic/2007-02-16-BranchFold.ll?rev=98507&view=auto
==============================================================================
--- llvm/trunk/test/CodeGen/Generic/2007-02-16-BranchFold.ll (original)
+++ llvm/trunk/test/CodeGen/Generic/2007-02-16-BranchFold.ll (removed)
@@ -1,95 +0,0 @@
-; PR 1200
-; RUN: llc < %s -enable-tail-merge=0 | not grep jmp 
-
-; ModuleID = '<stdin>'
-target datalayout = "e-p:32:32"
-target triple = "i686-apple-darwin8"
-	%struct.FILE = type { i8*, i32, i32, i16, i16, %struct.__sbuf, i32, i8*, i32 (i8*)*, i32 (i8*, i8*, i32)*, i64 (i8*, i64, i32)*, i32 (i8*, i8*, i32)*, %struct.__sbuf, %struct.__sFILEX*, i32, [3 x i8], [1 x i8], %struct.__sbuf, i32, i64 }
-	%struct.Index_Map = type { i32, %struct.item_set** }
-	%struct.Item = type { [4 x i16], %struct.rule* }
-	%struct.__sFILEX = type opaque
-	%struct.__sbuf = type { i8*, i32 }
-	%struct.dimension = type { i16*, %struct.Index_Map, %struct.mapping*, i32, %struct.plankMap* }
-	%struct.item_set = type { i32, i32, %struct.operator*, [2 x %struct.item_set*], %struct.item_set*, i16*, %struct.Item*, %struct.Item* }
-	%struct.list = type { i8*, %struct.list* }
-	%struct.mapping = type { %struct.list**, i32, i32, i32, %struct.item_set** }
-	%struct.nonterminal = type { i8*, i32, i32, i32, %struct.plankMap*, %struct.rule* }
-	%struct.operator = type { i8*, i8, i32, i32, i32, i32, %struct.table* }
-	%struct.pattern = type { %struct.nonterminal*, %struct.operator*, [2 x %struct.nonterminal*] }
-	%struct.plank = type { i8*, %struct.list*, i32 }
-	%struct.plankMap = type { %struct.list*, i32, %struct.stateMap* }
-	%struct.rule = type { [4 x i16], i32, i32, i32, %struct.nonterminal*, %struct.pattern*, i8 }
-	%struct.stateMap = type { i8*, %struct.plank*, i32, i16* }
-	%struct.table = type { %struct.operator*, %struct.list*, i16*, [2 x %struct.dimension*], %struct.item_set** }
- at outfile = external global %struct.FILE*		; <%struct.FILE**> [#uses=1]
- at str1 = external global [11 x i8]		; <[11 x i8]*> [#uses=1]
-
-declare i32 @fprintf(%struct.FILE*, i8*, ...)
-
-define i16 @main_bb_2E_i9_2E_i_2E_i932_2E_ce(%struct.list* %l_addr.01.0.i2.i.i929, %struct.operator** %tmp66.i62.i.out) {
-newFuncRoot:
-	br label %bb.i9.i.i932.ce
-
-NewDefault:		; preds = %LeafBlock, %LeafBlock1, %LeafBlock2, %LeafBlock3
-	br label %bb36.i.i.exitStub
-
-bb36.i.i.exitStub:		; preds = %NewDefault
-	store %struct.operator* %tmp66.i62.i, %struct.operator** %tmp66.i62.i.out
-	ret i16 0
-
-bb.i14.i.exitStub:		; preds = %LeafBlock
-	store %struct.operator* %tmp66.i62.i, %struct.operator** %tmp66.i62.i.out
-	ret i16 1
-
-bb12.i.i935.exitStub:		; preds = %LeafBlock1
-	store %struct.operator* %tmp66.i62.i, %struct.operator** %tmp66.i62.i.out
-	ret i16 2
-
-bb20.i.i937.exitStub:		; preds = %LeafBlock2
-	store %struct.operator* %tmp66.i62.i, %struct.operator** %tmp66.i62.i.out
-	ret i16 3
-
-bb28.i.i938.exitStub:		; preds = %LeafBlock3
-	store %struct.operator* %tmp66.i62.i, %struct.operator** %tmp66.i62.i.out
-	ret i16 4
-
-bb.i9.i.i932.ce:		; preds = %newFuncRoot
-	%tmp1.i3.i.i930 = getelementptr %struct.list* %l_addr.01.0.i2.i.i929, i32 0, i32 0		; <i8**> [#uses=1]
-	%tmp2.i4.i.i931 = load i8** %tmp1.i3.i.i930		; <i8*> [#uses=1]
-	%tmp66.i62.i = bitcast i8* %tmp2.i4.i.i931 to %struct.operator*		; <%struct.operator*> [#uses=7]
-	%tmp1.i6.i = getelementptr %struct.operator* %tmp66.i62.i, i32 0, i32 2		; <i32*> [#uses=1]
-	%tmp2.i7.i = load i32* %tmp1.i6.i		; <i32> [#uses=1]
-	%tmp3.i8.i = load %struct.FILE** @outfile		; <%struct.FILE*> [#uses=1]
-	%tmp5.i9.i = call i32 (%struct.FILE*, i8*, ...)* @fprintf( %struct.FILE* %tmp3.i8.i, i8* getelementptr ([11 x i8]* @str1, i32 0, i32 0), i32 %tmp2.i7.i )		; <i32> [#uses=0]
-	%tmp7.i10.i = getelementptr %struct.operator* %tmp66.i62.i, i32 0, i32 5		; <i32*> [#uses=1]
-	%tmp8.i11.i = load i32* %tmp7.i10.i		; <i32> [#uses=7]
-	br label %NodeBlock5
-
-NodeBlock5:		; preds = %bb.i9.i.i932.ce
-	icmp slt i32 %tmp8.i11.i, 1		; <i1>:0 [#uses=1]
-	br i1 %0, label %NodeBlock, label %NodeBlock4
-
-NodeBlock4:		; preds = %NodeBlock5
-	icmp slt i32 %tmp8.i11.i, 2		; <i1>:1 [#uses=1]
-	br i1 %1, label %LeafBlock2, label %LeafBlock3
-
-LeafBlock3:		; preds = %NodeBlock4
-	icmp eq i32 %tmp8.i11.i, 2		; <i1>:2 [#uses=1]
-	br i1 %2, label %bb28.i.i938.exitStub, label %NewDefault
-
-LeafBlock2:		; preds = %NodeBlock4
-	icmp eq i32 %tmp8.i11.i, 1		; <i1>:3 [#uses=1]
-	br i1 %3, label %bb20.i.i937.exitStub, label %NewDefault
-
-NodeBlock:		; preds = %NodeBlock5
-	icmp slt i32 %tmp8.i11.i, 0		; <i1>:4 [#uses=1]
-	br i1 %4, label %LeafBlock, label %LeafBlock1
-
-LeafBlock1:		; preds = %NodeBlock
-	icmp eq i32 %tmp8.i11.i, 0		; <i1>:5 [#uses=1]
-	br i1 %5, label %bb12.i.i935.exitStub, label %NewDefault
-
-LeafBlock:		; preds = %NodeBlock
-	icmp eq i32 %tmp8.i11.i, -1		; <i1>:6 [#uses=1]
-	br i1 %6, label %bb.i14.i.exitStub, label %NewDefault
-}

Modified: llvm/trunk/test/CodeGen/Generic/2007-04-13-SwitchLowerBadPhi.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/Generic/2007-04-13-SwitchLowerBadPhi.ll?rev=98508&r1=98507&r2=98508&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/Generic/2007-04-13-SwitchLowerBadPhi.ll (original)
+++ llvm/trunk/test/CodeGen/Generic/2007-04-13-SwitchLowerBadPhi.ll Sun Mar 14 13:51:18 2010
@@ -1,9 +1,6 @@
 ; RUN: llc < %s -O0
 ; PR 1323
 
-; ModuleID = 'test.bc'
-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"
-target triple = "i686-apple-darwin8"
 	%struct.comp = type { i8*, i32, i8*, [3 x i8], i32 }
 
 define void @regbranch() {

Removed: llvm/trunk/test/CodeGen/Generic/2007-05-05-Personality.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/Generic/2007-05-05-Personality.ll?rev=98507&view=auto
==============================================================================
--- llvm/trunk/test/CodeGen/Generic/2007-05-05-Personality.ll (original)
+++ llvm/trunk/test/CodeGen/Generic/2007-05-05-Personality.ll (removed)
@@ -1,35 +0,0 @@
-; RUN: llc < %s -mtriple=i686-pc-linux-gnu -enable-eh -o - | grep zPL
-
- at error = external global i8		; <i8*> [#uses=2]
-
-define void @_ada_x() {
-entry:
-	invoke void @raise( )
-			to label %eh_then unwind label %unwind
-
-unwind:		; preds = %entry
-	%eh_ptr = tail call i8* @llvm.eh.exception( )		; <i8*> [#uses=2]
-	%eh_select = tail call i32 (i8*, i8*, ...)* @llvm.eh.selector.i32( i8* %eh_ptr, i8* bitcast (i32 (...)* @__gnat_eh_personality to i8*), i8* @error )		; <i32> [#uses=1]
-	%eh_typeid = tail call i32 @llvm.eh.typeid.for.i32( i8* @error )		; <i32> [#uses=1]
-	%tmp2 = icmp eq i32 %eh_select, %eh_typeid		; <i1> [#uses=1]
-	br i1 %tmp2, label %eh_then, label %Unwind
-
-eh_then:		; preds = %unwind, %entry
-	ret void
-
-Unwind:		; preds = %unwind
-	tail call i32 (...)* @_Unwind_Resume( i8* %eh_ptr )		; <i32>:0 [#uses=0]
-	unreachable
-}
-
-declare void @raise()
-
-declare i8* @llvm.eh.exception()
-
-declare i32 @llvm.eh.selector.i32(i8*, i8*, ...)
-
-declare i32 @llvm.eh.typeid.for.i32(i8*)
-
-declare i32 @__gnat_eh_personality(...)
-
-declare i32 @_Unwind_Resume(...)

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=98508&r1=98507&r2=98508&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/Generic/2007-11-21-UndeadIllegalNode.ll (original)
+++ llvm/trunk/test/CodeGen/Generic/2007-11-21-UndeadIllegalNode.ll Sun Mar 14 13:51:18 2010
@@ -1,7 +1,5 @@
 ; RUN: llc < %s -o -
 
-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"
 	%struct.RETURN = type { i32, i32 }
 	%struct.ada__finalization__controlled = type { %struct.system__finalization_root__root_controlled }
 	%struct.ada__streams__root_stream_type = type { %struct.ada__tags__dispatch_table* }

Modified: llvm/trunk/test/CodeGen/Generic/2007-12-17-InvokeAsm.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/Generic/2007-12-17-InvokeAsm.ll?rev=98508&r1=98507&r2=98508&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/Generic/2007-12-17-InvokeAsm.ll (original)
+++ llvm/trunk/test/CodeGen/Generic/2007-12-17-InvokeAsm.ll Sun Mar 14 13:51:18 2010
@@ -1,7 +1,5 @@
 ; RUN: llc < %s -enable-eh
 
-target triple = "i686-pc-linux-gnu"
-
 define fastcc void @bc__support__high_resolution_time__initialize_clock_rate() {
 entry:
 	invoke void asm "rdtsc\0A\09movl %eax, $0\0A\09movl %edx, $1", "=*imr,=*imr,~{dirflag},~{fpsr},~{flags},~{dx},~{ax}"( i32* null, i32* null )

Modified: llvm/trunk/test/CodeGen/Generic/2007-12-31-UnusedSelector.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/Generic/2007-12-31-UnusedSelector.ll?rev=98508&r1=98507&r2=98508&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/Generic/2007-12-31-UnusedSelector.ll (original)
+++ llvm/trunk/test/CodeGen/Generic/2007-12-31-UnusedSelector.ll Sun Mar 14 13:51:18 2010
@@ -1,8 +1,6 @@
 ; RUN: llc < %s -enable-eh
 ; PR1833
 
-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"
 	%struct.__class_type_info_pseudo = type { %struct.__type_info_pseudo }
 	%struct.__type_info_pseudo = type { i8*, i8* }
 @_ZTI2e1 = external constant %struct.__class_type_info_pseudo		; <%struct.__class_type_info_pseudo*> [#uses=1]

Modified: llvm/trunk/test/CodeGen/Generic/2008-08-07-PtrToInt-SmallerInt.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/Generic/2008-08-07-PtrToInt-SmallerInt.ll?rev=98508&r1=98507&r2=98508&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/Generic/2008-08-07-PtrToInt-SmallerInt.ll (original)
+++ llvm/trunk/test/CodeGen/Generic/2008-08-07-PtrToInt-SmallerInt.ll Sun Mar 14 13:51:18 2010
@@ -1,7 +1,5 @@
 ; RUN: llc < %s
 ; PR2603
-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 = "i386-pc-linux-gnu"
         %struct.A = type { i8 }
         %struct.B = type { i8, [1 x i8] }
 @Foo = constant %struct.A { i8 ptrtoint (i8* getelementptr ([1 x i8]* inttoptr (i32 17 to [1 x i8]*), i32 0, i32 -16) to i8) }          ; <%struct.A*> [#uses=0]

Modified: llvm/trunk/test/CodeGen/Generic/2009-11-16-BadKillsCrash.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/Generic/2009-11-16-BadKillsCrash.ll?rev=98508&r1=98507&r2=98508&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/Generic/2009-11-16-BadKillsCrash.ll (original)
+++ llvm/trunk/test/CodeGen/Generic/2009-11-16-BadKillsCrash.ll Sun Mar 14 13:51:18 2010
@@ -1,7 +1,5 @@
 ; RUN: llc < %s
 ; PR5495
-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-n8:16:32"
-target triple = "i386-pc-linux-gnu"
 
 %"struct.std::__ctype_abstract_base<wchar_t>" = type { %"struct.std::locale::facet" }
 %"struct.std::basic_ios<char,std::char_traits<char> >" = type { %"struct.std::ios_base", %"struct.std::basic_ostream<char,std::char_traits<char> >"*, i8, i8, %"struct.std::basic_streambuf<char,std::char_traits<char> >"*, %"struct.std::ctype<char>"*, %"struct.std::__ctype_abstract_base<wchar_t>"*, %"struct.std::__ctype_abstract_base<wchar_t>"* }

Removed: llvm/trunk/test/CodeGen/X86/GC/redundant_init.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/Generic/GC/redundant_init.ll?rev=98473&view=auto
==============================================================================
--- llvm/trunk/test/CodeGen/X86/GC/redundant_init.ll (original)
+++ llvm/trunk/test/CodeGen/X86/GC/redundant_init.ll (removed)
@@ -1,17 +0,0 @@
-; RUN: llc < %s -march=x86 | \
-; RUN:   ignore grep {movl..0} | count 0
-
-%struct.obj = type { i8*, %struct.obj* }
-
-declare void @g() gc "shadow-stack"
-
-define void @f(i8* %o) gc "shadow-stack" {
-entry:
-	%root = alloca i8*
-	call void @llvm.gcroot(i8** %root, i8* null)
-	store i8* %o, i8** %root
-	call void @g()
-	ret void
-}
-
-declare void @llvm.gcroot(i8**, i8*)





More information about the llvm-commits mailing list