Added doc comment

And removed an accidental code move.

Copyright (c) 2021, Arm Limited.
This commit is contained in:
Sam Parker
2021-07-27 14:58:10 +01:00
parent f2806a9192
commit 5eb2dca9f1
3 changed files with 35 additions and 31 deletions

View File

@@ -1253,6 +1253,9 @@ pub(crate) fn maybe_input_insn_via_conv<C: LowerCtx<I = Inst>>(
None
}
/// Pattern match an extending vector multiplication.
/// Returns a tuple of the opcode to use, the two input registers and whether
/// it's the 'high half' version of the instruction.
pub(crate) fn match_vec_long_mul<C: LowerCtx<I = Inst>>(
c: &mut C,
insn: IRInst,