Support reverse_bits for #simd

This commit is contained in:
gingerBill
2022-05-26 20:40:48 +01:00
parent 1f438d4e6c
commit 70451f9335
3 changed files with 4 additions and 3 deletions
+1 -1
View File
@@ -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);