diff options
author | Tanya Lattner <tonic@nondot.org> | 2008-02-19 01:41:04 +0000 |
---|---|---|
committer | Tanya Lattner <tonic@nondot.org> | 2008-02-19 01:41:04 +0000 |
commit | 53a66d10f01ebfeac7b8e59ca677f2cf2d4a3b26 (patch) | |
tree | 896c6dee3a55f268ea98656237c7954799fd8ec7 /test/CodeGen/Alpha/2006-01-18-MissedGlobal.ll | |
parent | efec751a1b786724862ceff52748df94873a807e (diff) | |
download | external_llvm-53a66d10f01ebfeac7b8e59ca677f2cf2d4a3b26.zip external_llvm-53a66d10f01ebfeac7b8e59ca677f2cf2d4a3b26.tar.gz external_llvm-53a66d10f01ebfeac7b8e59ca677f2cf2d4a3b26.tar.bz2 |
Remove llvm-upgrade and update tests.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47296 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/Alpha/2006-01-18-MissedGlobal.ll')
-rw-r--r-- | test/CodeGen/Alpha/2006-01-18-MissedGlobal.ll | 41 |
1 files changed, 19 insertions, 22 deletions
diff --git a/test/CodeGen/Alpha/2006-01-18-MissedGlobal.ll b/test/CodeGen/Alpha/2006-01-18-MissedGlobal.ll index f0a5c17..f89997e 100644 --- a/test/CodeGen/Alpha/2006-01-18-MissedGlobal.ll +++ b/test/CodeGen/Alpha/2006-01-18-MissedGlobal.ll @@ -1,30 +1,27 @@ ; The global symbol should be legalized -; RUN: llvm-upgrade < %s | llvm-as | llc -march=alpha +; RUN: llvm-as < %s | llc -march=alpha -target endian = little -target pointersize = 64 - %struct.LIST_HELP = type { %struct.LIST_HELP*, sbyte* } - %struct._IO_FILE = type { int, sbyte*, sbyte*, sbyte*, sbyte*, sbyte*, sbyte*, sbyte*, sbyte*, sbyte*, sbyte*, sbyte*, %struct._IO_marker*, %struct._IO_FILE*, int, int, long, ushort, sbyte, [1 x sbyte], sbyte*, long, sbyte*, sbyte*, int, [44 x sbyte] } - %struct._IO_marker = type { %struct._IO_marker*, %struct._IO_FILE*, int } -%clause_SORT = external global [21 x %struct.LIST_HELP*] ; <[21 x %struct.LIST_HELP*]*> [#uses=1] -%ia_in = external global %struct._IO_FILE* ; <%struct._IO_FILE**> [#uses=1] -%multvec_j = external global [100 x uint] ; <[100 x uint]*> [#uses=1] +target datalayout = "e-p:64:64" + %struct.LIST_HELP = type { %struct.LIST_HELP*, i8* } + %struct._IO_FILE = type { i32, i8*, i8*, i8*, i8*, i8*, i8*, i8*, i8*, i8*, i8*, i8*, %struct._IO_marker*, %struct._IO_FILE*, i32, i32, i64, i16, i8, [1 x i8], i8*, i64, i8*, i8*, i32, [44 x i8] } + %struct._IO_marker = type { %struct._IO_marker*, %struct._IO_FILE*, i32 } +@clause_SORT = external global [21 x %struct.LIST_HELP*] ; <[21 x %struct.LIST_HELP*]*> [#uses=0] +@ia_in = external global %struct._IO_FILE* ; <%struct._IO_FILE**> [#uses=1] +@multvec_j = external global [100 x i32] ; <[100 x i32]*> [#uses=0] -implementation ; Functions: - -void %main(int %argc) { +define void @main(i32 %argc) { clock_Init.exit: - %tmp.5.i575 = load int* null ; <int> [#uses=1] - %tmp.309 = seteq int %tmp.5.i575, 0 ; <bool> [#uses=1] - br bool %tmp.309, label %UnifiedReturnBlock, label %then.17 + %tmp.5.i575 = load i32* null ; <i32> [#uses=1] + %tmp.309 = icmp eq i32 %tmp.5.i575, 0 ; <i1> [#uses=1] + br i1 %tmp.309, label %UnifiedReturnBlock, label %then.17 -then.17: ; preds = %clock_Init.exit - store %struct._IO_FILE* null, %struct._IO_FILE** %ia_in - %savedstack = call sbyte* %llvm.stacksave( ) ; <sbyte*> [#uses=0] - ret void +then.17: ; preds = %clock_Init.exit + store %struct._IO_FILE* null, %struct._IO_FILE** @ia_in + %savedstack = call i8* @llvm.stacksave( ) ; <i8*> [#uses=0] + ret void -UnifiedReturnBlock: ; preds = %clock_Init.exit - ret void +UnifiedReturnBlock: ; preds = %clock_Init.exit + ret void } -declare sbyte* %llvm.stacksave() +declare i8* @llvm.stacksave() |