Author: evancheng
Date: Mon Jul 30 02:52:03 2007
New Revision: 40587

URL: http://llvm.org/viewvc/llvm-project?rev=40587&view=rev
Log:
New test case.

Added:
    llvm/trunk/test/CodeGen/PowerPC/vec_fneg.ll

Added: llvm/trunk/test/CodeGen/PowerPC/vec_fneg.ll
URL: 
http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/vec_fneg.ll?rev=40587&view=auto

==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/vec_fneg.ll (added)
+++ llvm/trunk/test/CodeGen/PowerPC/vec_fneg.ll Mon Jul 30 02:52:03 2007
@@ -0,0 +1,8 @@
+; RUN: llvm-as < %s | llc -march=ppc32 -mcpu=g5 | grep vsubfp
+
+define void @t(<4 x float>* %A) {
+       %tmp2 = load <4 x float>* %A
+       %tmp3 = sub <4 x float> < float -0.000000e+00, float -0.000000e+00, 
float -0.000000e+00, float -0.000000e+00 >, %tmp2
+       store <4 x float> %tmp3, <4 x float>* %A
+       ret void
+}


_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to