summaryrefslogtreecommitdiff
path: root/test/CodeGen/PowerPC/vec_mul.ll
diff options
context:
space:
mode:
authorTanya Lattner <tonic@nondot.org>2008-02-19 08:07:33 +0000
committerTanya Lattner <tonic@nondot.org>2008-02-19 08:07:33 +0000
commitcfab3da46e1e8e9ed4fafa018e0d28bb5913dde2 (patch)
treefb23c878019caf961242d6922d065dfae51fb7ca /test/CodeGen/PowerPC/vec_mul.ll
parent1459c5d8e1fe827a7e4b6d790452b4b64dade634 (diff)
downloadllvm-cfab3da46e1e8e9ed4fafa018e0d28bb5913dde2.tar.gz
llvm-cfab3da46e1e8e9ed4fafa018e0d28bb5913dde2.tar.bz2
llvm-cfab3da46e1e8e9ed4fafa018e0d28bb5913dde2.tar.xz
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_mul.ll')
-rw-r--r--test/CodeGen/PowerPC/vec_mul.ll35
1 files changed, 17 insertions, 18 deletions
diff --git a/test/CodeGen/PowerPC/vec_mul.ll b/test/CodeGen/PowerPC/vec_mul.ll
index eea1deff7c..b061fa9a54 100644
--- a/test/CodeGen/PowerPC/vec_mul.ll
+++ b/test/CodeGen/PowerPC/vec_mul.ll
@@ -1,24 +1,23 @@
-; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 -mcpu=g5 | not grep mullw
-; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 -mcpu=g5 | grep vmsumuhm
+; RUN: llvm-as < %s | llc -march=ppc32 -mcpu=g5 | not grep mullw
+; RUN: llvm-as < %s | llc -march=ppc32 -mcpu=g5 | grep vmsumuhm
-<4 x int> %test_v4i32(<4 x int>* %X, <4 x int>* %Y) {
- %tmp = load <4 x int>* %X
- %tmp2 = load <4 x int>* %Y
- %tmp3 = mul <4 x int> %tmp, %tmp2
- ret <4 x int> %tmp3
+define <4 x i32> @test_v4i32(<4 x i32>* %X, <4 x i32>* %Y) {
+ %tmp = load <4 x i32>* %X ; <<4 x i32>> [#uses=1]
+ %tmp2 = load <4 x i32>* %Y ; <<4 x i32>> [#uses=1]
+ %tmp3 = mul <4 x i32> %tmp, %tmp2 ; <<4 x i32>> [#uses=1]
+ ret <4 x i32> %tmp3
}
-<8 x short> %test_v8i16(<8 x short>* %X, <8 x short>* %Y) {
- %tmp = load <8 x short>* %X
- %tmp2 = load <8 x short>* %Y
- %tmp3 = mul <8 x short> %tmp, %tmp2
- ret <8 x short> %tmp3
+define <8 x i16> @test_v8i16(<8 x i16>* %X, <8 x i16>* %Y) {
+ %tmp = load <8 x i16>* %X ; <<8 x i16>> [#uses=1]
+ %tmp2 = load <8 x i16>* %Y ; <<8 x i16>> [#uses=1]
+ %tmp3 = mul <8 x i16> %tmp, %tmp2 ; <<8 x i16>> [#uses=1]
+ ret <8 x i16> %tmp3
}
-<16 x sbyte> %test_v16i8(<16 x sbyte>* %X, <16 x sbyte>* %Y) {
- %tmp = load <16 x sbyte>* %X
- %tmp2 = load <16 x sbyte>* %Y
- %tmp3 = mul <16 x sbyte> %tmp, %tmp2
- ret <16 x sbyte> %tmp3
+define <16 x i8> @test_v16i8(<16 x i8>* %X, <16 x i8>* %Y) {
+ %tmp = load <16 x i8>* %X ; <<16 x i8>> [#uses=1]
+ %tmp2 = load <16 x i8>* %Y ; <<16 x i8>> [#uses=1]
+ %tmp3 = mul <16 x i8> %tmp, %tmp2 ; <<16 x i8>> [#uses=1]
+ ret <16 x i8> %tmp3
}
-