]> granicus.if.org Git - llvm/commit
[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)
commit242e7593c2ac348661d63781737e81a0db6ebb44
tree8ee6006c3ea6c377b786bbfcc8a54d5d7b53e1fc
parentf4ec532b7a601aa80f4763bca9b4ba816c126fbe
[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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@368757 91177308-0d34-0410-b5e6-96231b3b80d8
test/TableGen/Common/GlobalISelEmitterCommon.td [new file with mode: 0644]
test/TableGen/GlobalISelEmitter-PR39045.td
test/TableGen/GlobalISelEmitter.td
test/TableGen/GlobalISelEmitterSkippedPatterns.td