[PATCH] D143371: [DAG][AArch64][ARM] Recognize hadd from wrapping flags.

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 6 00:16:54 PST 2023


dmgreen created this revision.
dmgreen added reviewers: RKSimon, spatel, SjoerdMeijer, jaykang10.
Herald added subscribers: StephenFan, hiraditya, kristof.beyls.
Herald added a project: All.
dmgreen requested review of this revision.
Herald added a project: LLVM.

This slightly extends the creation of hadd nodes to allow them to be generated with the original type size if wrapping flags allow.
https://alive2.llvm.org/ce/z/bPjakD
https://alive2.llvm.org/ce/z/fa_gzb


https://reviews.llvm.org/D143371

Files:
  llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
  llvm/test/CodeGen/AArch64/arm64-vhadd.ll
  llvm/test/CodeGen/AArch64/sve2-hadd.ll
  llvm/test/CodeGen/Thumb2/mve-vhadd.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D143371.495011.patch
Type: text/x-patch
Size: 9409 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230206/083af7b4/attachment.bin>


More information about the llvm-commits mailing list