[PATCH] D89382: [SVE][CodeGen] Lower scalable integer vector reductions

Kerry McLaughlin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 21 09:09:57 PDT 2020


kmclaughlin updated this revision to Diff 299708.
kmclaughlin marked an inline comment as done.
kmclaughlin added a comment.

- Moved the transformations of i1 [s|u]min & [s|u]max -> and/or to SelectionDAG::getNode()
- Removed custom lowering of vecreduce_[s|u]min & vecreduce_[s|u]max for predicate types


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

https://reviews.llvm.org/D89382

Files:
  llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
  llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
  llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
  llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
  llvm/lib/Target/AArch64/AArch64ISelLowering.h
  llvm/test/CodeGen/AArch64/sve-int-pred-reduce.ll
  llvm/test/CodeGen/AArch64/sve-int-reduce.ll
  llvm/test/CodeGen/AArch64/sve-split-int-pred-reduce.ll
  llvm/test/CodeGen/AArch64/sve-split-int-reduce.ll
  llvm/test/CodeGen/AArch64/vecreduce-umax-legalization.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D89382.299708.patch
Type: text/x-patch
Size: 49216 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201021/85b1f42f/attachment.bin>


More information about the llvm-commits mailing list