[PATCH] D152370: [Intrinsic] Introduce reduction intrinsics for minimum/maximum

Anna Thomas via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 9 14:10:45 PDT 2023


anna updated this revision to Diff 530077.
anna added a comment.
Herald added subscribers: pengfei, hiraditya.

Introduced SelectionDAG nodes, legalization etc. Also, some tests in X86 and AArch64 to make sure that legalization works and the code is lowered using `expandVecReduce`.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D152370

Files:
  llvm/docs/LangRef.rst
  llvm/include/llvm/CodeGen/ISDOpcodes.h
  llvm/include/llvm/IR/IRBuilder.h
  llvm/include/llvm/IR/Intrinsics.td
  llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
  llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
  llvm/lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp
  llvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp
  llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
  llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
  llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
  llvm/lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp
  llvm/lib/CodeGen/TargetLoweringBase.cpp
  llvm/lib/IR/IRBuilder.cpp
  llvm/test/CodeGen/AArch64/vecreduce-fmaximum.ll
  llvm/test/CodeGen/X86/vector-reduce-fmaximum.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D152370.530077.patch
Type: text/x-patch
Size: 81827 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230609/5dbf0ef1/attachment-0001.bin>


More information about the llvm-commits mailing list