[PATCH] [X86][AVX] Add support for shuffle decoding of vperm2f128/vperm2i128 with zero'd lanes
llvm-dev at redking.me.uk
Sun Jun 21 07:31:58 PDT 2015
Hi chandlerc, spatel,
The vperm2f128/vperm2i128 shuffle mask decoding was not attempting to deal with shuffles that give zero lanes. This patch fixes this so that the assembly printer can provide shuffle comments.
As this decoder is also used in X86ISelLowering for shuffle combining, I've added an early-out to match existing behaviour. The hope is that we can add zero support in the future, this would allow other ops' decodes (e.g. insertps) to be combined as well.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 5999 bytes
Desc: not available
More information about the llvm-commits