fix 80-column violations

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93487 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Jim Grosbach 2010-01-15 00:36:15 +00:00
parent 82341e0e61
commit f4549b02a7

View File

@ -819,10 +819,10 @@ void SelectionDAGISel::SelectAllBasicBlocks(Function &Fn,
// information is provided by an intrinsic (eh.selector) that can be moved // information is provided by an intrinsic (eh.selector) that can be moved
// to unexpected places by the optimizers: if the unwind edge is critical, // to unexpected places by the optimizers: if the unwind edge is critical,
// then breaking it can result in the intrinsics being in the successor of // then breaking it can result in the intrinsics being in the successor of
// the landing pad, not the landing pad itself. This results in exceptions // the landing pad, not the landing pad itself. This results
// not being caught because no typeids are associated with the invoke. // in exceptions not being caught because no typeids are associated with
// This may not be the only way things can go wrong, but it is the only way // the invoke. This may not be the only way things can go wrong, but it
// we try to work around for the moment. // is the only way we try to work around for the moment.
BranchInst *Br = dyn_cast<BranchInst>(LLVMBB->getTerminator()); BranchInst *Br = dyn_cast<BranchInst>(LLVMBB->getTerminator());
if (Br && Br->isUnconditional()) { // Critical edge? if (Br && Br->isUnconditional()) { // Critical edge?
@ -1005,11 +1005,11 @@ SelectionDAGISel::FinishBasicBlock() {
// This is "default" BB. We have two jumps to it. From "header" BB and // This is "default" BB. We have two jumps to it. From "header" BB and
// from last "case" BB. // from last "case" BB.
if (PHIBB == SDB->BitTestCases[i].Default) { if (PHIBB == SDB->BitTestCases[i].Default) {
PHI->addOperand(MachineOperand::CreateReg(SDB->PHINodesToUpdate[pi].second, PHI->addOperand(MachineOperand::
false)); CreateReg(SDB->PHINodesToUpdate[pi].second, false));
PHI->addOperand(MachineOperand::CreateMBB(SDB->BitTestCases[i].Parent)); PHI->addOperand(MachineOperand::CreateMBB(SDB->BitTestCases[i].Parent));
PHI->addOperand(MachineOperand::CreateReg(SDB->PHINodesToUpdate[pi].second, PHI->addOperand(MachineOperand::
false)); CreateReg(SDB->PHINodesToUpdate[pi].second, false));
PHI->addOperand(MachineOperand::CreateMBB(SDB->BitTestCases[i].Cases. PHI->addOperand(MachineOperand::CreateMBB(SDB->BitTestCases[i].Cases.
back().ThisBB)); back().ThisBB));
} }
@ -1018,8 +1018,8 @@ SelectionDAGISel::FinishBasicBlock() {
j != ej; ++j) { j != ej; ++j) {
MachineBasicBlock* cBB = SDB->BitTestCases[i].Cases[j].ThisBB; MachineBasicBlock* cBB = SDB->BitTestCases[i].Cases[j].ThisBB;
if (cBB->isSuccessor(PHIBB)) { if (cBB->isSuccessor(PHIBB)) {
PHI->addOperand(MachineOperand::CreateReg(SDB->PHINodesToUpdate[pi].second, PHI->addOperand(MachineOperand::
false)); CreateReg(SDB->PHINodesToUpdate[pi].second, false));
PHI->addOperand(MachineOperand::CreateMBB(cBB)); PHI->addOperand(MachineOperand::CreateMBB(cBB));
} }
} }
@ -1433,9 +1433,11 @@ void SelectionDAGISel::CannotYetSelect(SDNode *N) {
void SelectionDAGISel::CannotYetSelectIntrinsic(SDNode *N) { void SelectionDAGISel::CannotYetSelectIntrinsic(SDNode *N) {
dbgs() << "Cannot yet select: "; dbgs() << "Cannot yet select: ";
unsigned iid = unsigned iid =
cast<ConstantSDNode>(N->getOperand(N->getOperand(0).getValueType() == MVT::Other))->getZExtValue(); cast<ConstantSDNode>(N->getOperand(N->getOperand(0).getValueType() ==
MVT::Other))->getZExtValue();
if (iid < Intrinsic::num_intrinsics) if (iid < Intrinsic::num_intrinsics)
llvm_report_error("Cannot yet select: intrinsic %" + Intrinsic::getName((Intrinsic::ID)iid)); llvm_report_error("Cannot yet select: intrinsic %" +
Intrinsic::getName((Intrinsic::ID)iid));
else if (const TargetIntrinsicInfo *tii = TM.getIntrinsicInfo()) else if (const TargetIntrinsicInfo *tii = TM.getIntrinsicInfo())
llvm_report_error(Twine("Cannot yet select: target intrinsic %") + llvm_report_error(Twine("Cannot yet select: target intrinsic %") +
tii->getName(iid)); tii->getName(iid));