This commit is contained in:
klensy 2024-12-12 15:25:39 +03:00
parent cd3f69974f
commit a3eeee3f96

View file

@ -90,7 +90,7 @@ impl<'a, 'gcc, 'tcx> Builder<'a, 'gcc, 'tcx> {
}
}
}
} else if a_type.is_vector() && a_type.is_vector() {
} else if a_type.is_vector() && b_type.is_vector() {
a >> b
} else if a_native && !b_native {
self.gcc_lshr(a, self.gcc_int_cast(b, a_type))
@ -659,7 +659,7 @@ impl<'a, 'gcc, 'tcx> Builder<'a, 'gcc, 'tcx> {
}
}
}
} else if a_type.is_vector() && a_type.is_vector() {
} else if a_type.is_vector() && b_type.is_vector() {
a << b
} else if a_native && !b_native {
self.gcc_shl(a, self.gcc_int_cast(b, a_type))