From e3ff5ada8a8f6cc166ecc45147da0d63c3683026 Mon Sep 17 00:00:00 2001 From: Reid Spencer Date: Fri, 26 Jan 2007 08:25:06 +0000 Subject: For PR761: Remove "target endian/pointersize" or add "target datalayout" to make the test parse properly or set the datalayout because defaults changes. For 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33533 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Linker/2003-01-30-LinkerRename.ll | 2 +- test/Linker/2003-11-18-TypeResolution.ll | 2 +- test/Linker/2005-12-06-AppendingZeroLengthArrays.ll | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'test/Linker') diff --git a/test/Linker/2003-01-30-LinkerRename.ll b/test/Linker/2003-01-30-LinkerRename.ll index 724a2a8..3e4c50c 100644 --- a/test/Linker/2003-01-30-LinkerRename.ll +++ b/test/Linker/2003-01-30-LinkerRename.ll @@ -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 } diff --git a/test/Linker/2003-11-18-TypeResolution.ll b/test/Linker/2003-11-18-TypeResolution.ll index 79d9fa4..07af969 100644 --- a/test/Linker/2003-11-18-TypeResolution.ll +++ b/test/Linker/2003-11-18-TypeResolution.ll @@ -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 diff --git a/test/Linker/2005-12-06-AppendingZeroLengthArrays.ll b/test/Linker/2005-12-06-AppendingZeroLengthArrays.ll index 7aeffdf..4c94f54 100644 --- a/test/Linker/2005-12-06-AppendingZeroLengthArrays.ll +++ b/test/Linker/2005-12-06-AppendingZeroLengthArrays.ll @@ -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 -- cgit v1.1