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

Shahid Asghar-ahmad.Shahid at amd.com
Tue Jul 21 09:21:02 PDT 2015


ashahid updated this revision to Diff 30262.
ashahid added a comment.

Updated the patch with following changes

1. Overloaded the intrinsic properly.
2. Updated the WidenVecOp to avoid summing up of undefs.
3. Restricted the floating point version of intrinsic only for fast-math.
4. Updated the doc accordingly


Repository:
  rL LLVM

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/LegalizeDAG.cpp
  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/hadd_expand.ll
  test/CodeGen/X86/hadd_float_expand.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D10964.30262.patch
Type: text/x-patch
Size: 20802 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150721/ecc2e43b/attachment.bin>


More information about the llvm-commits mailing list