GlobalISel: Make default implementation of legalizeCustom unreachable
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Tue, 9 Jun 2020 20:57:53 +0000 (16:57 -0400)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Wed, 10 Jun 2020 15:05:59 +0000 (11:05 -0400)
commit0f2af15c1b00a08b84b780143001e04a25994628
treeb23a2644998b7b472c5b877ff3ca76b653681479
parentea1bd95411c3a709ef1a405ffed9880351fe530e
GlobalISel: Make default implementation of legalizeCustom unreachable

If the target explicitly requested custom legalization, it should be
required to implement this. Also move default legalizeIntrinsic
implementation into the header so it's next to the related
legalizeCustom.
llvm/include/llvm/CodeGen/GlobalISel/LegalizerInfo.h
llvm/lib/CodeGen/GlobalISel/LegalizerInfo.cpp