[Hexagon] Recognize idioms for fixed-point vector multiplication
authorKrzysztof Parzyszek <kparzysz@quicinc.com>
Wed, 28 Sep 2022 14:57:08 +0000 (07:57 -0700)
committerKrzysztof Parzyszek <kparzysz@quicinc.com>
Fri, 14 Oct 2022 22:22:25 +0000 (15:22 -0700)
commit361a27c155ec8b222e3318488a208c0eb39624c8
treea472526cbdbe34ecdbbf0220b455e408a73016ce
parent21fb70c6ab3b25fe8f5f8384714a9a359b4b5a54
[Hexagon] Recognize idioms for fixed-point vector multiplication

Recognize Q.15*Q.15 and Q.31*Q.31, with and without rounding.
llvm/lib/Target/Hexagon/HexagonISelLowering.cpp
llvm/lib/Target/Hexagon/HexagonVectorCombine.cpp
llvm/test/CodeGen/Hexagon/autohvx/qmul.ll [new file with mode: 0644]