OSDN Git Service

[TableGen] Print #nnn as a name of an non-native reg unit with id nnn
authorKrzysztof Parzyszek <kparzysz@codeaurora.org>
Mon, 27 Mar 2017 19:08:24 +0000 (19:08 +0000)
committerKrzysztof Parzyszek <kparzysz@codeaurora.org>
Mon, 27 Mar 2017 19:08:24 +0000 (19:08 +0000)
commitdaa7fe44b1f005091edb5d14706f01e8bf29bfdc
tree40924416c04092d2dc7c70b8d6fec37e6058e89d
parentbc04e5d6d238dd5b4564eda726cf64cefe83377f
[TableGen] Print #nnn as a name of an non-native reg unit with id nnn

When using -debug with -gen-register-info, tablegen will crash when
trying to print a name of a non-native register unit. This patch only
affects the debug information generated while running llvm-tblgen,
and has no impact on the compilable code coming out of it.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@298875 91177308-0d34-0410-b5e6-96231b3b80d8
utils/TableGen/CodeGenRegisters.cpp
utils/TableGen/CodeGenRegisters.h