[globalisel][tablegen] Added instruction emission to the state-machine-based matcher.
authorDaniel Sanders <daniel_l_sanders@apple.com>
Wed, 5 Jul 2017 09:39:33 +0000 (09:39 +0000)
committerDaniel Sanders <daniel_l_sanders@apple.com>
Wed, 5 Jul 2017 09:39:33 +0000 (09:39 +0000)
commitd93a35ae40bc44e1bae4af69c6b10ba76846781a
tree4bc25fd2b221d0694776f269fdd924db4f0312e8
parent7d66e849fc70c885fbd14b3ad67ab4b6fdd423fd
[globalisel][tablegen] Added instruction emission to the state-machine-based matcher.

Summary:
This further improves the compile-time regressions that will be caused by a
re-commit of r303259.

Also added included preliminary work in preparation for the multi-insn emitter
since I needed to change the relevant part of the API for this patch anyway.

Depends on D33758

Reviewers: rovka, vitalybuka, ab, t.p.northover, qcolombet, aditya_nandakumar

Reviewed By: ab

Subscribers: kristof.beyls, igorb, llvm-commits

Differential Revision: https://reviews.llvm.org/D33764

llvm-svn: 307133
llvm/include/llvm/CodeGen/GlobalISel/InstructionSelector.h
llvm/include/llvm/CodeGen/GlobalISel/InstructionSelectorImpl.h
llvm/lib/CodeGen/GlobalISel/InstructionSelector.cpp
llvm/test/TableGen/GlobalISelEmitter.td
llvm/utils/TableGen/GlobalISelEmitter.cpp