diff options
author | Tanya Lattner <tonic@nondot.org> | 2008-02-19 08:07:33 +0000 |
---|---|---|
committer | Tanya Lattner <tonic@nondot.org> | 2008-02-19 08:07:33 +0000 |
commit | 5ebaf3ba1b5f8f05c01b1d7898a35273e83c1750 (patch) | |
tree | fb23c878019caf961242d6922d065dfae51fb7ca /test/CodeGen/PowerPC/vec_call.ll | |
parent | 660a728f833d167b82e04950e84270d8909c81f1 (diff) | |
download | external_llvm-5ebaf3ba1b5f8f05c01b1d7898a35273e83c1750.zip external_llvm-5ebaf3ba1b5f8f05c01b1d7898a35273e83c1750.tar.gz external_llvm-5ebaf3ba1b5f8f05c01b1d7898a35273e83c1750.tar.bz2 |
Remove llvm-upgrade and update tests.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47325 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/PowerPC/vec_call.ll')
-rw-r--r-- | test/CodeGen/PowerPC/vec_call.ll | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/test/CodeGen/PowerPC/vec_call.ll b/test/CodeGen/PowerPC/vec_call.ll index b2b91fe..8e7a08e 100644 --- a/test/CodeGen/PowerPC/vec_call.ll +++ b/test/CodeGen/PowerPC/vec_call.ll @@ -1,11 +1,11 @@ -; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 -mcpu=g5 +; RUN: llvm-as < %s | llc -march=ppc32 -mcpu=g5 -<4 x int> %test_arg(<4 x int> %A, <4 x int> %B) { - %C = add <4 x int> %A, %B - ret <4 x int> %C +define <4 x i32> @test_arg(<4 x i32> %A, <4 x i32> %B) { + %C = add <4 x i32> %A, %B ; <<4 x i32>> [#uses=1] + ret <4 x i32> %C } -<4 x int> %foo() { - %X = call <4 x int> %test_arg(<4 x int> zeroinitializer, <4 x int> zeroinitializer) - ret <4 x int> %X +define <4 x i32> @foo() { + %X = call <4 x i32> @test_arg( <4 x i32> zeroinitializer, <4 x i32> zeroinitializer ) ; <<4 x i32>> [#uses=1] + ret <4 x i32> %X } |