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

Sanjay Patel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 16 09:42:52 PDT 2019


spatel updated this revision to Diff 210121.
spatel added a comment.

Patch updated - no functional changes from the previous draft:

1. Move local variable for NumElts closer to uses.
2. Add TODO comment about handling bigger-than-256-bit types.


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

https://reviews.llvm.org/D64760

Files:
  llvm/lib/Target/X86/X86ISelLowering.cpp
  llvm/test/CodeGen/X86/phaddsub-extract.ll
  llvm/test/CodeGen/X86/vector-reduce-add-widen.ll
  llvm/test/CodeGen/X86/vector-reduce-add.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D64760.210121.patch
Type: text/x-patch
Size: 11699 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190716/637c9326/attachment.bin>


More information about the llvm-commits mailing list