mirror of
https://github.com/odin-lang/Odin.git
synced 2026-10-16 17:22:07 -04:00
Allow booleans for #simd
This commit is contained in:
1 parent
63d6c08d90
commit
808ea30b48
3 files changed
+50
-34
No files matched your search
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user