diff options
author | Chris Lattner <sabre@nondot.org> | 2006-01-28 05:40:47 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-01-28 05:40:47 +0000 |
commit | 969097968c2f845caa6085abfc357ad53eb18956 (patch) | |
tree | c7370237951b0365d35dfc8e93727a04fb1ab3e1 | |
parent | 8137c9e41d69943ac84066e6c7a95390b84e29f2 (diff) | |
download | external_llvm-969097968c2f845caa6085abfc357ad53eb18956.tar.gz external_llvm-969097968c2f845caa6085abfc357ad53eb18956.tar.bz2 external_llvm-969097968c2f845caa6085abfc357ad53eb18956.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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25733 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Target/PowerPC/PPCSubtarget.cpp | 2 | ||||
-rw-r--r-- | lib/Target/PowerPC/README.txt | 6 |
2 files changed, 7 insertions, 1 deletions
diff --git a/lib/Target/PowerPC/PPCSubtarget.cpp b/lib/Target/PowerPC/PPCSubtarget.cpp index f43c18d7df..c7a34280ea 100644 --- a/lib/Target/PowerPC/PPCSubtarget.cpp +++ b/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/lib/Target/PowerPC/README.txt b/lib/Target/PowerPC/README.txt index 149c2db34e..3d0736d65e 100644 --- a/lib/Target/PowerPC/README.txt +++ b/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. + |