Owen Anderson | 2480737 | 2006-05-26 21:11:53 +0000 | [diff] [blame] | 1 | //===-- LCSSA.cpp - Convert loops into loop-closed SSA form ---------------===// |
Owen Anderson | 11f510b | 2006-05-26 13:58:26 +0000 | [diff] [blame] | 2 | // |
| 3 | // The LLVM Compiler Infrastructure |
| 4 | // |
Chris Lattner | 4ee451d | 2007-12-29 20:36:04 +0000 | [diff] [blame] | 5 | // This file is distributed under the University of Illinois Open Source |
| 6 | // License. See LICENSE.TXT for details. |
Owen Anderson | 11f510b | 2006-05-26 13:58:26 +0000 | [diff] [blame] | 7 | // |
| 8 | //===----------------------------------------------------------------------===// |
| 9 | // |
| 10 | // This pass transforms loops by placing phi nodes at the end of the loops for |
| 11 | // all values that are live across the loop boundary. For example, it turns |
| 12 | // the left into the right code: |
| 13 | // |
| 14 | // for (...) for (...) |
Dan Gohman | 23d9d27 | 2007-05-11 21:10:54 +0000 | [diff] [blame] | 15 | // if (c) if (c) |
Owen Anderson | 11f510b | 2006-05-26 13:58:26 +0000 | [diff] [blame] | 16 | // X1 = ... X1 = ... |
| 17 | // else else |
| 18 | // X2 = ... X2 = ... |
| 19 | // X3 = phi(X1, X2) X3 = phi(X1, X2) |
Dan Gohman | c702a9e | 2008-06-03 00:57:21 +0000 | [diff] [blame] | 20 | // ... = X3 + 4 X4 = phi(X3) |
| 21 | // ... = X4 + 4 |
Owen Anderson | 11f510b | 2006-05-26 13:58:26 +0000 | [diff] [blame] | 22 | // |
| 23 | // This is still valid LLVM; the extra phi nodes are purely redundant, and will |
| 24 | // be trivially eliminated by InstCombine. The major benefit of this |
| 25 | // transformation is that it makes many other loop optimizations, such as |
| 26 | // LoopUnswitching, simpler. |
| 27 | // |
| 28 | //===----------------------------------------------------------------------===// |
| 29 | |
Chris Lattner | d216e8b | 2006-12-19 22:17:40 +0000 | [diff] [blame] | 30 | #define DEBUG_TYPE "lcssa" |
Owen Anderson | 2480737 | 2006-05-26 21:11:53 +0000 | [diff] [blame] | 31 | #include "llvm/Transforms/Scalar.h" |
Owen Anderson | e4e1ecd | 2006-07-09 08:14:06 +0000 | [diff] [blame] | 32 | #include "llvm/Constants.h" |
Owen Anderson | 11f510b | 2006-05-26 13:58:26 +0000 | [diff] [blame] | 33 | #include "llvm/Pass.h" |
| 34 | #include "llvm/Function.h" |
| 35 | #include "llvm/Instructions.h" |
Owen Anderson | 2480737 | 2006-05-26 21:11:53 +0000 | [diff] [blame] | 36 | #include "llvm/Analysis/Dominators.h" |
Devang Patel | b4559a2 | 2007-07-13 23:57:11 +0000 | [diff] [blame] | 37 | #include "llvm/Analysis/LoopPass.h" |
| 38 | #include "llvm/Analysis/ScalarEvolution.h" |
Chris Lattner | 8c1db67 | 2009-10-11 02:53:37 +0000 | [diff] [blame] | 39 | #include "llvm/Transforms/Utils/SSAUpdater.h" |
| 40 | #include "llvm/ADT/Statistic.h" |
| 41 | #include "llvm/ADT/STLExtras.h" |
Owen Anderson | 68fbd73 | 2009-04-22 08:09:13 +0000 | [diff] [blame] | 42 | #include "llvm/Support/PredIteratorCache.h" |
Owen Anderson | 11f510b | 2006-05-26 13:58:26 +0000 | [diff] [blame] | 43 | using namespace llvm; |
| 44 | |
Chris Lattner | d216e8b | 2006-12-19 22:17:40 +0000 | [diff] [blame] | 45 | STATISTIC(NumLCSSA, "Number of live out of a loop variables"); |
| 46 | |
Owen Anderson | 11f510b | 2006-05-26 13:58:26 +0000 | [diff] [blame] | 47 | namespace { |
Chris Lattner | 8c1db67 | 2009-10-11 02:53:37 +0000 | [diff] [blame] | 48 | struct LCSSA : public LoopPass { |
Nick Lewycky | ecd94c8 | 2007-05-06 13:37:16 +0000 | [diff] [blame] | 49 | static char ID; // Pass identification, replacement for typeid |
Owen Anderson | 90c579d | 2010-08-06 18:33:48 +0000 | [diff] [blame^] | 50 | LCSSA() : LoopPass(ID) {} |
Devang Patel | 794fd75 | 2007-05-01 21:15:47 +0000 | [diff] [blame] | 51 | |
Chris Lattner | d41ae8b | 2006-08-02 00:06:09 +0000 | [diff] [blame] | 52 | // Cached analysis information for the current function. |
Evan Cheng | cc045d5 | 2007-04-18 22:39:00 +0000 | [diff] [blame] | 53 | DominatorTree *DT; |
Owen Anderson | 92deacf | 2006-06-06 04:28:30 +0000 | [diff] [blame] | 54 | std::vector<BasicBlock*> LoopBlocks; |
Owen Anderson | 68fbd73 | 2009-04-22 08:09:13 +0000 | [diff] [blame] | 55 | PredIteratorCache PredCache; |
Dan Gohman | 5c89b52 | 2009-09-08 15:45:00 +0000 | [diff] [blame] | 56 | Loop *L; |
Owen Anderson | 11f510b | 2006-05-26 13:58:26 +0000 | [diff] [blame] | 57 | |
Devang Patel | b4559a2 | 2007-07-13 23:57:11 +0000 | [diff] [blame] | 58 | virtual bool runOnLoop(Loop *L, LPPassManager &LPM); |
| 59 | |
Owen Anderson | 11f510b | 2006-05-26 13:58:26 +0000 | [diff] [blame] | 60 | /// This transformation requires natural loop information & requires that |
Owen Anderson | a90b2c7 | 2006-05-27 00:31:37 +0000 | [diff] [blame] | 61 | /// loop preheaders be inserted into the CFG. It maintains both of these, |
| 62 | /// as well as the CFG. It also requires dominator information. |
Owen Anderson | 11f510b | 2006-05-26 13:58:26 +0000 | [diff] [blame] | 63 | /// |
| 64 | virtual void getAnalysisUsage(AnalysisUsage &AU) const { |
Owen Anderson | 2480737 | 2006-05-26 21:11:53 +0000 | [diff] [blame] | 65 | AU.setPreservesCFG(); |
Dan Gohman | f6572d0 | 2009-11-09 18:28:24 +0000 | [diff] [blame] | 66 | |
Dan Gohman | 052f000 | 2010-07-26 18:11:16 +0000 | [diff] [blame] | 67 | AU.addRequired<DominatorTree>(); |
Dan Gohman | 1e381fc | 2010-07-16 17:58:45 +0000 | [diff] [blame] | 68 | AU.addPreserved<DominatorTree>(); |
| 69 | AU.addPreserved<DominanceFrontier>(); |
Dan Gohman | 052f000 | 2010-07-26 18:11:16 +0000 | [diff] [blame] | 70 | AU.addRequired<LoopInfo>(); |
Dan Gohman | 1e381fc | 2010-07-16 17:58:45 +0000 | [diff] [blame] | 71 | AU.addPreserved<LoopInfo>(); |
Owen Anderson | 11f510b | 2006-05-26 13:58:26 +0000 | [diff] [blame] | 72 | AU.addPreservedID(LoopSimplifyID); |
Dan Gohman | 1e381fc | 2010-07-16 17:58:45 +0000 | [diff] [blame] | 73 | AU.addPreserved<ScalarEvolution>(); |
Owen Anderson | 11f510b | 2006-05-26 13:58:26 +0000 | [diff] [blame] | 74 | } |
| 75 | private: |
Chris Lattner | 8c1db67 | 2009-10-11 02:53:37 +0000 | [diff] [blame] | 76 | bool ProcessInstruction(Instruction *Inst, |
| 77 | const SmallVectorImpl<BasicBlock*> &ExitBlocks); |
Chris Lattner | 39b0c3d | 2009-10-11 01:07:15 +0000 | [diff] [blame] | 78 | |
Dan Gohman | 5c89b52 | 2009-09-08 15:45:00 +0000 | [diff] [blame] | 79 | /// verifyAnalysis() - Verify loop nest. |
| 80 | virtual void verifyAnalysis() const { |
Dan Gohman | 5c89b52 | 2009-09-08 15:45:00 +0000 | [diff] [blame] | 81 | // Check the special guarantees that LCSSA makes. |
Dan Gohman | bbf81d8 | 2010-03-10 19:38:49 +0000 | [diff] [blame] | 82 | assert(L->isLCSSAForm(*DT) && "LCSSA form not preserved!"); |
Dan Gohman | 5c89b52 | 2009-09-08 15:45:00 +0000 | [diff] [blame] | 83 | } |
| 84 | |
Owen Anderson | 92deacf | 2006-06-06 04:28:30 +0000 | [diff] [blame] | 85 | /// inLoop - returns true if the given block is within the current loop |
Chris Lattner | 39b0c3d | 2009-10-11 01:07:15 +0000 | [diff] [blame] | 86 | bool inLoop(BasicBlock *B) const { |
Owen Anderson | e9d93d5 | 2006-06-06 04:36:36 +0000 | [diff] [blame] | 87 | return std::binary_search(LoopBlocks.begin(), LoopBlocks.end(), B); |
| 88 | } |
Owen Anderson | 11f510b | 2006-05-26 13:58:26 +0000 | [diff] [blame] | 89 | }; |
Owen Anderson | 11f510b | 2006-05-26 13:58:26 +0000 | [diff] [blame] | 90 | } |
Dan Gohman | 844731a | 2008-05-13 00:00:25 +0000 | [diff] [blame] | 91 | |
| 92 | char LCSSA::ID = 0; |
| 93 | static RegisterPass<LCSSA> X("lcssa", "Loop-Closed SSA Form Pass"); |
Owen Anderson | 11f510b | 2006-05-26 13:58:26 +0000 | [diff] [blame] | 94 | |
Daniel Dunbar | 394f044 | 2008-10-22 23:32:42 +0000 | [diff] [blame] | 95 | Pass *llvm::createLCSSAPass() { return new LCSSA(); } |
Owen Anderson | 90c579d | 2010-08-06 18:33:48 +0000 | [diff] [blame^] | 96 | char &llvm::LCSSAID = LCSSA::ID; |
Owen Anderson | 11f510b | 2006-05-26 13:58:26 +0000 | [diff] [blame] | 97 | |
Chris Lattner | 8c1db67 | 2009-10-11 02:53:37 +0000 | [diff] [blame] | 98 | |
| 99 | /// BlockDominatesAnExit - Return true if the specified block dominates at least |
| 100 | /// one of the blocks in the specified list. |
| 101 | static bool BlockDominatesAnExit(BasicBlock *BB, |
| 102 | const SmallVectorImpl<BasicBlock*> &ExitBlocks, |
| 103 | DominatorTree *DT) { |
| 104 | DomTreeNode *DomNode = DT->getNode(BB); |
| 105 | for (unsigned i = 0, e = ExitBlocks.size(); i != e; ++i) |
| 106 | if (DT->dominates(DomNode, DT->getNode(ExitBlocks[i]))) |
| 107 | return true; |
| 108 | |
| 109 | return false; |
| 110 | } |
| 111 | |
| 112 | |
Owen Anderson | a452932 | 2006-06-08 20:02:53 +0000 | [diff] [blame] | 113 | /// runOnFunction - Process all loops in the function, inner-most out. |
Chris Lattner | 8c1db67 | 2009-10-11 02:53:37 +0000 | [diff] [blame] | 114 | bool LCSSA::runOnLoop(Loop *TheLoop, LPPassManager &LPM) { |
| 115 | L = TheLoop; |
Owen Anderson | 7be3f1e | 2006-06-13 19:37:18 +0000 | [diff] [blame] | 116 | |
Evan Cheng | cc045d5 | 2007-04-18 22:39:00 +0000 | [diff] [blame] | 117 | DT = &getAnalysis<DominatorTree>(); |
Devang Patel | 96bf524 | 2007-08-17 21:59:16 +0000 | [diff] [blame] | 118 | |
Chris Lattner | 8c1db67 | 2009-10-11 02:53:37 +0000 | [diff] [blame] | 119 | // Get the set of exiting blocks. |
| 120 | SmallVector<BasicBlock*, 8> ExitBlocks; |
| 121 | L->getExitBlocks(ExitBlocks); |
| 122 | |
| 123 | if (ExitBlocks.empty()) |
| 124 | return false; |
| 125 | |
Chris Lattner | 39b0c3d | 2009-10-11 01:07:15 +0000 | [diff] [blame] | 126 | // Speed up queries by creating a sorted vector of blocks. |
Owen Anderson | 92deacf | 2006-06-06 04:28:30 +0000 | [diff] [blame] | 127 | LoopBlocks.clear(); |
| 128 | LoopBlocks.insert(LoopBlocks.end(), L->block_begin(), L->block_end()); |
Chris Lattner | 39b0c3d | 2009-10-11 01:07:15 +0000 | [diff] [blame] | 129 | array_pod_sort(LoopBlocks.begin(), LoopBlocks.end()); |
Owen Anderson | 2480737 | 2006-05-26 21:11:53 +0000 | [diff] [blame] | 130 | |
Chris Lattner | 8c1db67 | 2009-10-11 02:53:37 +0000 | [diff] [blame] | 131 | // Look at all the instructions in the loop, checking to see if they have uses |
| 132 | // outside the loop. If so, rewrite those uses. |
| 133 | bool MadeChange = false; |
Owen Anderson | 11f510b | 2006-05-26 13:58:26 +0000 | [diff] [blame] | 134 | |
Chris Lattner | 8c1db67 | 2009-10-11 02:53:37 +0000 | [diff] [blame] | 135 | for (Loop::block_iterator BBI = L->block_begin(), E = L->block_end(); |
| 136 | BBI != E; ++BBI) { |
| 137 | BasicBlock *BB = *BBI; |
| 138 | |
| 139 | // For large loops, avoid use-scanning by using dominance information: In |
| 140 | // particular, if a block does not dominate any of the loop exits, then none |
| 141 | // of the values defined in the block could be used outside the loop. |
| 142 | if (!BlockDominatesAnExit(BB, ExitBlocks, DT)) |
| 143 | continue; |
| 144 | |
| 145 | for (BasicBlock::iterator I = BB->begin(), E = BB->end(); |
| 146 | I != E; ++I) { |
| 147 | // Reject two common cases fast: instructions with no uses (like stores) |
| 148 | // and instructions with one use that is in the same block as this. |
| 149 | if (I->use_empty() || |
| 150 | (I->hasOneUse() && I->use_back()->getParent() == BB && |
| 151 | !isa<PHINode>(I->use_back()))) |
| 152 | continue; |
| 153 | |
| 154 | MadeChange |= ProcessInstruction(I, ExitBlocks); |
| 155 | } |
| 156 | } |
Owen Anderson | 00ea74c | 2006-05-29 01:00:00 +0000 | [diff] [blame] | 157 | |
Dan Gohman | bbf81d8 | 2010-03-10 19:38:49 +0000 | [diff] [blame] | 158 | assert(L->isLCSSAForm(*DT)); |
Chris Lattner | 8c1db67 | 2009-10-11 02:53:37 +0000 | [diff] [blame] | 159 | PredCache.clear(); |
| 160 | |
| 161 | return MadeChange; |
Owen Anderson | 11f510b | 2006-05-26 13:58:26 +0000 | [diff] [blame] | 162 | } |
| 163 | |
Chris Lattner | 8c1db67 | 2009-10-11 02:53:37 +0000 | [diff] [blame] | 164 | /// isExitBlock - Return true if the specified block is in the list. |
| 165 | static bool isExitBlock(BasicBlock *BB, |
| 166 | const SmallVectorImpl<BasicBlock*> &ExitBlocks) { |
| 167 | for (unsigned i = 0, e = ExitBlocks.size(); i != e; ++i) |
| 168 | if (ExitBlocks[i] == BB) |
| 169 | return true; |
| 170 | return false; |
| 171 | } |
| 172 | |
| 173 | /// ProcessInstruction - Given an instruction in the loop, check to see if it |
| 174 | /// has any uses that are outside the current loop. If so, insert LCSSA PHI |
| 175 | /// nodes and rewrite the uses. |
| 176 | bool LCSSA::ProcessInstruction(Instruction *Inst, |
| 177 | const SmallVectorImpl<BasicBlock*> &ExitBlocks) { |
| 178 | SmallVector<Use*, 16> UsesToRewrite; |
| 179 | |
| 180 | BasicBlock *InstBB = Inst->getParent(); |
| 181 | |
| 182 | for (Value::use_iterator UI = Inst->use_begin(), E = Inst->use_end(); |
| 183 | UI != E; ++UI) { |
Gabor Greif | a29742d | 2010-07-09 14:29:14 +0000 | [diff] [blame] | 184 | User *U = *UI; |
| 185 | BasicBlock *UserBB = cast<Instruction>(U)->getParent(); |
| 186 | if (PHINode *PN = dyn_cast<PHINode>(U)) |
Chris Lattner | 8c1db67 | 2009-10-11 02:53:37 +0000 | [diff] [blame] | 187 | UserBB = PN->getIncomingBlock(UI); |
| 188 | |
| 189 | if (InstBB != UserBB && !inLoop(UserBB)) |
| 190 | UsesToRewrite.push_back(&UI.getUse()); |
| 191 | } |
Gabor Greif | a29742d | 2010-07-09 14:29:14 +0000 | [diff] [blame] | 192 | |
Chris Lattner | 8c1db67 | 2009-10-11 02:53:37 +0000 | [diff] [blame] | 193 | // If there are no uses outside the loop, exit with no change. |
| 194 | if (UsesToRewrite.empty()) return false; |
| 195 | |
Owen Anderson | 408a406 | 2006-05-31 20:55:06 +0000 | [diff] [blame] | 196 | ++NumLCSSA; // We are applying the transformation |
Chris Lattner | d41ae8b | 2006-08-02 00:06:09 +0000 | [diff] [blame] | 197 | |
Dan Gohman | 6b9c959 | 2009-06-26 00:31:13 +0000 | [diff] [blame] | 198 | // Invoke instructions are special in that their result value is not available |
| 199 | // along their unwind edge. The code below tests to see whether DomBB dominates |
| 200 | // the value, so adjust DomBB to the normal destination block, which is |
| 201 | // effectively where the value is first usable. |
Chris Lattner | 8c1db67 | 2009-10-11 02:53:37 +0000 | [diff] [blame] | 202 | BasicBlock *DomBB = Inst->getParent(); |
| 203 | if (InvokeInst *Inv = dyn_cast<InvokeInst>(Inst)) |
Dan Gohman | 6b9c959 | 2009-06-26 00:31:13 +0000 | [diff] [blame] | 204 | DomBB = Inv->getNormalDest(); |
| 205 | |
| 206 | DomTreeNode *DomNode = DT->getNode(DomBB); |
Chris Lattner | d41ae8b | 2006-08-02 00:06:09 +0000 | [diff] [blame] | 207 | |
Chris Lattner | 8c1db67 | 2009-10-11 02:53:37 +0000 | [diff] [blame] | 208 | SSAUpdater SSAUpdate; |
| 209 | SSAUpdate.Initialize(Inst); |
| 210 | |
| 211 | // Insert the LCSSA phi's into all of the exit blocks dominated by the |
Dan Gohman | f6572d0 | 2009-11-09 18:28:24 +0000 | [diff] [blame] | 212 | // value, and add them to the Phi's map. |
Chris Lattner | 8c1db67 | 2009-10-11 02:53:37 +0000 | [diff] [blame] | 213 | for (SmallVectorImpl<BasicBlock*>::const_iterator BBI = ExitBlocks.begin(), |
Chris Lattner | 39b0c3d | 2009-10-11 01:07:15 +0000 | [diff] [blame] | 214 | BBE = ExitBlocks.end(); BBI != BBE; ++BBI) { |
Chris Lattner | 8c1db67 | 2009-10-11 02:53:37 +0000 | [diff] [blame] | 215 | BasicBlock *ExitBB = *BBI; |
| 216 | if (!DT->dominates(DomNode, DT->getNode(ExitBB))) continue; |
| 217 | |
| 218 | // If we already inserted something for this BB, don't reprocess it. |
| 219 | if (SSAUpdate.HasValueForBlock(ExitBB)) continue; |
| 220 | |
| 221 | PHINode *PN = PHINode::Create(Inst->getType(), Inst->getName()+".lcssa", |
| 222 | ExitBB->begin()); |
| 223 | PN->reserveOperandSpace(PredCache.GetNumPreds(ExitBB)); |
Chris Lattner | cbea67f | 2006-10-31 18:56:48 +0000 | [diff] [blame] | 224 | |
Chris Lattner | 8c1db67 | 2009-10-11 02:53:37 +0000 | [diff] [blame] | 225 | // Add inputs from inside the loop for this PHI. |
Dan Gohman | f6572d0 | 2009-11-09 18:28:24 +0000 | [diff] [blame] | 226 | for (BasicBlock **PI = PredCache.GetPreds(ExitBB); *PI; ++PI) { |
Chris Lattner | 8c1db67 | 2009-10-11 02:53:37 +0000 | [diff] [blame] | 227 | PN->addIncoming(Inst, *PI); |
Dan Gohman | f6572d0 | 2009-11-09 18:28:24 +0000 | [diff] [blame] | 228 | |
| 229 | // If the exit block has a predecessor not within the loop, arrange for |
Dan Gohman | eaa181c | 2009-11-09 18:59:22 +0000 | [diff] [blame] | 230 | // the incoming value use corresponding to that predecessor to be |
Dan Gohman | f6572d0 | 2009-11-09 18:28:24 +0000 | [diff] [blame] | 231 | // rewritten in terms of a different LCSSA PHI. |
| 232 | if (!inLoop(*PI)) |
| 233 | UsesToRewrite.push_back( |
| 234 | &PN->getOperandUse( |
| 235 | PN->getOperandNumForIncomingValue(PN->getNumIncomingValues()-1))); |
| 236 | } |
Chris Lattner | 8c1db67 | 2009-10-11 02:53:37 +0000 | [diff] [blame] | 237 | |
| 238 | // Remember that this phi makes the value alive in this block. |
| 239 | SSAUpdate.AddAvailableValue(ExitBB, PN); |
Owen Anderson | 3d2aa47 | 2006-06-12 07:10:16 +0000 | [diff] [blame] | 240 | } |
Owen Anderson | 408a406 | 2006-05-31 20:55:06 +0000 | [diff] [blame] | 241 | |
Chris Lattner | 8c1db67 | 2009-10-11 02:53:37 +0000 | [diff] [blame] | 242 | // Rewrite all uses outside the loop in terms of the new PHIs we just |
| 243 | // inserted. |
| 244 | for (unsigned i = 0, e = UsesToRewrite.size(); i != e; ++i) { |
| 245 | // If this use is in an exit block, rewrite to use the newly inserted PHI. |
| 246 | // This is required for correctness because SSAUpdate doesn't handle uses in |
| 247 | // the same block. It assumes the PHI we inserted is at the end of the |
| 248 | // block. |
| 249 | Instruction *User = cast<Instruction>(UsesToRewrite[i]->getUser()); |
| 250 | BasicBlock *UserBB = User->getParent(); |
| 251 | if (PHINode *PN = dyn_cast<PHINode>(User)) |
| 252 | UserBB = PN->getIncomingBlock(*UsesToRewrite[i]); |
| 253 | |
| 254 | if (isa<PHINode>(UserBB->begin()) && |
| 255 | isExitBlock(UserBB, ExitBlocks)) { |
| 256 | UsesToRewrite[i]->set(UserBB->begin()); |
Chris Lattner | d41ae8b | 2006-08-02 00:06:09 +0000 | [diff] [blame] | 257 | continue; |
Owen Anderson | 2824da4 | 2006-06-01 06:05:47 +0000 | [diff] [blame] | 258 | } |
Chris Lattner | d41ae8b | 2006-08-02 00:06:09 +0000 | [diff] [blame] | 259 | |
Chris Lattner | 8c1db67 | 2009-10-11 02:53:37 +0000 | [diff] [blame] | 260 | // Otherwise, do full PHI insertion. |
| 261 | SSAUpdate.RewriteUse(*UsesToRewrite[i]); |
Chris Lattner | d41ae8b | 2006-08-02 00:06:09 +0000 | [diff] [blame] | 262 | } |
Owen Anderson | e4e1ecd | 2006-07-09 08:14:06 +0000 | [diff] [blame] | 263 | |
Chris Lattner | 8c1db67 | 2009-10-11 02:53:37 +0000 | [diff] [blame] | 264 | return true; |
Owen Anderson | 408a406 | 2006-05-31 20:55:06 +0000 | [diff] [blame] | 265 | } |
Chris Lattner | d41ae8b | 2006-08-02 00:06:09 +0000 | [diff] [blame] | 266 | |