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
This commit is contained in:
Chris Lattner 2006-01-28 05:40:47 +00:00
parent fd4a7f76a9
commit 0c7b4666a3
2 changed files with 7 additions and 1 deletions

View File

@ -1,4 +1,4 @@
//===- PowerPCSubtarget.cpp - PPC Subtarget Information ---------*- C++ -*-===//
//===- PowerPCSubtarget.cpp - PPC Subtarget Information -------------------===//
//
// The LLVM Compiler Infrastructure
//

View File

@ -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.