[Hexagon] Remove incorrect intrinsic definition and invalid testcase
authorKrzysztof Parzyszek <kparzysz@quicinc.com>
Thu, 21 Nov 2019 15:06:14 +0000 (09:06 -0600)
committerKrzysztof Parzyszek <kparzysz@quicinc.com>
Thu, 21 Nov 2019 15:18:15 +0000 (09:18 -0600)
commite8d1578131247d089209952476ba9191ad0295be
tree2a87566ccfeed0324ba05a17cfa78f1501d78df2
parent103f3c9e3b3ce663b5451e321e3800e09f851b8a
[Hexagon] Remove incorrect intrinsic definition and invalid testcase

The intrinsic int_hexagon_S2_asr_i_vh was mapped to S2_asr_r_vh, which
is wrong. The testcase vasrh.select.ll was using an invalid immediate
for that intrinsic. This is not a proper testcase, since at the MIR
level such use of this intrinsic should never appear.

Together with 824b25fc02, this completes the fix for llvm.org/PR44090.
llvm/lib/Target/Hexagon/HexagonIntrinsics.td
llvm/test/CodeGen/Hexagon/vasrh.select.ll [deleted file]