[llvm-commits] Major regressions

Chris Lattner clattner at apple.com
Sat Apr 21 23:39:20 PDT 2007


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



More information about the llvm-commits mailing list