[llvm] Support EXTRACT_SUBVECTOR in computeKnownBits for scalable vectors (PR #177163)
Gaƫtan Bossu via llvm-commits
llvm-commits at lists.llvm.org
Sun Jan 25 22:27:44 PST 2026
================
@@ -721,6 +721,21 @@ TEST_F(AArch64SelectionDAGTest, ComputeKnownBits_SUB) {
EXPECT_EQ(Known.One, APInt(8, 0x1));
}
+TEST_F(AArch64SelectionDAGTest, ComputeKnownBitsSVE_EXTRACT_SUBVECTOR) {
----------------
gbossu wrote:
Nit: Maybe add a small comment to give context? We are testing that a knownbits are correctly computed for a scalable vector splat followed by a vector_extract.
https://github.com/llvm/llvm-project/pull/177163
More information about the llvm-commits
mailing list