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

Kerry McLaughlin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 28 11:21:26 PDT 2020


kmclaughlin updated this revision to Diff 301345.
kmclaughlin marked 3 inline comments as done.
kmclaughlin added a comment.

Changes to LowerPredReductionToSVE:

- Fixed if statement which should be using `||`
- Removed unnecessary `And` when lowering `VECREDUCE_XOR`
- Wrapped case blocks in `{}` where necessary


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.301345.patch
Type: text/x-patch
Size: 49537 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201028/83474219/attachment-0001.bin>


More information about the llvm-commits mailing list