aboutsummaryrefslogtreecommitdiff
path: root/src/check_builtin.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2022-05-26 20:40:48 +0100
committergingerBill <bill@gingerbill.org>2022-05-26 20:40:48 +0100
commit70451f9335b819a056a06536016cdad7784cb8ea (patch)
treefe840464b5f09f72ba4fd10df92a7d70ce8f6330 /src/check_builtin.cpp
parent1f438d4e6c0a979b249683cb2da048a0ff36dcce (diff)
Support reverse_bits for #simd
Diffstat (limited to 'src/check_builtin.cpp')
-rw-r--r--src/check_builtin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/check_builtin.cpp b/src/check_builtin.cpp
index 87f7358f0..ecaba8b49 100644
--- a/src/check_builtin.cpp
+++ b/src/check_builtin.cpp
@@ -3558,7 +3558,7 @@ bool check_builtin_procedure(CheckerContext *c, Operand *operand, Ast *call, i32
return false;
}
- if (is_type_simd_vector(x.type) && id != BuiltinProc_reverse_bits) {
+ if (is_type_simd_vector(x.type)) {
Type *elem = base_array_type(x.type);
if (!is_type_integer_like(elem)) {
gbString xts = type_to_string(x.type);