[VE] Clean check routines of branch types
authorKazushi (Jam) Marukawa <marukawa@nec.com>
Sat, 28 Nov 2020 02:26:52 +0000 (11:26 +0900)
committerKazushi (Jam) Marukawa <marukawa@nec.com>
Mon, 30 Nov 2020 17:19:37 +0000 (02:19 +0900)
commit6fe610535f4e0654766a1ace6acafc22150c951d
tree383ad3cad15b4649429a42a459f40078433564d3
parentbc7b2688d6762687ab4ec103d214ce5bb5d4210f
[VE] Clean check routines of branch types

Previously, these check routines accepted non-generatble instructions.
This time, I clean them and add assert for those non-generatable
instructions.

Reviewed By: simoll

Differential Revision: https://reviews.llvm.org/D92254
llvm/lib/Target/VE/VEInstrInfo.cpp
llvm/test/CodeGen/VE/Scalar/br_analyze.ll [new file with mode: 0644]