[llvm] added ISD::VECTOR_COMPRESS handling in computeKnownBits/ComputeNumSign… (PR #159692)

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 19 02:46:09 PDT 2025


================
@@ -3480,6 +3481,26 @@ KnownBits SelectionDAG::computeKnownBits(SDValue Op, const APInt &DemandedElts,
         break;
     }
     break;
+  case ISD::VECTOR_COMPRESS: {
+    assert(!Op.getValueType().isScalableVector());
----------------
RKSimon wrote:

is this always the case or do you mean sve isn't supported?

https://github.com/llvm/llvm-project/pull/159692


More information about the llvm-commits mailing list