For PR1070:

Tweak the RUN: lines of these tests to accommodate the renaming of
variables done by llvm-upgrade. The renaming occurs as a result of avoiding
name collisons for collapsed type planes. Conflicting names have a .u
(unsigned) or .s (signed) suffix added. This patch updates the grep
expression to accommodate the new names.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32815 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Reid Spencer
2007-01-02 05:55:05 +00:00
parent 8aabc9eb23
commit 7e6b4f7a6d
8 changed files with 25 additions and 19 deletions

View File

@@ -2,8 +2,8 @@
; 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 = extern_weak" &&
; RUN: llvm-dis < %t1.bc | grep "MyVar = external global i32" &&
; RUN: llvm-dis < %t1.bc | grep "Inte = global i32"
; RUN: llvm-dis < %t1.bc | grep "MyVar.s = external global i32" &&
; RUN: llvm-dis < %t1.bc | grep "Inte.s = global i32"
%kallsyms_names = extern_weak global [0 x ubyte]
%MyVar = extern_weak global int