On Apr 21, 2007, at 4:12 PM, Reid Spencer wrote:
> On Sat, 2007-04-21 at 18:07 -0500, Christopher Lamb wrote:
>> I'm getting a regression after my fixes that's coming from
>> getABIAlignment not finding an alignment to use for a <float x1>  
>> type,
>> is this a bug?
>
> It could be. <float x 1> isn't a useful vector so it probably doesn't
> have an ABI Alignment.

Single element vector types are important, but they don't get much  
testing.  For example, MMX supports <1 x i64>.

> It should, however, default to whatever the
> target's alignment is for float. Perhaps that case isn't covered in
> TargetData or there's something else wrong with TargetData?

I agree, if not explicitly specified, it should default to the scalar  
alignment.

-Chris
_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to