[Hexagon] Move function to a different class, NFC
authorKrzysztof Parzyszek <kparzysz@quicinc.com>
Tue, 27 Sep 2022 17:03:44 +0000 (10:03 -0700)
committerKrzysztof Parzyszek <kparzysz@quicinc.com>
Tue, 27 Sep 2022 17:32:52 +0000 (10:32 -0700)
commit9c9e877b7e969b3e5d8382fca9a4da9a1be8ed62
tree932f844c8a33e10b03f2cd0385688b01ca90c272
parentcbbce9b537adfbc2271424ab66b3f2d818a2499f
[Hexagon] Move function to a different class, NFC

"Sector" is a concept from AlignVectors, so the check for it
should be there.
llvm/lib/Target/Hexagon/HexagonVectorCombine.cpp