clif: Remove the type variable from swizzle (#5897)

This instruction is only defined with i8x16 inputs and outputs so
there's no need for a type variable, so shadow the otherwise-generic `a`
result with a concrete i8x16 type.
This commit is contained in:
Alex Crichton
2023-02-28 18:38:53 -06:00
committed by GitHub
parent e0ef0b7c72
commit c4a2c1e818
9 changed files with 10 additions and 8 deletions

View File

@@ -1027,7 +1027,7 @@ where
new[i] = x[s[i] as usize];
} // else leave as 0
}
assign(Value::vector(new, ctrl_ty)?)
assign(Value::vector(new, types::I8X16)?)
}
Opcode::Splat => {
let mut new_vector = SimdVec::new();