[LLVMdev] Vectors of length 3 as first-class types

Dan Gohman gohman at apple.com
Mon Mar 15 11:41:59 PDT 2010


On Mar 10, 2010, at 1:41 AM, Kalle Raiskila wrote:
> 
> Where is the v3i32, widened to v4i32, split up into (three?) separate i32s?

The problem is in TargetLowering::getVectorTypeBreakdown and related
code, which pre-dates vector widening was implemented, and which
isn't yet aware of widening. Ideally, it should follow the same sequence
that the regular Legalize code uses, including widening.

Dan




More information about the llvm-dev mailing list