[PATCH] D132206: [DAGCombiner] Fold vecreduce_xor/or/and(splat_vector(val)) to constant
Simon Pilgrim via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 19 00:47:00 PDT 2022
RKSimon added a comment.
This might be more useful if you did it in SelectionDAG::computeKnownBits - then it'd work for any case with common bits in every vector element and you'd get constant folding as well.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D132206/new/
https://reviews.llvm.org/D132206
More information about the llvm-commits
mailing list