[JumpTables] Let targets decide which switch instructions are suitable
authorNemanja Ivanovic <nemanja.i.ibm@gmail.com>
Wed, 20 Dec 2017 15:44:32 +0000 (15:44 +0000)
committerNemanja Ivanovic <nemanja.i.ibm@gmail.com>
Wed, 20 Dec 2017 15:44:32 +0000 (15:44 +0000)
commitb55b0ac1604ff245844bfa08a5c78cad6ed5855b
tree86c74758e8b1f66e8fbf2e38c7ff02beabf0d6bd
parent3a934d6ab9704275ce47947d3cb907bd553419f8
[JumpTables] Let targets decide which switch instructions are suitable

This commits the non-controversial part of https://reviews.llvm.org/D41029
(making the queries virtual). The PPC-specific portion of this will be
committed in a subsequent patch once some of the finer points are ironed out.

llvm-svn: 321182
llvm/include/llvm/CodeGen/TargetLowering.h