[PATCH] D31329: [globalisel][tablegen] Make it possible to declare rules directly in GlobalISel.

Daniel Sanders via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 24 06:40:13 PDT 2017

dsanders created this revision.
Herald added subscribers: igorb, kristof.beyls, dberris.

The syntax ought to be nicer but it's functional and enables testing
GlobalISelEmitter rules separately from the SelectionDAG importer.

The various emitTblgen() functions are primarily for debugging
SelectionDAG imports at this point. Rules now emit their tablegen
definition in a '#if 0' block so that we can easily see the rule the
emitter was emitting.



-------------- next part --------------
A non-text attachment was scrubbed...
Name: D31329.92933.patch
Type: text/x-patch
Size: 52270 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170324/82c9106f/attachment.bin>

More information about the llvm-commits mailing list