diff options
| author | Daniel Sanders <daniel_l_sanders@apple.com> | 2017-01-18 14:17:50 +0000 |
|---|---|---|
| committer | Daniel Sanders <daniel_l_sanders@apple.com> | 2017-01-18 14:17:50 +0000 |
| commit | 517b61cb69d6cf19841c07242dc1c7dc901736c4 (patch) | |
| tree | 735cbd5226c4be53ca4d0f41337cf1f8936563a8 /llvm/utils/TableGen/TableGenBackends.h | |
| parent | df7c6ef96fde9369baf4cdd5a343088e5b3e65cc (diff) | |
| download | bcm5719-llvm-517b61cb69d6cf19841c07242dc1c7dc901736c4.tar.gz bcm5719-llvm-517b61cb69d6cf19841c07242dc1c7dc901736c4.zip | |
Re-commit: [globalisel] Tablegen-erate current Register Bank Information
Summary:
Adds a RegisterBank tablegen class that can be used to declare the register
banks and an associated tablegen pass to generate the necessary code.
Changes since last commit:
The new tablegen pass is now correctly guarded by LLVM_BUILD_GLOBAL_ISEL and
this should fix the buildbots however it may not be the whole fix. The previous
buildbot failures suggest there may be a memory bug lurking that I'm unable to
reproduce (including when using asan) or spot in the source. If they re-occur
on this commit then I'll need assistance from the bot owners to track it down.
Reviewers: t.p.northover, ab, rovka, qcolombet
Reviewed By: qcolombet
Subscribers: aditya_nandakumar, rengolin, kristof.beyls, vkalintiris, mgorny, dberris, llvm-commits, rovka
Differential Revision: https://reviews.llvm.org/D27338
llvm-svn: 292367
Diffstat (limited to 'llvm/utils/TableGen/TableGenBackends.h')
| -rw-r--r-- | llvm/utils/TableGen/TableGenBackends.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/utils/TableGen/TableGenBackends.h b/llvm/utils/TableGen/TableGenBackends.h index eb306d28180..066d26a08c7 100644 --- a/llvm/utils/TableGen/TableGenBackends.h +++ b/llvm/utils/TableGen/TableGenBackends.h @@ -81,6 +81,7 @@ void EmitCTags(RecordKeeper &RK, raw_ostream &OS); void EmitAttributes(RecordKeeper &RK, raw_ostream &OS); void EmitSearchableTables(RecordKeeper &RK, raw_ostream &OS); void EmitGlobalISel(RecordKeeper &RK, raw_ostream &OS); +void EmitRegisterBank(RecordKeeper &RK, raw_ostream &OS); } // End llvm namespace |

