From 667aa3671e585fb348a2e05ddf0992c637b40ec4 Mon Sep 17 00:00:00 2001 From: gingerBill Date: Mon, 1 Mar 2021 17:54:49 +0000 Subject: Fix Addressing for SOA on store; Add intrinsics.type_struct_field_count(T) --- src/types.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/types.cpp') diff --git a/src/types.cpp b/src/types.cpp index 793829d0e..b714b7798 100644 --- a/src/types.cpp +++ b/src/types.cpp @@ -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); } -- cgit v1.2.3