[Hexagon] Handle selection between HVX vector predicates
authorKrzysztof Parzyszek <kparzysz@quicinc.com>
Fri, 23 Oct 2020 23:05:06 +0000 (18:05 -0500)
committerKrzysztof Parzyszek <kparzysz@quicinc.com>
Fri, 23 Oct 2020 23:22:03 +0000 (18:22 -0500)
commit1b5baa42bc93432e6ae33e0a0fdce4d3e7c98dcb
tree4dd0bfff9e412812c8a1e06f6b63e4fea03a5405
parentdc62d5ec97261429b553f2d6b45d96a137211f14
[Hexagon] Handle selection between HVX vector predicates

Make sure that (select i1 q0 q1) is handled properly.
llvm/lib/Target/Hexagon/HexagonISelLowering.h
llvm/lib/Target/Hexagon/HexagonISelLoweringHVX.cpp
llvm/lib/Target/Hexagon/HexagonPatternsHVX.td
llvm/test/CodeGen/Hexagon/autohvx/isel-q-legalization-loop.ll [new file with mode: 0644]
llvm/test/CodeGen/Hexagon/autohvx/isel-select-q.ll [new file with mode: 0644]