[cfe-commits] r61758 - /cfe/trunk/lib/AST/ASTContext.cpp

Eli Friedman eli.friedman at gmail.com
Mon Jan 5 14:37:14 PST 2009


On Mon, Jan 5, 2009 at 2:14 PM, Daniel Dunbar <daniel at zuster.org> wrote:
> Author: ddunbar
> Date: Mon Jan  5 16:14:37 2009
> New Revision: 61758
>
> URL: http://llvm.org/viewvc/llvm-project?rev=61758&view=rev
> Log:
> Implement getFloatingRank() for extended vectors.
>  - I'm not sure this is appropriate, but it seems reasonable to be
>   able to call getFloatingRank on anything which isFloatingType().

I doubt it's really appropriate... vector types don't promote, and
therefore don't have ranks.  Any code that's trying to call
getFloatingRank() on a vector type is almost certainly doing something
wrong.

-Eli



More information about the cfe-commits mailing list