[PATCH] D141870: [DAG] Fold Op(vecreduce(a), vecreduce(b)) into vecreduce(Op(a,b))

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 7 01:35:07 PST 2023


dmgreen updated this revision to Diff 495420.
dmgreen added a comment.

Thanks - Now using a FlagInserter to copy the flags. The flags for integer ops are not passed through, as nsw/nuw/etc may not apply to the new operations.


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

https://reviews.llvm.org/D141870

Files:
  llvm/include/llvm/CodeGen/TargetLowering.h
  llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
  llvm/lib/Target/ARM/ARMISelLowering.h
  llvm/test/CodeGen/AArch64/aarch64-addv.ll
  llvm/test/CodeGen/AArch64/double_reduct.ll
  llvm/test/CodeGen/AArch64/sve-doublereduct.ll
  llvm/test/CodeGen/AArch64/sve-fp-reduce.ll
  llvm/test/CodeGen/AArch64/vecreduce-add.ll
  llvm/test/CodeGen/AArch64/vecreduce-fadd.ll
  llvm/test/CodeGen/RISCV/double_reduct.ll
  llvm/test/CodeGen/Thumb2/mve-doublereduct.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D141870.495420.patch
Type: text/x-patch
Size: 56243 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230207/749ddefb/attachment.bin>


More information about the llvm-commits mailing list