[PATCH] D64760: [x86] use more phadd for reductions

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 15 11:15:47 PDT 2019


RKSimon added inline comments.


================
Comment at: llvm/test/CodeGen/X86/vector-reduce-add.ll:680
 ; AVX1-FAST-NEXT:    vphaddw %xmm0, %xmm0, %xmm0
 ; AVX1-FAST-NEXT:    vmovd %xmm0, %eax
 ; AVX1-FAST-NEXT:    # kill: def $ax killed $ax killed $eax
----------------
ideally we'd have these cases combine as ll


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D64760/new/

https://reviews.llvm.org/D64760





More information about the llvm-commits mailing list