Dan Gohman | 343f0c0 | 2008-11-19 23:18:57 +0000 | [diff] [blame] | 1 | //===--- ScheduleDAGSDNodes.cpp - Implement the ScheduleDAGSDNodes class --===// |
| 2 | // |
| 3 | // The LLVM Compiler Infrastructure |
| 4 | // |
| 5 | // This file is distributed under the University of Illinois Open Source |
| 6 | // License. See LICENSE.TXT for details. |
| 7 | // |
| 8 | //===----------------------------------------------------------------------===// |
| 9 | // |
| 10 | // This implements the ScheduleDAG class, which is a base class used by |
| 11 | // scheduling implementation classes. |
| 12 | // |
| 13 | //===----------------------------------------------------------------------===// |
| 14 | |
| 15 | #define DEBUG_TYPE "pre-RA-sched" |
Dan Gohman | 84fbac5 | 2009-02-06 17:22:58 +0000 | [diff] [blame] | 16 | #include "ScheduleDAGSDNodes.h" |
Dan Gohman | 343f0c0 | 2008-11-19 23:18:57 +0000 | [diff] [blame] | 17 | #include "llvm/CodeGen/SelectionDAG.h" |
| 18 | #include "llvm/Target/TargetMachine.h" |
| 19 | #include "llvm/Target/TargetInstrInfo.h" |
| 20 | #include "llvm/Target/TargetRegisterInfo.h" |
David Goodwin | 7104616 | 2009-08-13 16:05:04 +0000 | [diff] [blame] | 21 | #include "llvm/Target/TargetSubtarget.h" |
Dan Gohman | 343f0c0 | 2008-11-19 23:18:57 +0000 | [diff] [blame] | 22 | #include "llvm/Support/Debug.h" |
| 23 | #include "llvm/Support/raw_ostream.h" |
| 24 | using namespace llvm; |
| 25 | |
Dan Gohman | 79ce276 | 2009-01-15 19:20:50 +0000 | [diff] [blame] | 26 | ScheduleDAGSDNodes::ScheduleDAGSDNodes(MachineFunction &mf) |
| 27 | : ScheduleDAG(mf) { |
Dan Gohman | 343f0c0 | 2008-11-19 23:18:57 +0000 | [diff] [blame] | 28 | } |
| 29 | |
Dan Gohman | 47ac0f0 | 2009-02-11 04:27:20 +0000 | [diff] [blame] | 30 | /// Run - perform scheduling. |
| 31 | /// |
| 32 | void ScheduleDAGSDNodes::Run(SelectionDAG *dag, MachineBasicBlock *bb, |
| 33 | MachineBasicBlock::iterator insertPos) { |
| 34 | DAG = dag; |
| 35 | ScheduleDAG::Run(bb, insertPos); |
| 36 | } |
| 37 | |
Dan Gohman | 343f0c0 | 2008-11-19 23:18:57 +0000 | [diff] [blame] | 38 | SUnit *ScheduleDAGSDNodes::Clone(SUnit *Old) { |
| 39 | SUnit *SU = NewSUnit(Old->getNode()); |
| 40 | SU->OrigNode = Old->OrigNode; |
| 41 | SU->Latency = Old->Latency; |
| 42 | SU->isTwoAddress = Old->isTwoAddress; |
| 43 | SU->isCommutable = Old->isCommutable; |
| 44 | SU->hasPhysRegDefs = Old->hasPhysRegDefs; |
Dan Gohman | 3974667 | 2009-03-23 16:10:52 +0000 | [diff] [blame] | 45 | SU->hasPhysRegClobbers = Old->hasPhysRegClobbers; |
Evan Cheng | e57187c | 2009-01-16 20:57:18 +0000 | [diff] [blame] | 46 | Old->isCloned = true; |
Dan Gohman | 343f0c0 | 2008-11-19 23:18:57 +0000 | [diff] [blame] | 47 | return SU; |
| 48 | } |
| 49 | |
| 50 | /// CheckForPhysRegDependency - Check if the dependency between def and use of |
| 51 | /// a specified operand is a physical register dependency. If so, returns the |
Evan Cheng | c29a56d | 2009-01-12 03:19:55 +0000 | [diff] [blame] | 52 | /// register and the cost of copying the register. |
Dan Gohman | 343f0c0 | 2008-11-19 23:18:57 +0000 | [diff] [blame] | 53 | static void CheckForPhysRegDependency(SDNode *Def, SDNode *User, unsigned Op, |
| 54 | const TargetRegisterInfo *TRI, |
| 55 | const TargetInstrInfo *TII, |
Evan Cheng | c29a56d | 2009-01-12 03:19:55 +0000 | [diff] [blame] | 56 | unsigned &PhysReg, int &Cost) { |
Dan Gohman | 343f0c0 | 2008-11-19 23:18:57 +0000 | [diff] [blame] | 57 | if (Op != 2 || User->getOpcode() != ISD::CopyToReg) |
| 58 | return; |
| 59 | |
| 60 | unsigned Reg = cast<RegisterSDNode>(User->getOperand(1))->getReg(); |
| 61 | if (TargetRegisterInfo::isVirtualRegister(Reg)) |
| 62 | return; |
| 63 | |
| 64 | unsigned ResNo = User->getOperand(2).getResNo(); |
| 65 | if (Def->isMachineOpcode()) { |
| 66 | const TargetInstrDesc &II = TII->get(Def->getMachineOpcode()); |
| 67 | if (ResNo >= II.getNumDefs() && |
Evan Cheng | c29a56d | 2009-01-12 03:19:55 +0000 | [diff] [blame] | 68 | II.ImplicitDefs[ResNo - II.getNumDefs()] == Reg) { |
Dan Gohman | 343f0c0 | 2008-11-19 23:18:57 +0000 | [diff] [blame] | 69 | PhysReg = Reg; |
Evan Cheng | c29a56d | 2009-01-12 03:19:55 +0000 | [diff] [blame] | 70 | const TargetRegisterClass *RC = |
| 71 | TRI->getPhysicalRegisterRegClass(Reg, Def->getValueType(ResNo)); |
| 72 | Cost = RC->getCopyCost(); |
| 73 | } |
Dan Gohman | 343f0c0 | 2008-11-19 23:18:57 +0000 | [diff] [blame] | 74 | } |
| 75 | } |
| 76 | |
Dan Gohman | 343f0c0 | 2008-11-19 23:18:57 +0000 | [diff] [blame] | 77 | void ScheduleDAGSDNodes::BuildSchedUnits() { |
Dan Gohman | e1dfc7d | 2008-12-23 17:24:50 +0000 | [diff] [blame] | 78 | // During scheduling, the NodeId field of SDNode is used to map SDNodes |
| 79 | // to their associated SUnits by holding SUnits table indices. A value |
| 80 | // of -1 means the SDNode does not yet have an associated SUnit. |
| 81 | unsigned NumNodes = 0; |
| 82 | for (SelectionDAG::allnodes_iterator NI = DAG->allnodes_begin(), |
| 83 | E = DAG->allnodes_end(); NI != E; ++NI) { |
| 84 | NI->setNodeId(-1); |
| 85 | ++NumNodes; |
| 86 | } |
| 87 | |
Dan Gohman | 343f0c0 | 2008-11-19 23:18:57 +0000 | [diff] [blame] | 88 | // Reserve entries in the vector for each of the SUnits we are creating. This |
| 89 | // ensure that reallocation of the vector won't happen, so SUnit*'s won't get |
| 90 | // invalidated. |
Dan Gohman | 89b64bd | 2008-12-17 04:30:46 +0000 | [diff] [blame] | 91 | // FIXME: Multiply by 2 because we may clone nodes during scheduling. |
| 92 | // This is a temporary workaround. |
Dan Gohman | e1dfc7d | 2008-12-23 17:24:50 +0000 | [diff] [blame] | 93 | SUnits.reserve(NumNodes * 2); |
Dan Gohman | 343f0c0 | 2008-11-19 23:18:57 +0000 | [diff] [blame] | 94 | |
Dan Gohman | 3f23744 | 2008-12-16 03:25:46 +0000 | [diff] [blame] | 95 | // Check to see if the scheduler cares about latencies. |
| 96 | bool UnitLatencies = ForceUnitLatencies(); |
| 97 | |
Dan Gohman | 343f0c0 | 2008-11-19 23:18:57 +0000 | [diff] [blame] | 98 | for (SelectionDAG::allnodes_iterator NI = DAG->allnodes_begin(), |
| 99 | E = DAG->allnodes_end(); NI != E; ++NI) { |
| 100 | if (isPassiveNode(NI)) // Leaf node, e.g. a TargetImmediate. |
| 101 | continue; |
| 102 | |
| 103 | // If this node has already been processed, stop now. |
| 104 | if (NI->getNodeId() != -1) continue; |
| 105 | |
| 106 | SUnit *NodeSUnit = NewSUnit(NI); |
| 107 | |
| 108 | // See if anything is flagged to this node, if so, add them to flagged |
| 109 | // nodes. Nodes can have at most one flag input and one flag output. Flags |
Dan Gohman | db95fa1 | 2009-03-20 20:42:23 +0000 | [diff] [blame] | 110 | // are required to be the last operand and result of a node. |
Dan Gohman | 343f0c0 | 2008-11-19 23:18:57 +0000 | [diff] [blame] | 111 | |
| 112 | // Scan up to find flagged preds. |
| 113 | SDNode *N = NI; |
Dan Gohman | db95fa1 | 2009-03-20 20:42:23 +0000 | [diff] [blame] | 114 | while (N->getNumOperands() && |
Owen Anderson | 825b72b | 2009-08-11 20:47:22 +0000 | [diff] [blame] | 115 | N->getOperand(N->getNumOperands()-1).getValueType() == MVT::Flag) { |
Dan Gohman | db95fa1 | 2009-03-20 20:42:23 +0000 | [diff] [blame] | 116 | N = N->getOperand(N->getNumOperands()-1).getNode(); |
| 117 | assert(N->getNodeId() == -1 && "Node already inserted!"); |
| 118 | N->setNodeId(NodeSUnit->NodeNum); |
Dan Gohman | 343f0c0 | 2008-11-19 23:18:57 +0000 | [diff] [blame] | 119 | } |
| 120 | |
| 121 | // Scan down to find any flagged succs. |
| 122 | N = NI; |
Owen Anderson | 825b72b | 2009-08-11 20:47:22 +0000 | [diff] [blame] | 123 | while (N->getValueType(N->getNumValues()-1) == MVT::Flag) { |
Dan Gohman | 343f0c0 | 2008-11-19 23:18:57 +0000 | [diff] [blame] | 124 | SDValue FlagVal(N, N->getNumValues()-1); |
| 125 | |
| 126 | // There are either zero or one users of the Flag result. |
| 127 | bool HasFlagUse = false; |
| 128 | for (SDNode::use_iterator UI = N->use_begin(), E = N->use_end(); |
| 129 | UI != E; ++UI) |
| 130 | if (FlagVal.isOperandOf(*UI)) { |
| 131 | HasFlagUse = true; |
| 132 | assert(N->getNodeId() == -1 && "Node already inserted!"); |
| 133 | N->setNodeId(NodeSUnit->NodeNum); |
| 134 | N = *UI; |
| 135 | break; |
| 136 | } |
| 137 | if (!HasFlagUse) break; |
| 138 | } |
| 139 | |
| 140 | // If there are flag operands involved, N is now the bottom-most node |
| 141 | // of the sequence of nodes that are flagged together. |
| 142 | // Update the SUnit. |
| 143 | NodeSUnit->setNode(N); |
| 144 | assert(N->getNodeId() == -1 && "Node already inserted!"); |
| 145 | N->setNodeId(NodeSUnit->NodeNum); |
| 146 | |
Dan Gohman | 787782f | 2008-11-21 01:44:51 +0000 | [diff] [blame] | 147 | // Assign the Latency field of NodeSUnit using target-provided information. |
Dan Gohman | 3f23744 | 2008-12-16 03:25:46 +0000 | [diff] [blame] | 148 | if (UnitLatencies) |
| 149 | NodeSUnit->Latency = 1; |
| 150 | else |
| 151 | ComputeLatency(NodeSUnit); |
Dan Gohman | 343f0c0 | 2008-11-19 23:18:57 +0000 | [diff] [blame] | 152 | } |
Dan Gohman | c9a5b9e | 2008-12-23 18:36:58 +0000 | [diff] [blame] | 153 | } |
| 154 | |
| 155 | void ScheduleDAGSDNodes::AddSchedEdges() { |
David Goodwin | 7104616 | 2009-08-13 16:05:04 +0000 | [diff] [blame] | 156 | const TargetSubtarget &ST = TM.getSubtarget<TargetSubtarget>(); |
| 157 | |
David Goodwin | dc4bdcd | 2009-08-19 16:08:58 +0000 | [diff] [blame] | 158 | // Check to see if the scheduler cares about latencies. |
| 159 | bool UnitLatencies = ForceUnitLatencies(); |
| 160 | |
Dan Gohman | 343f0c0 | 2008-11-19 23:18:57 +0000 | [diff] [blame] | 161 | // Pass 2: add the preds, succs, etc. |
| 162 | for (unsigned su = 0, e = SUnits.size(); su != e; ++su) { |
| 163 | SUnit *SU = &SUnits[su]; |
| 164 | SDNode *MainNode = SU->getNode(); |
| 165 | |
| 166 | if (MainNode->isMachineOpcode()) { |
| 167 | unsigned Opc = MainNode->getMachineOpcode(); |
| 168 | const TargetInstrDesc &TID = TII->get(Opc); |
| 169 | for (unsigned i = 0; i != TID.getNumOperands(); ++i) { |
| 170 | if (TID.getOperandConstraint(i, TOI::TIED_TO) != -1) { |
| 171 | SU->isTwoAddress = true; |
| 172 | break; |
| 173 | } |
| 174 | } |
| 175 | if (TID.isCommutable()) |
| 176 | SU->isCommutable = true; |
| 177 | } |
| 178 | |
| 179 | // Find all predecessors and successors of the group. |
| 180 | for (SDNode *N = SU->getNode(); N; N = N->getFlaggedNode()) { |
| 181 | if (N->isMachineOpcode() && |
Dan Gohman | 3974667 | 2009-03-23 16:10:52 +0000 | [diff] [blame] | 182 | TII->get(N->getMachineOpcode()).getImplicitDefs()) { |
| 183 | SU->hasPhysRegClobbers = true; |
Dan Gohman | 8cccf0e | 2009-03-23 17:39:36 +0000 | [diff] [blame] | 184 | unsigned NumUsed = CountResults(N); |
| 185 | while (NumUsed != 0 && !N->hasAnyUseOfValue(NumUsed - 1)) |
| 186 | --NumUsed; // Skip over unused values at the end. |
| 187 | if (NumUsed > TII->get(N->getMachineOpcode()).getNumDefs()) |
Dan Gohman | 3974667 | 2009-03-23 16:10:52 +0000 | [diff] [blame] | 188 | SU->hasPhysRegDefs = true; |
| 189 | } |
Dan Gohman | 343f0c0 | 2008-11-19 23:18:57 +0000 | [diff] [blame] | 190 | |
| 191 | for (unsigned i = 0, e = N->getNumOperands(); i != e; ++i) { |
| 192 | SDNode *OpN = N->getOperand(i).getNode(); |
| 193 | if (isPassiveNode(OpN)) continue; // Not scheduled. |
| 194 | SUnit *OpSU = &SUnits[OpN->getNodeId()]; |
| 195 | assert(OpSU && "Node has no SUnit!"); |
| 196 | if (OpSU == SU) continue; // In the same group. |
| 197 | |
Owen Anderson | e50ed30 | 2009-08-10 22:56:29 +0000 | [diff] [blame] | 198 | EVT OpVT = N->getOperand(i).getValueType(); |
Owen Anderson | 825b72b | 2009-08-11 20:47:22 +0000 | [diff] [blame] | 199 | assert(OpVT != MVT::Flag && "Flagged nodes should be in same sunit!"); |
| 200 | bool isChain = OpVT == MVT::Other; |
Dan Gohman | 343f0c0 | 2008-11-19 23:18:57 +0000 | [diff] [blame] | 201 | |
| 202 | unsigned PhysReg = 0; |
Evan Cheng | c29a56d | 2009-01-12 03:19:55 +0000 | [diff] [blame] | 203 | int Cost = 1; |
Dan Gohman | 343f0c0 | 2008-11-19 23:18:57 +0000 | [diff] [blame] | 204 | // Determine if this is a physical register dependency. |
Evan Cheng | c29a56d | 2009-01-12 03:19:55 +0000 | [diff] [blame] | 205 | CheckForPhysRegDependency(OpN, N, i, TRI, TII, PhysReg, Cost); |
Dan Gohman | 54e4c36 | 2008-12-09 22:54:47 +0000 | [diff] [blame] | 206 | assert((PhysReg == 0 || !isChain) && |
| 207 | "Chain dependence via physreg data?"); |
Evan Cheng | c29a56d | 2009-01-12 03:19:55 +0000 | [diff] [blame] | 208 | // FIXME: See ScheduleDAGSDNodes::EmitCopyFromReg. For now, scheduler |
| 209 | // emits a copy from the physical register to a virtual register unless |
| 210 | // it requires a cross class copy (cost < 0). That means we are only |
| 211 | // treating "expensive to copy" register dependency as physical register |
| 212 | // dependency. This may change in the future though. |
| 213 | if (Cost >= 0) |
| 214 | PhysReg = 0; |
David Goodwin | 7104616 | 2009-08-13 16:05:04 +0000 | [diff] [blame] | 215 | |
| 216 | const SDep& dep = SDep(OpSU, isChain ? SDep::Order : SDep::Data, |
| 217 | OpSU->Latency, PhysReg); |
David Goodwin | dc4bdcd | 2009-08-19 16:08:58 +0000 | [diff] [blame] | 218 | if (!isChain && !UnitLatencies) { |
| 219 | ComputeOperandLatency(OpSU, SU, (SDep &)dep); |
| 220 | ST.adjustSchedDependency(OpSU, SU, (SDep &)dep); |
| 221 | } |
David Goodwin | 7104616 | 2009-08-13 16:05:04 +0000 | [diff] [blame] | 222 | |
| 223 | SU->addPred(dep); |
Dan Gohman | 343f0c0 | 2008-11-19 23:18:57 +0000 | [diff] [blame] | 224 | } |
| 225 | } |
| 226 | } |
| 227 | } |
| 228 | |
Dan Gohman | c9a5b9e | 2008-12-23 18:36:58 +0000 | [diff] [blame] | 229 | /// BuildSchedGraph - Build the SUnit graph from the selection dag that we |
| 230 | /// are input. This SUnit graph is similar to the SelectionDAG, but |
| 231 | /// excludes nodes that aren't interesting to scheduling, and represents |
| 232 | /// flagged together nodes with a single SUnit. |
| 233 | void ScheduleDAGSDNodes::BuildSchedGraph() { |
| 234 | // Populate the SUnits array. |
| 235 | BuildSchedUnits(); |
| 236 | // Compute all the scheduling dependencies between nodes. |
| 237 | AddSchedEdges(); |
| 238 | } |
| 239 | |
Dan Gohman | 343f0c0 | 2008-11-19 23:18:57 +0000 | [diff] [blame] | 240 | void ScheduleDAGSDNodes::ComputeLatency(SUnit *SU) { |
| 241 | const InstrItineraryData &InstrItins = TM.getInstrItineraryData(); |
| 242 | |
| 243 | // Compute the latency for the node. We use the sum of the latencies for |
| 244 | // all nodes flagged together into this SUnit. |
Dan Gohman | 343f0c0 | 2008-11-19 23:18:57 +0000 | [diff] [blame] | 245 | SU->Latency = 0; |
Dan Gohman | c8c2827 | 2008-11-21 00:12:10 +0000 | [diff] [blame] | 246 | for (SDNode *N = SU->getNode(); N; N = N->getFlaggedNode()) |
Dan Gohman | 343f0c0 | 2008-11-19 23:18:57 +0000 | [diff] [blame] | 247 | if (N->isMachineOpcode()) { |
David Goodwin | dc4bdcd | 2009-08-19 16:08:58 +0000 | [diff] [blame] | 248 | SU->Latency += InstrItins. |
| 249 | getStageLatency(TII->get(N->getMachineOpcode()).getSchedClass()); |
Dan Gohman | 343f0c0 | 2008-11-19 23:18:57 +0000 | [diff] [blame] | 250 | } |
Dan Gohman | 343f0c0 | 2008-11-19 23:18:57 +0000 | [diff] [blame] | 251 | } |
| 252 | |
| 253 | /// CountResults - The results of target nodes have register or immediate |
| 254 | /// operands first, then an optional chain, and optional flag operands (which do |
| 255 | /// not go into the resulting MachineInstr). |
| 256 | unsigned ScheduleDAGSDNodes::CountResults(SDNode *Node) { |
| 257 | unsigned N = Node->getNumValues(); |
Owen Anderson | 825b72b | 2009-08-11 20:47:22 +0000 | [diff] [blame] | 258 | while (N && Node->getValueType(N - 1) == MVT::Flag) |
Dan Gohman | 343f0c0 | 2008-11-19 23:18:57 +0000 | [diff] [blame] | 259 | --N; |
Owen Anderson | 825b72b | 2009-08-11 20:47:22 +0000 | [diff] [blame] | 260 | if (N && Node->getValueType(N - 1) == MVT::Other) |
Dan Gohman | 343f0c0 | 2008-11-19 23:18:57 +0000 | [diff] [blame] | 261 | --N; // Skip over chain result. |
| 262 | return N; |
| 263 | } |
| 264 | |
| 265 | /// CountOperands - The inputs to target nodes have any actual inputs first, |
| 266 | /// followed by special operands that describe memory references, then an |
| 267 | /// optional chain operand, then an optional flag operand. Compute the number |
| 268 | /// of actual operands that will go into the resulting MachineInstr. |
| 269 | unsigned ScheduleDAGSDNodes::CountOperands(SDNode *Node) { |
| 270 | unsigned N = ComputeMemOperandsEnd(Node); |
| 271 | while (N && isa<MemOperandSDNode>(Node->getOperand(N - 1).getNode())) |
| 272 | --N; // Ignore MEMOPERAND nodes |
| 273 | return N; |
| 274 | } |
| 275 | |
| 276 | /// ComputeMemOperandsEnd - Find the index one past the last MemOperandSDNode |
| 277 | /// operand |
| 278 | unsigned ScheduleDAGSDNodes::ComputeMemOperandsEnd(SDNode *Node) { |
| 279 | unsigned N = Node->getNumOperands(); |
Owen Anderson | 825b72b | 2009-08-11 20:47:22 +0000 | [diff] [blame] | 280 | while (N && Node->getOperand(N - 1).getValueType() == MVT::Flag) |
Dan Gohman | 343f0c0 | 2008-11-19 23:18:57 +0000 | [diff] [blame] | 281 | --N; |
Owen Anderson | 825b72b | 2009-08-11 20:47:22 +0000 | [diff] [blame] | 282 | if (N && Node->getOperand(N - 1).getValueType() == MVT::Other) |
Dan Gohman | 343f0c0 | 2008-11-19 23:18:57 +0000 | [diff] [blame] | 283 | --N; // Ignore chain if it exists. |
| 284 | return N; |
| 285 | } |
| 286 | |
| 287 | |
| 288 | void ScheduleDAGSDNodes::dumpNode(const SUnit *SU) const { |
Evan Cheng | c29a56d | 2009-01-12 03:19:55 +0000 | [diff] [blame] | 289 | if (!SU->getNode()) { |
Daniel Dunbar | 1cd1d98 | 2009-07-24 10:36:58 +0000 | [diff] [blame] | 290 | errs() << "PHYS REG COPY\n"; |
Evan Cheng | c29a56d | 2009-01-12 03:19:55 +0000 | [diff] [blame] | 291 | return; |
| 292 | } |
| 293 | |
| 294 | SU->getNode()->dump(DAG); |
Daniel Dunbar | 1cd1d98 | 2009-07-24 10:36:58 +0000 | [diff] [blame] | 295 | errs() << "\n"; |
Dan Gohman | 343f0c0 | 2008-11-19 23:18:57 +0000 | [diff] [blame] | 296 | SmallVector<SDNode *, 4> FlaggedNodes; |
| 297 | for (SDNode *N = SU->getNode()->getFlaggedNode(); N; N = N->getFlaggedNode()) |
| 298 | FlaggedNodes.push_back(N); |
| 299 | while (!FlaggedNodes.empty()) { |
Daniel Dunbar | 1cd1d98 | 2009-07-24 10:36:58 +0000 | [diff] [blame] | 300 | errs() << " "; |
Dan Gohman | 343f0c0 | 2008-11-19 23:18:57 +0000 | [diff] [blame] | 301 | FlaggedNodes.back()->dump(DAG); |
Daniel Dunbar | 1cd1d98 | 2009-07-24 10:36:58 +0000 | [diff] [blame] | 302 | errs() << "\n"; |
Dan Gohman | 343f0c0 | 2008-11-19 23:18:57 +0000 | [diff] [blame] | 303 | FlaggedNodes.pop_back(); |
| 304 | } |
| 305 | } |