Global variables are not renamed by llvm-upgrade any more.
authorReid Spencer <rspencer@reidspencer.com>
Fri, 5 Jan 2007 18:37:18 +0000 (18:37 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Fri, 5 Jan 2007 18:37:18 +0000 (18:37 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32925 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/X86/loop-hoist.ll
test/CodeGen/X86/packed_struct.ll
test/Linker/2005-12-06-AppendingZeroLengthArrays.ll
test/Linker/weakextern.ll
test/Transforms/GlobalOpt/memcpy.ll

index 32ed381d57ba0c6e2c990e46fa122dfbd0553c65..f85b5f89833f8ce544dcf9850e51d63a8995dadb 100644 (file)
@@ -1,9 +1,9 @@
 ; RUN: llvm-upgrade < %s | llvm-as | \
 ; RUN:   llc -relocation-model=dynamic-no-pic -mtriple=i686-apple-darwin8.7.2 |\
-; RUN:   grep L_Arr.s.non_lazy_ptr &&
+; RUN:   grep L_Arr.non_lazy_ptr &&
 ; RUN: llvm-upgrade < %s | llvm-as | \
 ; RUN:   llc -relocation-model=dynamic-no-pic -mtriple=i686-apple-darwin8.7.2 |\
-; RUN:   %prcontext L_Arr.s.non_lazy_ptr 1 | grep '4(%esp)'
+; RUN:   %prcontext L_Arr.non_lazy_ptr 1 | grep '4(%esp)'
 
 %Arr = external global [0 x int]                ; <[0 x int]*> [#uses=2]
 
index c0aa64661675410105b15e5b1b8f4db2d364c127..172d0812b9a98da140e41730fb2bfd248cc0f1cd 100644 (file)
@@ -1,6 +1,6 @@
-; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86 | grep "foos.s+5" &&
-; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86 | grep "foos.s+1" &&
-; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86 | grep "foos.s+9" &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86 | grep "foos+5" &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86 | grep "foos+1" &&
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86 | grep "foos+9" &&
 ; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86 | grep "bara+19" &&
 ; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86 | grep "bara+4"
 
index a55a2233a6a98517c243a31cd6a77012cde00fec..7aeffdf22b59b53324604c61e9845dcf413c288b 100644 (file)
@@ -1,7 +1,7 @@
 ; RUN: echo "%G = appending global [0 x int] zeroinitializer" | llvm-upgrade |\
 ; 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.s ='
+; 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'.
index 882c6f7c14403b12c3382cbb758f49be261d99c0..3bda535d0ca5ca97f9ae048b215471bb8fb2d2eb 100644 (file)
@@ -1,9 +1,9 @@
 ; RUN: llvm-upgrade < %s | llvm-as > %t.bc
 ; RUN: llvm-upgrade < `dirname %s`/testlink1.ll | llvm-as > %t2.bc
 ; RUN: llvm-link %t.bc %t.bc %t2.bc -o %t1.bc -f
-; RUN: llvm-dis < %t1.bc | grep "kallsyms_names.u = extern_weak" &&
-; RUN: llvm-dis < %t1.bc | grep "MyVar.s = external global i32" &&
-; RUN: llvm-dis < %t1.bc | grep "Inte.s = global i32"
+; RUN: llvm-dis < %t1.bc | grep "kallsyms_names = extern_weak" &&
+; RUN: llvm-dis < %t1.bc | grep "MyVar = external global i32" &&
+; RUN: llvm-dis < %t1.bc | grep "Inte = global i32"
 
 %kallsyms_names = extern_weak global [0 x ubyte]
 %MyVar     = extern_weak global int
index 86b73365f217029723920a33bb4f57734b2dacb1..ea4483f386187f0f601dd048842e32f8691c3532 100644 (file)
@@ -1,5 +1,5 @@
 ; RUN: llvm-upgrade < %s | llvm-as | opt -globalopt | llvm-dis | \
-; RUN:   grep 'G1.s = internal constant'
+; RUN:   grep 'G1 = internal constant'
 
 %G1 = internal global [58 x sbyte] c"asdlfkajsdlfkajsd;lfkajds;lfkjasd;flkajsd;lkfja;sdlkfjasd\00"