[llvm-commits] Patch: insert/extract element using a variable index
Dan Gohman
gohman at apple.com
Thu Jan 15 12:18:19 PST 2009
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
More information about the llvm-commits
mailing list