[llvm-commits] [PATCH] Relax BUILD_VECTOR -> SHUFFLE transformation if INSERT_VECTOR_ELT is legal

Michael Liao michael.liao at intel.com
Wed Oct 17 23:33:08 PDT 2012


Hi

That attached patch ralexes the transformation from BUILD_VECTOR to
SHUFFLE by considering whether target supports INSERT_VECTOR_ELT or not.
If target claims it support that, we will continue the transformation if
one element is found to be inserted. This assumes SHUFFLE +
INSERT_VECTOR_ELT is better than BUILD_VECTOR entirely.

Thanks for your review.

Yours
- Michael

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Relax-BUILD_VECTOR-SHUFFLE-transformation.patch
Type: text/x-patch
Size: 5489 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20121017/d698e68e/attachment.bin>


More information about the llvm-commits mailing list