diff options
author | Chris Lattner <sabre@nondot.org> | 2006-04-02 03:59:11 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-04-02 03:59:11 +0000 |
commit | c55bfd0265214f18ddd6bf4515bcf2c5a3973f00 (patch) | |
tree | 0379555861c5de7e95a3ca06150205e7bc7a4da4 | |
parent | bc70cf8be95f33f9aa30c8c3d0fd79e3fa636360 (diff) |
add a note
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27348 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Target/PowerPC/README_ALTIVEC.txt | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/Target/PowerPC/README_ALTIVEC.txt b/lib/Target/PowerPC/README_ALTIVEC.txt index 824dc6cafc..881ba020f4 100644 --- a/lib/Target/PowerPC/README_ALTIVEC.txt +++ b/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; +} + +//===----------------------------------------------------------------------===// |