Changes in directory llvm/lib/Target:
TargetLowering.cpp updated: 1.64 -> 1.65 --- Log message: Fix an obvious bug in getPackedTypeBreakdown. Return 1 if type is legal. --- Diffs of the changes: (+2 -2) TargetLowering.cpp | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Index: llvm/lib/Target/TargetLowering.cpp diff -u llvm/lib/Target/TargetLowering.cpp:1.64 llvm/lib/Target/TargetLowering.cpp:1.65 --- llvm/lib/Target/TargetLowering.cpp:1.64 Tue May 16 12:45:23 2006 +++ llvm/lib/Target/TargetLowering.cpp Wed May 17 13:10:06 2006 @@ -144,7 +144,7 @@ } /// getPackedTypeBreakdown - Packed types are broken down into some number of -/// legal scalar types. For example, <8 x float> maps to 2 MVT::v2f32 values +/// legal first class types. For example, <8 x float> maps to 2 MVT::v2f32 /// with Altivec or SSE1, or 8 promoted MVT::f64 values with the X86 FP stack. /// /// This method returns the number and type of the resultant breakdown. @@ -184,7 +184,7 @@ return NumVectorRegs; } - return DestVT; + return 1; } //===----------------------------------------------------------------------===// _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits