diff options
| author | Andrew Lenharth <andrewl@lenharth.org> | 2005-02-25 22:55:15 +0000 |
|---|---|---|
| committer | Andrew Lenharth <andrewl@lenharth.org> | 2005-02-25 22:55:15 +0000 |
| commit | 10bc4c0ff638ff64ca25e4e11696c4601ae164b3 (patch) | |
| tree | 9f4276e6af92963879dc3e6d99457c70c86d1952 /llvm/lib/Target/Alpha/AlphaAsmPrinter.cpp | |
| parent | 37d554759bb14a351db067b04610292d923dd10d (diff) | |
| download | bcm5719-llvm-10bc4c0ff638ff64ca25e4e11696c4601ae164b3.tar.gz bcm5719-llvm-10bc4c0ff638ff64ca25e4e11696c4601ae164b3.zip | |
make BB labels be exported for debuging, add fp negation optimization, further pecimise the FP instructions
llvm-svn: 20332
Diffstat (limited to 'llvm/lib/Target/Alpha/AlphaAsmPrinter.cpp')
| -rw-r--r-- | llvm/lib/Target/Alpha/AlphaAsmPrinter.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/lib/Target/Alpha/AlphaAsmPrinter.cpp b/llvm/lib/Target/Alpha/AlphaAsmPrinter.cpp index 348453bb4d8..acfeb9174cf 100644 --- a/llvm/lib/Target/Alpha/AlphaAsmPrinter.cpp +++ b/llvm/lib/Target/Alpha/AlphaAsmPrinter.cpp @@ -119,7 +119,7 @@ void AlphaAsmPrinter::printOp(const MachineOperand &MO, bool IsCallOp) { case MachineOperand::MO_MachineBasicBlock: { MachineBasicBlock *MBBOp = MO.getMachineBasicBlock(); - O << "$LBB" << Mang->getValueName(MBBOp->getParent()->getFunction()) + O << "LBB" << Mang->getValueName(MBBOp->getParent()->getFunction()) << "_" << MBBOp->getNumber() << "\t" << CommentString << " " << MBBOp->getBasicBlock()->getName(); return; @@ -169,7 +169,7 @@ bool AlphaAsmPrinter::runOnMachineFunction(MachineFunction &MF) { // Print out labels for the function. O << "\t.text\n"; - emitAlignment(4); + emitAlignment(3); O << "\t.globl\t" << CurrentFnName << "\n"; O << "\t.ent\t" << CurrentFnName << "\n"; @@ -179,7 +179,7 @@ bool AlphaAsmPrinter::runOnMachineFunction(MachineFunction &MF) { for (MachineFunction::const_iterator I = MF.begin(), E = MF.end(); I != E; ++I) { // Print a label for the basic block. - O << "$LBB" << CurrentFnName << "_" << I->getNumber() << ":\t" + O << "LBB" << CurrentFnName << "_" << I->getNumber() << ":\t" << CommentString << " " << I->getBasicBlock()->getName() << "\n"; for (MachineBasicBlock::const_iterator II = I->begin(), E = I->end(); II != E; ++II) { @@ -190,7 +190,7 @@ bool AlphaAsmPrinter::runOnMachineFunction(MachineFunction &MF) { } ++LabelNumber; - O << "\t.end\t" << CurrentFnName << "\n"; + O << "\t.end " << CurrentFnName << "\n"; // We didn't modify anything. return false; |

