aboutsummaryrefslogtreecommitdiff
path: root/src/types.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2022-05-25 22:16:44 +0100
committergingerBill <bill@gingerbill.org>2022-05-25 22:16:44 +0100
commit808ea30b48b35d1556afbddcd49839ea9014d76e (patch)
treee0ef8885e3f43a8aef6c4cd93913df60dfa7a6a1 /src/types.cpp
parent63d6c08d9035fb3b344dc17b7667b24928a1edf7 (diff)
Allow booleans for #simd
Diffstat (limited to 'src/types.cpp')
-rw-r--r--src/types.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/types.cpp b/src/types.cpp
index 2d5709b19..4fca25e52 100644
--- a/src/types.cpp
+++ b/src/types.cpp
@@ -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;
}