[llvm-commits] CVS: llvm/lib/Target/PowerPC/PPCSubtarget.cpp README.txt

Chris Lattner lattner at cs.uiuc.edu
Fri Jan 27 21:40:58 PST 2006



Changes in directory llvm/lib/Target/PowerPC:

PPCSubtarget.cpp updated: 1.16 -> 1.17
README.txt updated: 1.47 -> 1.48
---
Log message:

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.



---
Diffs of the changes:  (+7 -1)

 PPCSubtarget.cpp |    2 +-
 README.txt       |    6 ++++++
 2 files changed, 7 insertions(+), 1 deletion(-)


Index: llvm/lib/Target/PowerPC/PPCSubtarget.cpp
diff -u llvm/lib/Target/PowerPC/PPCSubtarget.cpp:1.16 llvm/lib/Target/PowerPC/PPCSubtarget.cpp:1.17
--- llvm/lib/Target/PowerPC/PPCSubtarget.cpp:1.16	Thu Nov 17 12:55:48 2005
+++ llvm/lib/Target/PowerPC/PPCSubtarget.cpp	Fri Jan 27 23:40:47 2006
@@ -1,4 +1,4 @@
-//===- PowerPCSubtarget.cpp - PPC Subtarget Information ---------*- C++ -*-===//
+//===- PowerPCSubtarget.cpp - PPC Subtarget Information -------------------===//
 //
 //                     The LLVM Compiler Infrastructure
 //


Index: llvm/lib/Target/PowerPC/README.txt
diff -u llvm/lib/Target/PowerPC/README.txt:1.47 llvm/lib/Target/PowerPC/README.txt:1.48
--- llvm/lib/Target/PowerPC/README.txt:1.47	Fri Jan 27 19:22:10 2006
+++ llvm/lib/Target/PowerPC/README.txt	Fri Jan 27 23:40:47 2006
@@ -396,3 +396,9 @@
 
 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.
+






More information about the llvm-commits mailing list