This commit is contained in:
bjorn3
2021-11-01 18:19:59 +01:00
parent 93e9bb02e4
commit 86d2ef8952
2 changed files with 4 additions and 4 deletions

View File

@@ -2694,10 +2694,10 @@ impl<'a> Parser<'a> {
let b = self.match_value("expected SSA value second operand")?;
self.match_token(Token::Comma, "expected ',' between operands")?;
let uimm128 = self.match_uimm128(I8X16)?;
let mask = ctx.function.dfg.immediates.push(uimm128);
let imm = ctx.function.dfg.immediates.push(uimm128);
InstructionData::Shuffle {
opcode,
mask,
imm,
args: [a, b],
}
}