Fix Addressing for SOA on store; Add intrinsics.type_struct_field_count(T)

This commit is contained in:
gingerBill
2021-03-01 17:54:49 +00:00
parent b428e9ee14
commit 667aa3671e
5 changed files with 68 additions and 12 deletions

View File

@@ -1865,6 +1865,9 @@ bool is_type_comparable(Type *t) {
if (type_size_of(t) == 0) {
return false;
}
if (t->Struct.soa_kind != StructSoa_None) {
return false;
}
if (t->Struct.is_raw_union) {
return is_type_simple_compare(t);
}