[PATCH] D141079: [DAGCombine] Fold constants across (extract_vector_elt (bitcast (splat_vector)))
Luke Lau via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 9 03:00:44 PST 2023
luke added a comment.
In D141079#4034345 <https://reviews.llvm.org/D141079#4034345>, @RKSimon wrote:
> How come SelectionDAG::computeKnownBits isn't handling this?
I presume because it doesn't handle scalable vectors so far:
case ISD::EXTRACT_SUBVECTOR: {
// Offset the demanded elts by the subvector index.
SDValue Src = Op.getOperand(0);
// Bail until we can represent demanded elements for scalable vectors.
if (Op.getValueType().isScalableVector() || Src.getValueType().isScalableVector())
break;
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D141079/new/
https://reviews.llvm.org/D141079
More information about the llvm-commits
mailing list