[llvm-branch-commits] [llvm-branch] r134509 - in /llvm/branches/type-system-rewrite/test/Linker: 2003-08-23-GlobalVarLinking.ll 2003-08-23-RecursiveOpaqueTypeResolve.ll

Chris Lattner sabre at nondot.org
Wed Jul 6 10:50:48 PDT 2011


Author: lattner
Date: Wed Jul  6 12:50:48 2011
New Revision: 134509

URL: http://llvm.org/viewvc/llvm-project?rev=134509&view=rev
Log:
upgrade the syntax of these tests.

Modified:
    llvm/branches/type-system-rewrite/test/Linker/2003-08-23-GlobalVarLinking.ll
    llvm/branches/type-system-rewrite/test/Linker/2003-08-23-RecursiveOpaqueTypeResolve.ll

Modified: llvm/branches/type-system-rewrite/test/Linker/2003-08-23-GlobalVarLinking.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/type-system-rewrite/test/Linker/2003-08-23-GlobalVarLinking.ll?rev=134509&r1=134508&r2=134509&view=diff
==============================================================================
--- llvm/branches/type-system-rewrite/test/Linker/2003-08-23-GlobalVarLinking.ll (original)
+++ llvm/branches/type-system-rewrite/test/Linker/2003-08-23-GlobalVarLinking.ll Wed Jul  6 12:50:48 2011
@@ -1,5 +1,5 @@
 ; RUN: llvm-as < %s > %t.out1.bc
-; RUN: echo {@S = external global \{ i32, opaque* \} declare void @F(opaque*)}\
+; RUN: echo {%T1 = type opaque %T2 = type opaque @S = external global \{ i32, %T1* \} declare void @F(%T2*)}\
 ; RUN:   | llvm-as > %t.out2.bc
 ; RUN: llvm-link %t.out1.bc %t.out2.bc -S | not grep opaque
 

Modified: llvm/branches/type-system-rewrite/test/Linker/2003-08-23-RecursiveOpaqueTypeResolve.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/type-system-rewrite/test/Linker/2003-08-23-RecursiveOpaqueTypeResolve.ll?rev=134509&r1=134508&r2=134509&view=diff
==============================================================================
--- llvm/branches/type-system-rewrite/test/Linker/2003-08-23-RecursiveOpaqueTypeResolve.ll (original)
+++ llvm/branches/type-system-rewrite/test/Linker/2003-08-23-RecursiveOpaqueTypeResolve.ll Wed Jul  6 12:50:48 2011
@@ -5,5 +5,6 @@
 ; RUN: echo "%M = type { %M*, i32* }" | llvm-as > %t.out2.bc
 ; RUN: llvm-link %t.out1.bc %t.out2.bc
 
-%M = type { %M*, opaque* }
+%T1 = type opaque
+%M = type { %M*, %T1* }
 





More information about the llvm-branch-commits mailing list