diff options
author | Brian Gaeke <gaeke@uiuc.edu> | 2004-05-29 22:49:51 +0000 |
---|---|---|
committer | Brian Gaeke <gaeke@uiuc.edu> | 2004-05-29 22:49:51 +0000 |
commit | 1c334a3eea9f806b95a991a0aebcf95ec89cb626 (patch) | |
tree | 3ec37a3dd39f6dcd982e5da9e1bba589fc84d1bb | |
parent | 20ab71086e2adf3cbd50264882a624150111d75c (diff) | |
download | external_llvm-1c334a3eea9f806b95a991a0aebcf95ec89cb626.zip external_llvm-1c334a3eea9f806b95a991a0aebcf95ec89cb626.tar.gz external_llvm-1c334a3eea9f806b95a991a0aebcf95ec89cb626.tar.bz2 |
Trim whitespace.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13897 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Target/SparcV9/InstrSelection/InstrSelection.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/lib/Target/SparcV9/InstrSelection/InstrSelection.cpp b/lib/Target/SparcV9/InstrSelection/InstrSelection.cpp index b7029db..70b5dbc 100644 --- a/lib/Target/SparcV9/InstrSelection/InstrSelection.cpp +++ b/lib/Target/SparcV9/InstrSelection/InstrSelection.cpp @@ -84,7 +84,6 @@ namespace { }; } - TmpInstruction::TmpInstruction(MachineCodeForInstruction& mcfi, Value *s1, Value *s2, const std::string &name) : Instruction(s1->getType(), Instruction::UserOp1, name) @@ -146,11 +145,8 @@ bool InstructionSelection::runOnFunction(Function &F) { } } - // // Build the instruction trees to be given as inputs to BURG. - // InstrForest instrForest(&F); - if (SelectDebugLevel >= Select_DebugInstTrees) { std::cerr << "\n\n*** Input to instruction selection for function " << F.getName() << "\n\n" << F @@ -159,9 +155,7 @@ bool InstructionSelection::runOnFunction(Function &F) { instrForest.dump(); } - // // Invoke BURG instruction selection for each tree - // for (InstrForest::const_root_iterator RI = instrForest.roots_begin(); RI != instrForest.roots_end(); ++RI) { InstructionNode* basicNode = *RI; @@ -169,7 +163,6 @@ bool InstructionSelection::runOnFunction(Function &F) { // Invoke BURM to label each tree node with a state burm_label(basicNode); - if (SelectDebugLevel >= Select_DebugBurgTrees) { printcover(basicNode, 1, 0); std::cerr << "\nCover cost == " << treecost(basicNode, 1, 0) <<"\n\n"; @@ -180,11 +173,9 @@ bool InstructionSelection::runOnFunction(Function &F) { SelectInstructionsForTree(basicNode, /*goalnt*/1); } - // // Create the MachineBasicBlock records and add all of the MachineInstrs // defined in the MachineCodeForInstruction objects to also live in the // MachineBasicBlock objects. - // MachineFunction &MF = MachineFunction::get(&F); for (Function::iterator BI = F.begin(), BE = F.end(); BI != BE; ++BI) { MachineBasicBlock *MCBB = new MachineBasicBlock(BI); @@ -222,11 +213,9 @@ void InstructionSelection::InsertCodeForPhis(Function &F) { // The leak detector shouldn't track these nodes. They are not garbage, // even though their parent field is never filled in. - // LeakDetector::removeGarbageObject(PhiCpRes); // for each incoming value of the phi, insert phi elimination - // for (unsigned i = 0; i < PN->getNumIncomingValues(); ++i) { // insert the copy instruction to the predecessor BB std::vector<MachineInstr*> mvec, CpVec; |