Fix i64 to i32 conversion for lb_sizeof(type) call in llvm_abi.cpp

This commit is contained in:
Urjasvi Suthar
2026-07-13 11:42:04 +05:30
parent aef401fc9b
commit 713772ff2a

View File

@@ -1148,7 +1148,7 @@ namespace lbAbiArm64 {
case LLVMPointerTypeKind:
return true;
case LLVMVectorTypeKind:{
i32 sz = lb_sizeof(type);
i64 sz = lb_sizeof(type);
return sz == 8 || sz == 16;
}
}