[llvm-commits] Patch: insert/extract element using a variable index

Mon Ping Wang monping at apple.com
Thu Jan 15 13:10:49 PST 2009


Hi Dan,

Done.

Thanks,
   -- Mon Ping

On Jan 15, 2009, at 12:18 PM, Dan Gohman wrote:

> Hi Mon Ping,
>
> In the test, please add -march=x86 to the llc line, so that it
> works on non-x86 hosts. Otherwise, this patch looks good to me.
>
> Dan
>
> On Jan 14, 2009, at 10:36 PM, Mon Ping Wang wrote:
>
>> Hi,
>>
>> We can't use insertps/extractps for insert/extract an element from a
>> <4 x i32> vector using a variable index.  This patch will cause
>> Legalize to expand the operator for that case.
>>
>> --- Mon Ping
>>
>>
>> <vec_insert.patch>_______________________________________________
>> llvm-commits mailing list
>> llvm-commits at cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits




More information about the llvm-commits mailing list