Merge pull request #3309 from afonso360/fix-build

cranelift: Fix build error
This commit is contained in:
Chris Fallin
2021-09-07 10:50:18 -07:00
committed by GitHub

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)?)
}