Allow booleans for #simd

This commit is contained in:
gingerBill
2022-05-25 22:16:44 +01:00
parent 63d6c08d90
commit 808ea30b48
3 changed files with 50 additions and 34 deletions

View File

@@ -1939,6 +1939,9 @@ bool is_type_valid_vector_elem(Type *t) {
if (is_type_float(t)) {
return true;
}
if (is_type_boolean(t)) {
return true;
}
}
return false;
}