[GlobalISel][NFC] Factor out common target code from GlobalISelEmitterTests
authorJessica Paquette <jpaquette@apple.com>
Tue, 13 Aug 2019 22:14:37 +0000 (22:14 +0000)
committerJessica Paquette <jpaquette@apple.com>
Tue, 13 Aug 2019 22:14:37 +0000 (22:14 +0000)
commitf41ce85909fbefc88d9d57433486358be23f6f76
treeaf15b0d0228a98ba0c5687bfc75ae89569e05591
parentfb1d803224629b578e86df22185872c76f0beed8
[GlobalISel][NFC] Factor out common target code from GlobalISelEmitterTests

Factor out commonly-used target code from the GlobalISelEmitter tests into
a GlobalISelEmitterCommon.td file. This is tested by the original
GlobalISelEmitter.td test.

This reduces the amount of boilerplate code necessary for tests like this.

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

llvm-svn: 368757
llvm/test/TableGen/Common/GlobalISelEmitterCommon.td [new file with mode: 0644]
llvm/test/TableGen/GlobalISelEmitter-PR39045.td
llvm/test/TableGen/GlobalISelEmitter.td
llvm/test/TableGen/GlobalISelEmitterSkippedPatterns.td