[llvm-commits] CVS: llvm/lib/Target/PowerPC/PowerPCAsmPrinter.cpp
Misha Brukman
brukman at cs.uiuc.edu
Fri Oct 22 21:58:43 PDT 2004
Changes in directory llvm/lib/Target/PowerPC:
PowerPCAsmPrinter.cpp updated: 1.63 -> 1.64
---
Log message:
Align function arguments in function headers
---
Diffs of the changes: (+4 -5)
Index: llvm/lib/Target/PowerPC/PowerPCAsmPrinter.cpp
diff -u llvm/lib/Target/PowerPC/PowerPCAsmPrinter.cpp:1.63 llvm/lib/Target/PowerPC/PowerPCAsmPrinter.cpp:1.64
--- llvm/lib/Target/PowerPC/PowerPCAsmPrinter.cpp:1.63 Sun Oct 17 18:01:34 2004
+++ llvm/lib/Target/PowerPC/PowerPCAsmPrinter.cpp Fri Oct 22 23:58:32 2004
@@ -101,8 +101,7 @@
O << (unsigned short)MI->getOperand(OpNo).getImmedValue();
}
void printBranchOperand(const MachineInstr *MI, unsigned OpNo,
- MVT::ValueType VT) {
-
+ MVT::ValueType VT) {
// Branches can take an immediate operand. This is used by the branch
// selection pass to print $+8, an eight byte displacement from the PC.
if (MI->getOperand(OpNo).isImmediate()) {
@@ -112,19 +111,19 @@
}
}
void printPICLabel(const MachineInstr *MI, unsigned OpNo,
- MVT::ValueType VT) {
+ MVT::ValueType VT) {
// FIXME: should probably be converted to cout.width and cout.fill
O << "\"L0000" << LabelNumber << "$pb\"\n";
O << "\"L0000" << LabelNumber << "$pb\":";
}
void printSymbolHi(const MachineInstr *MI, unsigned OpNo,
- MVT::ValueType VT) {
+ MVT::ValueType VT) {
O << "ha16(";
printOp(MI->getOperand(OpNo), true /* LoadAddrOp */);
O << "-\"L0000" << LabelNumber << "$pb\")";
}
void printSymbolLo(const MachineInstr *MI, unsigned OpNo,
- MVT::ValueType VT) {
+ MVT::ValueType VT) {
// FIXME: Because LFS, LFD, and LWZ can be used either with a s16imm or
// a lo16 of a global or constant pool operand, we must handle both here.
// this isn't a great design, but it works for now.
More information about the llvm-commits
mailing list