[llvm-commits] [llvm] r77747 - /llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp

Eli Friedman eli.friedman at gmail.com
Fri Jul 31 16:00:21 PDT 2009


On Fri, Jul 31, 2009 at 3:41 PM, Bob Wilson<bob.wilson at apple.com> wrote:
> Author: bwilson
> Date: Fri Jul 31 17:41:21 2009
> New Revision: 77747
>
> URL: http://llvm.org/viewvc/llvm-project?rev=77747&view=rev
> Log:
> Allow target intrinsics that return multiple values, i.e., struct types,
> in SelectionDAGLowering::visitTargetIntrinsic.
>
> This removes a bit of special-case code for vector types.  After staring
> at it for a while, I managed to convince myself that it is not necessary.
> The only case where TLI.getValueType() differs from MVT::getMVT is for iPTR,
> so this code could potentially make a difference for a vector of pointers.
> But, it looks like that is not supported.

Yes, a vector of pointers isn't legal; we only support integer and FP vectors.

-Eli




More information about the llvm-commits mailing list