[Hexagon] Use V6_vmpyih for halfword multiplication
authorKrzysztof Parzyszek <kparzysz@codeaurora.org>
Mon, 5 Feb 2018 15:40:06 +0000 (15:40 +0000)
committerKrzysztof Parzyszek <kparzysz@codeaurora.org>
Mon, 5 Feb 2018 15:40:06 +0000 (15:40 +0000)
commit02947b71123a484bfebd060abd53bf4a65247a01
tree2e75673b6b203763f384bc611ec12f8dc2f6645d
parentc0dc9bb93e017deadee80825381ddcfc5acadc24
[Hexagon] Use V6_vmpyih for halfword multiplication

Unlike V6_vmpyhv, it produces the result in the exact form that is
expected without the need for a shuffle.

llvm-svn: 324241
llvm/lib/Target/Hexagon/HexagonISelLoweringHVX.cpp
llvm/test/CodeGen/Hexagon/autohvx/arith.ll