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 | 3f04773f7884c1c7b8b89dddfb177b1f41f54c56 (patch) | |
tree | 8c66730e481d8ce70c0a8e082bfdbadc0badcc4b /llvm/test/CodeGen/CBackend/2003-05-13-VarArgFunction.ll | |
parent | 22011e90c992533411d2efc17f5efd365a636117 (diff) | |
download | bcm5719-llvm-3f04773f7884c1c7b8b89dddfb177b1f41f54c56.tar.gz bcm5719-llvm-3f04773f7884c1c7b8b89dddfb177b1f41f54c56.zip |
Remove llvm-upgrade and update tests.
llvm-svn: 47296
Diffstat (limited to 'llvm/test/CodeGen/CBackend/2003-05-13-VarArgFunction.ll')
-rw-r--r-- | llvm/test/CodeGen/CBackend/2003-05-13-VarArgFunction.ll | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/llvm/test/CodeGen/CBackend/2003-05-13-VarArgFunction.ll b/llvm/test/CodeGen/CBackend/2003-05-13-VarArgFunction.ll index 1e08b2d61f3..2a4e839d737 100644 --- a/llvm/test/CodeGen/CBackend/2003-05-13-VarArgFunction.ll +++ b/llvm/test/CodeGen/CBackend/2003-05-13-VarArgFunction.ll @@ -1,10 +1,11 @@ -; RUN: llvm-upgrade < %s | llvm-as | llc -march=c +; RUN: llvm-as < %s | llc -march=c ; This testcase breaks the C backend, because gcc doesn't like (...) functions ; with no arguments at all. -void %test(long %Ptr) { - %P = cast long %Ptr to void(...) * - call void(...)* %P(long %Ptr) - ret void +define void @test(i64 %Ptr) { + %P = inttoptr i64 %Ptr to void (...)* ; <void (...)*> [#uses=1] + call void (...)* %P( i64 %Ptr ) + ret void } + |