[LLVMdev] Convert a vector size

Tim Northover t.p.northover at gmail.com
Fri May 4 12:37:53 PDT 2012


> %temp = shufflevector <3 x i16> %incoming, <3 x i16> undef, <4 x i32>
> <i32 0, i32 1, i32 2, i32 undef>
> %out = bitcast <4 x i16> %temp to i64

I seem to have misread the destination type, you'd obviously want "<1
x i64>" instead of "i64" in everything I've written.

Tim.



More information about the llvm-dev mailing list