[PATCH] D89070: [AArch64][GlobalISel] Add basic legalizer rules for supported add/fadd reductions.

Amara Emerson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 8 13:41:23 PDT 2020


aemerson created this revision.
aemerson added a reviewer: paquette.
aemerson added a project: LLVM.
Herald added subscribers: danielkiss, hiraditya, kristof.beyls, rovka.
aemerson requested review of this revision.

NEON is pretty limited in it's reduction support. As a first step add some basic rules for the legal types we can select.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D89070

Files:
  llvm/lib/Target/AArch64/GISel/AArch64LegalizerInfo.cpp
  llvm/test/CodeGen/AArch64/GlobalISel/legalize-reduce-add.mir
  llvm/test/CodeGen/AArch64/GlobalISel/legalize-reduce-fadd.mir
  llvm/test/CodeGen/AArch64/GlobalISel/legalizer-info-validation.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D89070.297044.patch
Type: text/x-patch
Size: 8537 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201008/96b98f89/attachment.bin>


More information about the llvm-commits mailing list