[PATCH] Lower certain build_vectors to insertps instructions
filcab+llvm.phabricator at gmail.com
Sat Apr 26 22:54:24 PDT 2014
Hi nadav, delena, craig.topper,
Vectors built with zeros and elements in the same order as another
(source) vector are optimized to be built using a single insertps
Further optimizations are possible, described in TODO comments.
I will be implementing at least some of them in the near future.
Added some tests for different cases where this optimization triggers.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 9162 bytes
Desc: not available
More information about the llvm-commits