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/Generic/print-int.ll | |
parent | efec751a1b786724862ceff52748df94873a807e (diff) |
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/Generic/print-int.ll')
-rw-r--r-- | test/CodeGen/Generic/print-int.ll | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/test/CodeGen/Generic/print-int.ll b/test/CodeGen/Generic/print-int.ll index 27cf637e10..58f5047ceb 100644 --- a/test/CodeGen/Generic/print-int.ll +++ b/test/CodeGen/Generic/print-int.ll @@ -1,13 +1,13 @@ -; RUN: llvm-upgrade < %s | llvm-as | llc +; RUN: llvm-as < %s | llc -%.str_1 = internal constant [4 x sbyte] c"%d\0A\00" +@.str_1 = internal constant [4 x i8] c"%d\0A\00" ; <[4 x i8]*> [#uses=1] -declare int %printf(sbyte*, ...) +declare i32 @printf(i8*, ...) -int %main() { - %f = getelementptr [4 x sbyte]* %.str_1, long 0, long 0 - %d = add int 0, 0 - %tmp.0 = call int (sbyte*, ...)* %printf(sbyte* %f, int %d) - ret int 0 +define i32 @main() { + %f = getelementptr [4 x i8]* @.str_1, i64 0, i64 0 ; <i8*> [#uses=1] + %d = add i32 0, 0 ; <i32> [#uses=1] + %tmp.0 = call i32 (i8*, ...)* @printf( i8* %f, i32 %d ) ; <i32> [#uses=0] + ret i32 0 } |