aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/CellSPU
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-09-13 20:08:00 +0000
committerChris Lattner <sabre@nondot.org>2009-09-13 20:08:00 +0000
commit9222169c3ad7e619d1a8ab155b7a1118182c3c34 (patch)
tree0b4164b49f9e83b80011a87da298b77e0c3ba7f0 /lib/Target/CellSPU
parent28f7e3506ee1779753939d87c2ce4e1a2f19e9c0 (diff)
downloadexternal_llvm-9222169c3ad7e619d1a8ab155b7a1118182c3c34.zip
external_llvm-9222169c3ad7e619d1a8ab155b7a1118182c3c34.tar.gz
external_llvm-9222169c3ad7e619d1a8ab155b7a1118182c3c34.tar.bz2
make tblgen produce a function that returns the name for a physreg.
Nothing is using this info yet. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81707 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/CellSPU')
-rw-r--r--lib/Target/CellSPU/AsmPrinter/SPUAsmPrinter.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Target/CellSPU/AsmPrinter/SPUAsmPrinter.cpp b/lib/Target/CellSPU/AsmPrinter/SPUAsmPrinter.cpp
index cc320e5..21e9be4 100644
--- a/lib/Target/CellSPU/AsmPrinter/SPUAsmPrinter.cpp
+++ b/lib/Target/CellSPU/AsmPrinter/SPUAsmPrinter.cpp
@@ -66,10 +66,10 @@ namespace {
}
/// printInstruction - This method is automatically generated by tablegen
- /// from the instruction set description. This method returns true if the
- /// machine instruction was sufficiently described to print it, otherwise it
- /// returns false.
+ /// from the instruction set description.
void printInstruction(const MachineInstr *MI);
+ const char *getRegisterName(unsigned RegNo) const;
+
void printMachineInstruction(const MachineInstr *MI);
void printOp(const MachineOperand &MO);