[Mlir-commits] [mlir] [mlir][ABI] Fix scalable vector mapping in ABITypeMapper (PR #206617)

Fedor Nikolaev llvmlistbot at llvm.org
Tue Jun 30 05:33:40 PDT 2026


================
@@ -170,4 +170,21 @@ TEST_F(ABITypeMapperTest, MapUnsignedI32) {
   EXPECT_FALSE(intTy->isSigned());
 }
 
+TEST_F(ABITypeMapperTest, MapScalableVectorOf4xF32) {
+  DataLayout dl(module);
+  ABITypeMapper mapper(dl);
+
+  auto f32 = Float32Type::get(&ctx);
+  auto vec = VectorType::get({4}, f32, /*scalable=*/true);
----------------
felichita wrote:

good catch

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


More information about the Mlir-commits mailing list