[PATCH] D10964: [Codegen] Add intrinsics 'hsum*' and corresponding SDNodes for horizontal sum operation.

Shahid via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 13 01:29:11 PDT 2015


ashahid retitled this revision from "[Codegen] Add intrinsics 'hadd*' and corresponding SDNodes for horizontal sum operation." to "[Codegen] Add intrinsics 'hsum*' and corresponding SDNodes for horizontal sum operation.".
ashahid removed rL LLVM as the repository for this revision.
ashahid updated this revision to Diff 32028.
ashahid added a comment.

Updated the patch with

1. Renaming of intrinsic *hadd to *hsum and its related code/doc
2. Renaming of ISD node *HADD to *HSUM and its related code
3. Updated the SDAG builder to transform "llvm.*hsum" into two nodes,

*HSUM & EXTRACT_VECTOR_ELT.

4. Test case updated accordingly.


http://reviews.llvm.org/D10964

Files:
  docs/LangRef.rst
  include/llvm/CodeGen/ISDOpcodes.h
  include/llvm/IR/Intrinsics.td
  include/llvm/Target/TargetSelectionDAG.td
  lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
  lib/CodeGen/SelectionDAG/LegalizeTypes.h
  lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp
  lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
  lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
  lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp
  lib/CodeGen/TargetLoweringBase.cpp
  test/CodeGen/X86/vec-hadd-float-128.ll
  test/CodeGen/X86/vec-hadd-float-256.ll
  test/CodeGen/X86/vec-hadd-int-128.ll
  test/CodeGen/X86/vec-hadd-int-256.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D10964.32028.patch
Type: text/x-patch
Size: 19201 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150813/6942dccb/attachment.bin>


More information about the llvm-commits mailing list