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

Mon Ping Wang monping at apple.com
Wed Jan 14 22:36:03 PST 2009


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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: vec_insert.patch
Type: application/octet-stream
Size: 2470 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20090114/d8b00dcc/attachment.obj>


More information about the llvm-commits mailing list