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-26-VaargBreak.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-26-VaargBreak.ll')
-rw-r--r-- | test/CodeGen/Alpha/2006-01-26-VaargBreak.ll | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/test/CodeGen/Alpha/2006-01-26-VaargBreak.ll b/test/CodeGen/Alpha/2006-01-26-VaargBreak.ll index e58152e..05ebe1e 100644 --- a/test/CodeGen/Alpha/2006-01-26-VaargBreak.ll +++ b/test/CodeGen/Alpha/2006-01-26-VaargBreak.ll @@ -1,17 +1,14 @@ ; This shouldn't crash -; RUN: llvm-upgrade < %s | llvm-as | llc -march=alpha +; RUN: llvm-as < %s | llc -march=alpha -; ModuleID = 'simp.bc' -target endian = little -target pointersize = 64 +target datalayout = "e-p:64:64" target triple = "alphaev6-unknown-linux-gnu" deplibs = [ "c", "crtend", "stdc++" ] - %struct.__va_list_tag = type { sbyte*, int } + %struct.__va_list_tag = type { i8*, i32 } -implementation ; Functions: - -uint %emit_library_call_value(int %nargs, ...) { +define i32 @emit_library_call_value(i32 %nargs, ...) { entry: - %tmp.223 = va_arg %struct.__va_list_tag* null, uint ; <uint> [#uses=0] - ret uint %tmp.223 + %tmp.223 = va_arg %struct.__va_list_tag* null, i32 ; <i32> [#uses=1] + ret i32 %tmp.223 } + |