[llvm] [AArch64][SVE] Rework VECTOR_COMPRESS lowering (PR #171162)

Gaƫtan Bossu via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 10 00:35:55 PST 2025


================
@@ -263,13 +255,12 @@ define <4 x double> @test_compress_v4f64_with_sve(<4 x double> %vec, <4 x i1> %m
 define <2 x i16> @test_compress_v2i16_with_sve(<2 x i16> %vec, <2 x i1> %mask) {
----------------
gbossu wrote:

Agree, this should be done in a separate patch :) For peace of mind, could you maybe check if the cost model returns an `Invalid` cost for `<4 x i16>` types?

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


More information about the llvm-commits mailing list