diff options
| author | Chris Lattner <sabre@nondot.org> | 2004-08-15 05:20:16 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2004-08-15 05:20:16 +0000 |
| commit | 97b2a2e389834ae237641cd068ad03b44eaa1e08 (patch) | |
| tree | abd6506de21fe7835d3cdb6e62037f8062d3357b /lib/Target/PowerPC/PPCAsmPrinter.cpp | |
| parent | ad9c242605ae694017e41a4e528a81f9fea291c6 (diff) | |
Convert the DForm_4 over to the asmprintergen
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15751 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PowerPC/PPCAsmPrinter.cpp')
| -rw-r--r-- | lib/Target/PowerPC/PPCAsmPrinter.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/Target/PowerPC/PPCAsmPrinter.cpp b/lib/Target/PowerPC/PPCAsmPrinter.cpp index 7db2392915..4677825984 100644 --- a/lib/Target/PowerPC/PPCAsmPrinter.cpp +++ b/lib/Target/PowerPC/PPCAsmPrinter.cpp @@ -94,6 +94,11 @@ namespace { } } + void printU16ImmOperand(const MachineInstr *MI, unsigned OpNo, + MVT::ValueType VT) { + O << (unsigned short)MI->getOperand(OpNo).getImmedValue(); + } + void printConstantPool(MachineConstantPool *MCP); bool runOnMachineFunction(MachineFunction &F); bool doInitialization(Module &M); |
