[PATCH] D53784: [DAGCombiner] narrow vector binops when extraction is cheap

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Oct 27 12:21:15 PDT 2018


RKSimon added inline comments.


================
Comment at: test/CodeGen/X86/vector-reduce-xor.ll:236
 ; AVX1-NEXT:    vpermilps {{.*#+}} xmm1 = xmm0[2,3,0,1]
 ; AVX1-NEXT:    vxorps %ymm1, %ymm0, %ymm0
 ; AVX1-NEXT:    vpermilps {{.*#+}} xmm1 = xmm0[1,1,2,3]
----------------
There's still a lot of logic ops happening at full width - is this to do with the bitcasts?


https://reviews.llvm.org/D53784





More information about the llvm-commits mailing list