[cfe-dev] improved vector bool/pixel support

Chris Lattner clattner at apple.com
Tue Jun 15 10:42:35 PDT 2010


On Jun 10, 2010, at 1:18 PM, Anton Yartsev wrote:

> Hi all
> 
> The patch enables support for 'vector bool ...' and makes clang distinguish between 'vector pixel' and 'vector unsigned int'. Please review.

Hi Anton,

My understanding is that 'vector bool' and 'vector pixel' are exclusive.  If so, the argument to getVectorType should be an enum instead of 3 bools (altivec, ispixel, isbool).  Can you refactor it to take an enum?

-Chris





More information about the cfe-dev mailing list