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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user