mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-23 15:29:51 +00:00
7e6b4f7a6d
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
13 lines
479 B
LLVM
13 lines
479 B
LLVM
; 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 = extern_weak" &&
|
|
; 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
|
|
%Inte = extern_weak global int
|
|
|
|
implementation
|