From 969097968c2f845caa6085abfc357ad53eb18956 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sat, 28 Jan 2006 05:40:47 +0000 Subject: [PATCH] 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 --- lib/Target/PowerPC/PPCSubtarget.cpp | 2 +- lib/Target/PowerPC/README.txt | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/lib/Target/PowerPC/PPCSubtarget.cpp b/lib/Target/PowerPC/PPCSubtarget.cpp index f43c18d7dfa..c7a34280ea7 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 149c2db34e8..3d0736d65ea 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. +