[llvm-commits] [llvm] r72980 - /llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp

Eli Friedman eli.friedman at gmail.com
Sun Jun 7 16:35:51 PDT 2009


On Sun, Jun 7, 2009 at 12:44 PM, Duncan Sands<baldrick at free.fr> wrote:
> Hi Eli,
>
>> Make SINT_TO_FP/UINT_TO_FP vector legalization queries query on the
>> integer type to be consistent with normal operation legalization.  No visible
>> change because nothing is actually using this at the moment.
>
> I think this is a mistake.  Type legalization is completely regular, and
> I don't see the advantage of adding special cases.  I would rather see
> operation legalization made more regular.

I'll have to think about this a bit; I'm not sure what the best
approach is here.

-Eli




More information about the llvm-commits mailing list