summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-01-28 05:40:47 +0000
committerChris Lattner <sabre@nondot.org>2006-01-28 05:40:47 +0000
commit0c7b4666a36bda8fa21d60438657cde72f126c41 (patch)
tree5a2c8a2c52d4869d9389b75dc3e39e5f19bac737
parentfd4a7f76a9853c98f9e0a49deffc38b698dce294 (diff)
downloadbcm5719-llvm-0c7b4666a36bda8fa21d60438657cde72f126c41.tar.gz
bcm5719-llvm-0c7b4666a36bda8fa21d60438657cde72f126c41.zip
add a note about how we should implement this FIXME from the legalizer:
// FIXME: revisit this when we have some kind of mechanism by which targets // can decided legality of vector constants, of which there may be very // many. llvm-svn: 25733
-rw-r--r--llvm/lib/Target/PowerPC/PPCSubtarget.cpp2
-rw-r--r--llvm/lib/Target/PowerPC/README.txt6
2 files changed, 7 insertions, 1 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCSubtarget.cpp b/llvm/lib/Target/PowerPC/PPCSubtarget.cpp
index f43c18d7dfa..c7a34280ea7 100644
--- a/llvm/lib/Target/PowerPC/PPCSubtarget.cpp
+++ b/llvm/lib/Target/PowerPC/PPCSubtarget.cpp
@@ -1,4 +1,4 @@
-//===- PowerPCSubtarget.cpp - PPC Subtarget Information ---------*- C++ -*-===//
+//===- PowerPCSubtarget.cpp - PPC Subtarget Information -------------------===//
//
// The LLVM Compiler Infrastructure
//
diff --git a/llvm/lib/Target/PowerPC/README.txt b/llvm/lib/Target/PowerPC/README.txt
index 149c2db34e8..3d0736d65ea 100644
--- a/llvm/lib/Target/PowerPC/README.txt
+++ b/llvm/lib/Target/PowerPC/README.txt
@@ -396,3 +396,9 @@ of the GOT on targets with one).
Generate lwbrx and other byteswapping load/store instructions when reasonable.
+===-------------------------------------------------------------------------===
+
+Implement TargetConstantVec, and set up PPC to custom lower ConstantVec into
+TargetConstantVec's if it's one of the many forms that are algorithmically
+computable using the spiffy altivec instructions.
+
OpenPOWER on IntegriCloud