From: Chris Lattner Date: Wed, 12 Apr 2006 17:01:11 +0000 (+0000) Subject: Rename this file X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=c010c13f367eb5e06c3415622000759b938868fe;p=oota-llvm.git Rename this file git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27611 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/CodeGen/PowerPC/buildvec_canonicalize.ll b/test/CodeGen/PowerPC/buildvec_canonicalize.ll new file mode 100644 index 00000000000..345697476a0 --- /dev/null +++ b/test/CodeGen/PowerPC/buildvec_canonicalize.ll @@ -0,0 +1,13 @@ +; RUN: llvm-as < %s | llc -march=ppc32 -mcpu=g5 --enable-unsafe-fp-math | grep vxor | wc -l | grep 1 +; There should be exactly one vxor here. + +void %test(<4 x float>* %P1, <4 x int>* %P2, <4 x float>* %P3) { + %tmp = load <4 x float>* %P3 + %tmp3 = load <4 x float>* %P1 + %tmp4 = mul <4 x float> %tmp, %tmp3 + store <4 x float> %tmp4, <4 x float>* %P3 + store <4 x float> zeroinitializer, <4 x float>* %P1 + store <4 x int> zeroinitializer, <4 x int>* %P2 + ret void +} + diff --git a/test/CodeGen/PowerPC/vxor-canonicalize.ll b/test/CodeGen/PowerPC/vxor-canonicalize.ll deleted file mode 100644 index 345697476a0..00000000000 --- a/test/CodeGen/PowerPC/vxor-canonicalize.ll +++ /dev/null @@ -1,13 +0,0 @@ -; RUN: llvm-as < %s | llc -march=ppc32 -mcpu=g5 --enable-unsafe-fp-math | grep vxor | wc -l | grep 1 -; There should be exactly one vxor here. - -void %test(<4 x float>* %P1, <4 x int>* %P2, <4 x float>* %P3) { - %tmp = load <4 x float>* %P3 - %tmp3 = load <4 x float>* %P1 - %tmp4 = mul <4 x float> %tmp, %tmp3 - store <4 x float> %tmp4, <4 x float>* %P3 - store <4 x float> zeroinitializer, <4 x float>* %P1 - store <4 x int> zeroinitializer, <4 x int>* %P2 - ret void -} -