[llvm-commits] CVS: llvm/include/llvm/Target/TargetLowering.h
Chris Lattner
lattner at cs.uiuc.edu
Thu Mar 30 16:46:38 PST 2006
Changes in directory llvm/include/llvm/Target:
TargetLowering.h updated: 1.64 -> 1.65
---
Log message:
Modify the TargetLowering::getPackedTypeBreakdown method to also return the
unpromoted element type.
---
Diffs of the changes: (+6 -3)
TargetLowering.h | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
Index: llvm/include/llvm/Target/TargetLowering.h
diff -u llvm/include/llvm/Target/TargetLowering.h:1.64 llvm/include/llvm/Target/TargetLowering.h:1.65
--- llvm/include/llvm/Target/TargetLowering.h:1.64 Thu Mar 30 18:28:23 2006
+++ llvm/include/llvm/Target/TargetLowering.h Thu Mar 30 18:46:26 2006
@@ -178,10 +178,13 @@
/// with Altivec or SSE1, or 8 promoted MVT::f64 values with the X86 FP stack.
/// Similarly, <2 x long> turns into 4 MVT::i32 values with both PPC and X86.
///
- /// This method returns the number and type of the resultant breakdown.
+ /// This method returns the number of registers needed, and the VT for each
+ /// register. It also returns the VT of the PackedType elements before they
+ /// are promoted/expanded.
///
- MVT::ValueType getPackedTypeBreakdown(const PackedType *PTy,
- unsigned &NE) const;
+ unsigned getPackedTypeBreakdown(const PackedType *PTy,
+ MVT::ValueType &PTyElementVT,
+ MVT::ValueType &PTyLegalElementVT) const;
typedef std::vector<double>::const_iterator legal_fpimm_iterator;
legal_fpimm_iterator legal_fpimm_begin() const {
More information about the llvm-commits
mailing list