[PATCH] D88750: [GlobalISel] Add G_VECREDUCE_* opcodes for vector reductions

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


aemerson added a comment.

@arsenm Note: the ops defined in this patch differ a bit from the SelectionDAG ones. For GlobalISel I kept the scalar accumulator that the fadd/fmul have for the opcode too. SDAG breaks these apart into the reduction and a separate fadd/fmul op. Not clear to me yet if there's a significant advantage either way.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D88750



More information about the llvm-commits mailing list