cranelift: Fix Build error

#3304 and #3268 are slightly incomptible and caused the build to fail
when they were merged together
This commit is contained in:
Afonso Bordado
2021-09-07 18:13:45 +01:00
parent dd23a21b9b
commit 3f62ef6e58

View File

@@ -791,7 +791,7 @@ where
Opcode::Splat => {
let mut new_vector = SimdVec::new();
for _ in 0..ctrl_ty.lane_count() {
new_vector.push(arg(0)?.into_int()?);
new_vector.push(arg(0)?);
}
assign(vectorizelanes(&new_vector, ctrl_ty)?)
}