[PATCH] [X86, AVX] use blends instead of insert128 with index 0
spatel at rotateright.com
Tue Mar 17 10:54:42 PDT 2015
Updated patch: the previous version of the patch was adding logic to PerformShuffleCombine256(), but that won't catch every case where we create an INSERT_SUBVECTOR. And yes, there was one more shuffle regression test where we expected an inserti128 $0
In this version, I've moved the code into Insert128BitVector(). No other functional changes.
This should catch every creation of an INSERT_SUBVECTOR that can be optimized with a BLENDI.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 8401 bytes
Desc: not available
More information about the llvm-commits