[llvm-commits] CVS: llvm/test/Linker/2003-01-30-LinkerRename.ll 2003-11-18-TypeResolution.ll 2005-12-06-AppendingZeroLengthArrays.ll

Reid Spencer reid at x10sys.com
Fri Jan 26 00:26:05 PST 2007



Changes in directory llvm/test/Linker:

2003-01-30-LinkerRename.ll updated: 1.4 -> 1.5
2003-11-18-TypeResolution.ll updated: 1.2 -> 1.3
2005-12-06-AppendingZeroLengthArrays.ll updated: 1.4 -> 1.5
---
Log message:

For PR761: http://llvm.org/PR761 :
Remove "target endian/pointersize" or add "target datalayout" to make
the test parse properly or set the datalayout because defaults changes.

For PR645: http://llvm.org/PR645 :
Make global names use the @ prefix.

For llvm-upgrade changes:
Fix test cases or completely remove use of llvm-upgrade for test cases 
that cannot survive the new renaming or upgrade capabilities. 



---
Diffs of the changes:  (+5 -5)

 2003-01-30-LinkerRename.ll              |    2 +-
 2003-11-18-TypeResolution.ll            |    2 +-
 2005-12-06-AppendingZeroLengthArrays.ll |    6 +++---
 3 files changed, 5 insertions(+), 5 deletions(-)


Index: llvm/test/Linker/2003-01-30-LinkerRename.ll
diff -u llvm/test/Linker/2003-01-30-LinkerRename.ll:1.4 llvm/test/Linker/2003-01-30-LinkerRename.ll:1.5
--- llvm/test/Linker/2003-01-30-LinkerRename.ll:1.4	Fri Dec 29 14:01:32 2006
+++ llvm/test/Linker/2003-01-30-LinkerRename.ll	Fri Jan 26 02:25:06 2007
@@ -4,7 +4,7 @@
 ; RUN: echo "implementation internal int %foo() { ret int 7 }" | llvm-upgrade |\
 ; RUN:    llvm-as > %t.1.bc
 ; RUN: llvm-upgrade < %s | llvm-as -o %t.2.bc -f
-; RUN: llvm-link %t.[12].bc | llvm-dis | grep '%foo()' | grep -v internal
+; RUN: llvm-link %t.[12].bc | llvm-dis | grep '@foo()' | grep -v internal
 
 implementation
 int %foo() { ret int 0 }


Index: llvm/test/Linker/2003-11-18-TypeResolution.ll
diff -u llvm/test/Linker/2003-11-18-TypeResolution.ll:1.2 llvm/test/Linker/2003-11-18-TypeResolution.ll:1.3
--- llvm/test/Linker/2003-11-18-TypeResolution.ll:1.2	Sat Dec  2 14:40:30 2006
+++ llvm/test/Linker/2003-11-18-TypeResolution.ll	Fri Jan 26 02:25:06 2007
@@ -5,7 +5,7 @@
 ; own.
 
 ; RUN: llvm-upgrade %s | llvm-as > %t.out2.bc
-; RUN: echo "%T1 = type opaque  %GVar = external global %T1*" | llvm-as > %t.out1.bc
+; RUN: echo "%T1 = type opaque  @GVar = external global %T1*" | llvm-as > %t.out1.bc
 ; RUN: llvm-link %t.out[12].bc
 
 	%T1 = type opaque


Index: llvm/test/Linker/2005-12-06-AppendingZeroLengthArrays.ll
diff -u llvm/test/Linker/2005-12-06-AppendingZeroLengthArrays.ll:1.4 llvm/test/Linker/2005-12-06-AppendingZeroLengthArrays.ll:1.5
--- llvm/test/Linker/2005-12-06-AppendingZeroLengthArrays.ll:1.4	Fri Jan  5 12:36:46 2007
+++ llvm/test/Linker/2005-12-06-AppendingZeroLengthArrays.ll	Fri Jan 26 02:25:06 2007
@@ -1,9 +1,9 @@
-; RUN: echo "%G = appending global [0 x int] zeroinitializer" | llvm-upgrade |\
+; RUN: echo "@G = appending global [0 x i32] zeroinitializer" | \
 ; RUN:   llvm-as > %t.out2.bc
 ; RUN: llvm-upgrade < %s | llvm-as > %t.out1.bc
-; RUN: llvm-link %t.out[12].bc | llvm-dis | grep '%G ='
+; RUN: llvm-link %t.out[12].bc | llvm-dis | grep '@G ='
 
 ; When linked, the globals should be merged, and the result should still 
-; be named '%G'.
+; be named '@G'.
 
 %G = appending global [1 x int] zeroinitializer






More information about the llvm-commits mailing list