summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-04-02 03:59:11 +0000
committerChris Lattner <sabre@nondot.org>2006-04-02 03:59:11 +0000
commitb80f1147072cf4a30d9907e412174f5eb759a9f1 (patch)
treea4bd6e41dba891c8286ba95b7ebe1047326284bc
parent87f080949bb227aa9ef971c1b959360447e47a7f (diff)
downloadbcm5719-llvm-b80f1147072cf4a30d9907e412174f5eb759a9f1.tar.gz
bcm5719-llvm-b80f1147072cf4a30d9907e412174f5eb759a9f1.zip
add a note
llvm-svn: 27348
-rw-r--r--llvm/lib/Target/PowerPC/README_ALTIVEC.txt11
1 files changed, 11 insertions, 0 deletions
diff --git a/llvm/lib/Target/PowerPC/README_ALTIVEC.txt b/llvm/lib/Target/PowerPC/README_ALTIVEC.txt
index 824dc6cafcf..881ba020f42 100644
--- a/llvm/lib/Target/PowerPC/README_ALTIVEC.txt
+++ b/llvm/lib/Target/PowerPC/README_ALTIVEC.txt
@@ -137,3 +137,14 @@ Instcombine llvm.ppc.altivec.vperm with an immediate into a shuffle operation.
Handle VECTOR_SHUFFLE nodes with the appropriate shuffle mask with vsldoi,
vpkuhum and vpkuwum.
+
+//===----------------------------------------------------------------------===//
+
+Implement multiply for vector integer types, to avoid the horrible scalarized
+code produced by legalize.
+
+void test(vector int *X, vector int *Y) {
+ *X = *X * *Y;
+}
+
+//===----------------------------------------------------------------------===//
OpenPOWER on IntegriCloud