Generate the type table from the types used by a target rather than hard-coding
the union of types used by all targets.
Depends on D36084
Paths
| Differential D36085
[globalisel][tablegen] Generate TypeObject table. NFC ClosedPublic Authored by dsanders on Jul 31 2017, 5:28 AM.
Details
Summary Generate the type table from the types used by a target rather than hard-coding Depends on D36084
Diff Detail
Event Timelinedsanders added a child revision: D36086: [globalisel][tablegen] Add support for ImmLeaf without SDNodeXForm.Jul 31 2017, 5:30 AM Comment Actions You should add checks for the GILLT enum in GlobalISelEmitter.td, since now it won't be the same enum for all targets.
dsanders marked 4 inline comments as done. Comment ActionsFixed the priority sort-order nits:
This revision is now accepted and ready to land.Aug 11 2017, 2:06 AM This revision is now accepted and ready to land.Aug 11 2017, 12:21 PM
Revision Contents
Diff 110210 test/TableGen/GlobalISelEmitter.td
utils/TableGen/GlobalISelEmitter.cpp
|
This is going to fall all the way to the unreachable if both types are invalid - you should check that case explicitly.