[PATCH] D125310: [AArch64][RISCV][SelectionDAG] Support VECREDUCE_ADD mask operations
WangLian via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun May 15 19:35:10 PDT 2022
Jimerlife marked an inline comment as done.
Jimerlife added inline comments.
================
Comment at: llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp:5315
+ case ISD::VECREDUCE_ADD:
+ // If it is VECREDUCE_ADD mask operation then turn it to VECREDUCE_XOR
+ if (Operand.getValueType().getScalarType() == MVT::i1)
----------------
paulwalker-arm wrote:
> This comment doesn't offer any real value. None of the canonicalisation above and below this one are commented so perhaps no comment it necessary.
Thanks, I removed this comment
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D125310/new/
https://reviews.llvm.org/D125310
More information about the llvm-commits
mailing list