Remove the handling of cmpps in produces_const (#4714)

https://github.com/bytecodealliance/wasmtime/pull/4714
This commit is contained in:
Trevor Elliott
2022-08-15 15:48:01 -07:00
committed by GitHub
parent ae7688059d
commit 498e7156b4

View File

@@ -782,18 +782,6 @@ impl Inst {
|| *op == SseOpcode::Pcmpeqq)
}
Self::XmmRmRImm {
op,
src1,
src2,
imm,
..
} => {
src2.to_reg() == Some(src1.clone())
&& (*op == SseOpcode::Cmppd || *op == SseOpcode::Cmpps)
&& *imm == FcmpImm::Equal.encode()
}
_ => false,
}
}