[llvm-commits] [llvm] r52691 - in /llvm/trunk/lib/Target/X86: X86CallingConv.td X86ISelLowering.cpp X86InstrMMX.td X86RegisterInfo.td

Duncan Sands baldrick at free.fr
Wed Jun 25 02:17:11 PDT 2008


> I tend to agree with Eli here.  The code generator only considers a  
> type to be legal if there are a pretty decent set of operations  
> supported on it.  Why couldn't llvm-gcc turn the type into v2i32 and  
> use a bitcast when passing?

Or a "soften" method could be added for vector legalization, which
would turn a vector a float into a vector of same sized ints.  I
didn't think this through so I don't know if this would really make
sense.

Ciao,

Duncan.



More information about the llvm-commits mailing list