[Hexagon] Use shifts by scalar for funnel shifts by scalar
authorKrzysztof Parzyszek <kparzysz@quicinc.com>
Fri, 14 Oct 2022 23:07:50 +0000 (16:07 -0700)
committerKrzysztof Parzyszek <kparzysz@quicinc.com>
Tue, 18 Oct 2022 16:49:17 +0000 (09:49 -0700)
commit6a8cfe9a728ff1f174ccfce5c7066ac51288b97f
treeb6ab3006fed18de7c9e91dcdd1213508b240b817
parent6e05c8dfc86cb9d1161784f4bfaf4f89709249d5
[Hexagon] Use shifts by scalar for funnel shifts by scalar

HVX has vector shifts by a scalar register. Use those in the expansions
of funnel shifts where profitable.
llvm/lib/Target/Hexagon/HexagonISelLoweringHVX.cpp
llvm/test/CodeGen/Hexagon/autohvx/funnel-128b.ll