[PATCH] D89150: [GlobalISel] Remove scalar src from non-sequential fadd/fmul reductions.

Amara Emerson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 9 11:02:33 PDT 2020


aemerson updated this revision to Diff 297282.
aemerson retitled this revision from "[GlobalISel] Remove scalar src from fadd/fmul reductions." to "[GlobalISel] Remove scalar src from non-sequential fadd/fmul reductions.".
aemerson added a comment.

Only do this for the relaxed ordering ones. If we were to split the op for the sequential variants, the commutative G_FADD would lose the associativity of the intrinsic.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D89150

Files:
  llvm/include/llvm/Target/GenericOpcodes.td
  llvm/lib/CodeGen/MachineVerifier.cpp
  llvm/test/CodeGen/AArch64/GlobalISel/legalizer-info-validation.mir
  llvm/test/MachineVerifier/test_vector_reductions.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D89150.297282.patch
Type: text/x-patch
Size: 5092 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201009/f86b9f6a/attachment.bin>


More information about the llvm-commits mailing list